docs/content/usage/widgets/battery.md
!!! Warning
The battery features are unavailable if the binary is compiled with the `battery` feature disabled or if there are no batteries on the system!
The battery widget provides information about batteries on the system.
<figure> </figure>The battery widget can be enabled through either the --battery flag, the battery = true option in a config file, or specifying the widget in a custom layout.
The following data is displayed for batteries:
The battery widget also supports devices with multiple batteries, and you can switch between them using the keyboard or the mouse.
Note that key bindings are generally case-sensitive.
| Binding | Action |
|---|---|
| ++left++ | |
| ++h++ | |
| ++alt+h++ | Moves to the battery entry to the left of the current one |
| ++right++ | |
| ++l++ | |
| ++alt+l++ | Moves to the battery entry to the right of the current one |
| Binding | Action |
|---|---|
| ++lbutton++ | Selects a battery entry |