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

Developer

API Reference

IBATTERY_ISEXTERNALPOWERPRESENT()

Brew Release
Brew MP 1.0.2
See Also
IBATTERY_GetBatteryStatus, IBATTERY_GetBatteryLevel, IBATTERY_GetBatteryChargerStatus
Description
This method queries if external power is present
Params
po
[in]:
Pointer to IBattery interface pbData [in/out]: Place holder for information about external power
Interface
  • IBATTERY
Prototype
  •    int IBATTERY_IsExternalPowerPresent(IBattery *po, boolean *pbData)
    
Return
  • SUCCESS on success, Error code otherwise
Side Effect
  • None
Comments
None