Battery status
Limited availability
The navigator.getBattery()
API obtains information about the device's battery, including charge level and status. Also known as the Battery API.
Learn more
Specifications
- Battery Status API, from Devices and Sensors Working Group (W3C).
Browser support (view on caniuse.com)
- Chrome 38 Released on 2014-10-07
- Chrome Android 38 Released on 2014-10-08
- Edge 79 Released on 2020-01-15
- Firefox ❌
- Firefox for Android ❌
- Safari ❌
- Safari on iOS ❌
View as JSON | Edit this feature | Report an issue | Web-features entry: source, dist