This page is In Progress

Notice: The WebPlatform project, supported by various stewards between 2012 and 2015, has been discontinued. This site is now available on github.



Represents the time remaining in seconds until the system’s battery is completely discharged and the system is about to be suspended.

Property of apis/battery_status/BatteryManagerapis/battery_status/BatteryManager


Note: This property is read-only.

var result = battery.dischargingTime;

Return Value

Returns an object of type doubledouble