API Reference | developer.brewmp.com API Reference | developer.brewmp.com

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
Params
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
Comments
None