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
Parameters
  • 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
Comment
None
  • Follow