GetBatteryType

From WikiPrizm
Revision as of 12:41, 1 August 2014 by Gbl08ma (talk | contribs) (Created page with "{{syscall | name = GetBatteryType | header = fxcg/system.h | index = 0x12D5 | signature = int GetBatteryType(void) | synopsis = Gets the battery type used for estimating the b...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search


Synopsis

Header: fxcg/system.h
Syscall index: 0x12D5
Function signature: int GetBatteryType(void)

Gets the battery type used for estimating the battery level. This is the setting adjusted on start-up, or when one goes into System->F6->F1.

Returns

1 for Alkaline batteries, 2 for Ni-MH batteries. On the "fx-CG10/20 Manager" emulator, this setting is undefined, and set to 0.