From: Thorsten Töpper Date: Thu, 26 Apr 2012 19:51:15 +0000 (+0200) Subject: Added %emptytime to the battery part X-Git-Tag: 2.5~17 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=d4dbf2690e8d57b305a466744eee7c59451d1024;p=i3%2Fi3status Added %emptytime to the battery part --- 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