]> git.sur5r.net Git - i3/i3status/commit
Add battery capacity parsing (#216)
authorEmeric Planet <emeric.planet@gmail.com>
Thu, 13 Apr 2017 19:46:21 +0000 (21:46 +0200)
committerMichael Stapelberg <stapelberg@users.noreply.github.com>
Thu, 13 Apr 2017 19:46:21 +0000 (21:46 +0200)
commitc7dea747519f99584002084df3dce546f37df8b5
tree4315dd2be5fde515a6c590c903b43efd557a1de8
parent94651257cea4ff419f9cf2143d93193d5a5ccb96
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
src/print_battery_info.c
testcases/014-battery-capacity/expected_output.txt [new file with mode: 0644]
testcases/014-battery-capacity/i3status.conf [new file with mode: 0644]
testcases/014-battery-capacity/uevent [new file with mode: 0644]
testcases/015-battery-capacity/expected_output.txt [new file with mode: 0644]
testcases/015-battery-capacity/i3status.conf [new file with mode: 0644]
testcases/015-battery-capacity/uevent [new file with mode: 0644]