-
Notifications
You must be signed in to change notification settings - Fork 1
Modules: Battery
github-actions[bot] edited this page Jan 30, 2025
·
1 revision
Name: battery
You can override the default settings defined in Module Styling by setting them in this section: module:battery
.
Option | Description | Data type | Default |
---|---|---|---|
format | The format of this module | String | {{capacity}}% ({{hours}}h {{minutes}}min left) |
You can override the default settings defined in Popup Styling by setting them in this section: module_popup:battery
.
Option | Description | Data type | Default |
---|---|---|---|
format | the format of the popup text | String | {{name}}: {{state}}\n\t{{icon}} {{capacity}}% ({{energy}} Wh)\n\thealth: {{health}}%{{time_remaining}}\n\tmodel: {{model}} |
format_time | the format of the remaining battery time left (to full or to empty) | String | \n\t{{hours}}h {{minutes}}min remaining |
format
supports:
-
name
(The name of the battery) -
state
(The charging state of the battery) -
icon
(The icon of the battery) -
capacity
(The capacity of the battery) -
energy
(The energy of the battery, inWh
) -
health
(The health of the battery: energy_full / energy_full_design) -
time_remaining
(The remaining battery time left (to full or to empty)) -
model
(The battery model)
format_time
supports:
hours
minutes