c7dea74751
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
14 lines
316 B
Plaintext
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
|
|
}
|