Try Install Learn Blog API Packages GitHub
Pages

Provider.Battery

A provider for the [BatteryManager](https://developer.mozilla.org/docs/Web/API/BatteryManager) API.

Functions

notify
(
battery
:
Maybe(Battery)
)
update
:
Promise(Void)