Web features explorer

Battery status

Limited availability
Tags: api

The navigator.getBattery() API obtains information about the device's battery, including charge level and status. Also known as the Battery API.

Learning resources on MDN

Browser support (view on caniuse.com)