Battery Status Events Playground

This demo implements the Battery Status Events specification and simulates battery-powered user agent behavior. You can adjust the battery level and whether the device is plugged in from the controls below. A blink of an event name indicates the event has been fired.


level:
isPlugged:

See console.log() for debug information.