useBattery*

React sensor hook that tracks battery status.

hooks

Note: current BatteryManager API state is obsolete. Although it may still work in some browsers, its use is discouraged since it could be removed at any time.

Description of the SVG image Loading...

Installation

Run the following command:

npx ever-ui-clx@0.2.1 add demo-use-battery
# └──> Hook coming soon.

Usage