battery 0 {
format = "%status %percentage %remaining %emptytime"
+ format_down = "No battery"
path = "/sys/class/power_supply/BAT%d/uevent"
low_threshold = 10
}
see it this way, because it tells me how worn off my battery is.), just specify
+last_full_capacity = true+.
+If you want the battery percentage to be shown without decimals, add
++integer_battery_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
with the battery number, but you can just hard-code a path as well.
=== Load
Gets the system load (number of processes waiting for CPU time in the last
-1, 5 and 15 minutes).
+1, 5 and 15 minutes). It is possible to define a max_threshold that will
+color the load value red in case the load average of the last minute is
+getting higher than the configured threshold. Defaults to 5.
*Example order*: +load+
*Example format*: +%1min %5min %15min+
+*Example max_threshold*: 5
+
=== Time
Outputs the current time in the local timezone.