Displays system power information such as the battery percentage, and estimated time to empty. `TODO: ADD SCREENSHOT` [//]: # (![Screenshot](https://user-images.githubusercontent.com/5057870/184540521-2278bdec-9742-46f0-9ac2-58a7b6f6ea1d.png)) ## Configuration > Type: `upower` | Name | Type | Default | Description | |----------|----------|-----------------|---------------------------------------------------| | `format` | `string` | `{percentage}%` | Format string to use for the widget button label. |
JSON ```json { "end": [ { "type": "upower", "format": "{percentage}%" } ] } ```
TOML ```toml [[end]] type = "upower" format = "{percentage}%" ```
YAML ```yaml end: - type: "upower" format: "{percentage}%" ```
Corn ```corn { end = [ { type = "upower" format = "{percentage}%" } ] } ```
## Styling | Selector | Description | |---------------------------------|-----------------------------| | `#upower` | Upower widget container. | | `#upower #icon` | Upower widget battery icon. | | `#upower #button` | Upower widget button. | | `#upower #button #label` | Upower widget button label. | | `#popup-upower` | Upower popup box. | | `#popup-upower #upower-details` | Label inside the popup. |