Merge pull request #3130 from kiriDevs/kiridevs/battery-cycles

battery: Add {cycles}, {health} format replacements
This commit is contained in:
Alexis Rouillard
2024-04-18 08:33:17 +02:00
committed by GitHub
3 changed files with 38 additions and 8 deletions

View File

@ -119,6 +119,10 @@ The *battery* module displays the current capacity and state (eg. charging) of y
*{time}*: Estimate of time until full or empty. Note that this is based on the power draw at the last refresh time, not an average.
*{cycles}*: Amount of charge cycles the highest-capacity battery has seen. *(Linux only)*
*{health}*: The percentage of the highest-capacity battery's original maximum charge it can still hold.
# TIME FORMAT
The *battery* module allows you to define how time should be formatted via *format-time*.