i3status/testcases/015-battery-capacity/i3status.conf
Emeric Planet c7dea74751 Add battery capacity parsing (#216)
The Linux power supply class defines three entries to provide battery status.
One of them wasn't used: POWER_SUPPLY_CAPACITY.

https://www.kernel.org/doc/Documentation/power/power_supply_class.txt
2017-04-13 21:46:21 +02:00

14 lines
316 B
Plaintext

general {
output_format = "none"
}
order += "battery 1"
battery 1 {
format = "Touchpad: %percentage %status %remaining"
format_down = "No touchpad"
path = "/sys/class/power_supply/hid-ff:ff:ff:ff:ff:ff-battery/uevent"
path = "testcases/015-battery-capacity/uevent"
low_threshold = 10
}