battery
Summary
The object that exposes the battery status information.
Property of apis/battery_status/NavigatorBatteryapis/battery_status/NavigatorBattery
Syntax
Note: This property is read-only.
var result = navigator.battery;
Return Value
Returns an object of type BatteryManagerBatteryManager