GetMainBatteryVoltage

From WikiPrizm
Jump to: navigation, search


Synopsis

Header: fxcg/system.h
Syscall index: 0x1186
Function signature: int GetMainBatteryVoltage(int one)

Gets the battery voltage.

Parameters

  • one - should be set to 1.

Returns

The battery voltage in centivolts: if the battery voltage is, for example, 5.14 V, this syscall will return 514.