summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThorsten Töpper <atsutane@freethoughts.de>2012-04-26 21:51:15 +0200
committerMichael Stapelberg <michael@stapelberg.de>2012-04-26 21:59:51 +0200
commitd4dbf2690e8d57b305a466744eee7c59451d1024 (patch)
treef7f1cd9b8f9243d6e3658467265c00a69534799e
parent1b3aa404858b476015a2b29d0c42f7dbbed915bc (diff)
Added %emptytime to the battery part
-rw-r--r--man/i3status.man15
1 files changed, 8 insertions, 7 deletions
diff --git a/man/i3status.man b/man/i3status.man
index 45ccb93..4896a73 100644
--- a/man/i3status.man
+++ b/man/i3status.man
@@ -74,7 +74,7 @@ ethernet eth0 {
}
battery 0 {
- format = "%status %percentage %remaining"
+ format = "%status %percentage %remaining %emptytime"
path = "/sys/class/power_supply/BAT%d/uevent"
}
@@ -190,11 +190,12 @@ it using +setcap cap_net_admin=ep $(which i3status)+.
=== Battery
Gets the status (charging, discharging, running), percentage and remaining
-time of the given battery. If you want to use the last full capacity instead
-of the design capacity (when using the design capacity, it may happen that
-your battery is at 23% when fully charged because it’s old. In general, I
-want to see it this way, because it tells me how worn off my battery is.),
-just specify +last_full_capacity = true+.
+time of the given battery and when it's estimated to be empty. If you want
+to use the last full capacity instead of the design capacity (when using
+the design capacity, it may happen that your battery is at 23% when fully
+charged because it’s old. In general, I want to see it this way, because
+it tells me how worn off my battery is.), just specify
++last_full_capacity = true+.
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
@@ -202,7 +203,7 @@ with the battery number, but you can just hard-code a path as well.
*Example order*: +battery 0+
-*Example format*: +%status %remaining+
+*Example format*: +%status %remaining (%emptytime)+
=== CPU-Temperature