SetBatteryType

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


Synopsis

Header: fxcg/system.h
Syscall index: 0x12D4
Function signature: void SetBatteryType(int type)

Sets 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.

Parameters

  • type - 1 for Alkaline batteries, 2 for Ni-MH batteries.