diff options
author | Simon Elsbrock <simon@iodev.org> | 2012-08-23 16:42:38 +0200 |
---|---|---|
committer | Michael Stapelberg <michael@stapelberg.de> | 2012-08-28 18:05:11 +0200 |
commit | 68f438ec9eefbca5d735a1a7897d52e0e8e6f1c7 (patch) | |
tree | 47b3009417de351625131bc3525154acf8c70fcf /man | |
parent | 3baf27bf1d9b51fa8de3203a64993de2464ed356 (diff) |
add additional battery threshold type "percentage"
The battery threshold can now be configured as type "time" or
"percentage", but defaults to "time" to prevent unexpected behavior.
Also, low_threshold was set to a more reasonable default of 30.
Diffstat (limited to 'man')
-rw-r--r-- | man/i3status.man | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/man/i3status.man b/man/i3status.man index 9ec6acb..5938acb 100644 --- a/man/i3status.man +++ b/man/i3status.man @@ -204,15 +204,18 @@ If your battery is represented in a non-standard path in /sys, be sure to modify the "path" property accordingly. The first occurence of %d gets replaced with the battery number, but you can just hard-code a path as well. -If the remaining time sinks below low_threshold minutes, the battery text will -be colored red. So, if you configure low_threshold to 10, and your battery -lasts another 9 minutes, it will be colored red. +It is possible to define a low_threshold that causes the battery text to be +colored red. The low_threshold type can be of threshold_type "time" or +"percentage". So, if you configure low_threshold to 10 and threshold_type to +"time", and your battery lasts another 9 minutes, it will be colored red. *Example order*: +battery 0+ *Example format*: +%status %remaining (%emptytime %consumption)+ -*Example low_threshold*: +low_threshold 10+ +*Example low_threshold*: +30+ + +*Example threshold_type*: +time+ === CPU-Temperature |