Z
Zyeon UI

useBattery · Zyeon UI

Reads battery level, charging state and time remaining from the Battery Status API, with a four-way support status and a low-power flag that fails open when no reading is available.

npx shadcn@latest add @zyeon/use-battery
Preview useBattery on Zyeon UI's site (opens in a new tab)

Not checked yet

Zyeon UI limits how often it can be asked, and useBattery hasn't had its turn. Its source will show here once it has.