Contact email:
Specification:
Summary:
The Battery Status API provides the ability to obtain the device battery information such as level, charging state and charging/discharging times and to receive notifications when these attributes change.
Intent to implement:
Is this feature supported on all five Blink platforms (Windows, Mac, Linux, Chrome OS and Android)?
Yes
Demo link:
Debuggability:
We might consider adding some support for setting simulated battery values for debugging on devices which don't have a battery.
Compatibility risk:
The previous version of this API has shipped only in Firefox. Since then we have amended the specification to be asynchronous, i.e. using a promise. We have discussed the modified version of the specification with Mozilla and the W3C DAP working group extensively (on
public-de...@w3.org). Mozilla has agreed with the modification.
OWP launch tracking bug:
Link to entry on the feature dashboard:
thanks,
Tim