Developer

API Reference

IBattery

Brew Release
Brew MP 1.0.2
See Also
Description


The IBattery interface lets application get battery related information. The IBattery interface instance is obtained via ISHELL_CreateInstance() mechanism.
IBattery also supports IModel interface. Client can access the IModel interface by calling IBATTERY_QueryInterface() with AEEIID_MODEL, and register listeners using IMODEL_AddListener.
Usage
Create an object of IBattery to get information related to battery, such as battery level, battery status, charger status and presence of external power.
  • Follow