Power API is a library API and provides the ability to request the detailed information of the following:
The following are the battery information and is obtained from the battery driver:
Power API simultaneously provides the following battery voltage and current consumption information:
Average battery voltage - the API returns the average battery voltage over a specified time interval.
Minimum battery voltage - minimum voltage on a battery that is required to drive the circuit.
Maximum battery voltage - maximum voltage that a battery can have.
Battery current consumption - average current consumed between specified start and end times.