Developer

API Reference

IBATTERY_GetBatteryStatus()

Brew Release
Brew MP 1.0.2
See Also
IBATTERY_GetBatteryLevel, IBATTERY_GetBatteryChargerStatus, IBATTERY_IsExternalPowerPresent
Description
This method queries the current battery status
Parameters
  • po
    [in]:
    Pointer to IBattery interface pBatteryStatus [in/out]: Place holder for battery status
Interface
IBATTERY
Prototype
   int IBATTERY_GetBatteryStatus(IBattery *po, AEEBatteryStatus *pBatteryStatus)
Return
SUCCESS on success, Error code otherwise
Side Effect
None
Comment
None
  • Follow