C H A P T E R 1 7
Additional System Services
Summary of Additional System Services
17-29
Power Registry
17
Functions and Methods
17
BatteryCount() //returns battery count
BatteryStatus(
which
) //returns info about battery
RegPowerOff(
callbackID
,
callBackFn
) //registers a power-off
//callback fn.
UnRegPowerOff(
callBackID
) //unregisters a power-off
//callback fn.
PowerOffResume(
appSymbol
) //resumes power-off sequence
RegPowerOn(
callbackID
,
callBackFn
) //registers a power-on
//callback fn.
UnRegPowerOn(
callbackID
) //unregisters a power-on handler
loginScreen
:RegLogin(
appSymbol
,
callBackFn
) //registers a login
//screen callback fn.
loginScreen
:UnRegLogin(
callbackID
) //unregisters a login
//screen callback fn.