i3status/testcases/026-battery-time-to-empty
Michael Nolan e19539e5f6
Add support for batteries outputting Time to empty on linux (#378)
* Add support for batteries outputting Time to empty on linux

The battery in the pinebook pro does not output the remaining charge
in Wh or mAh, so i3 cannot calculate the time remaining. However, it
does directly output the number of minutes remaining on in
POWER_SUPPLY_TIME_TO_EMPTY. This adds support for reading this field
and converting it to seconds_remaining.

* Add testcase for POWER_SUPPLY_TIME_TO_EMTY_NOW
2020-06-15 09:09:06 +02:00
..
BAT0_uevent Add support for batteries outputting Time to empty on linux (#378) 2020-06-15 09:09:06 +02:00
expected_output.txt Add support for batteries outputting Time to empty on linux (#378) 2020-06-15 09:09:06 +02:00
i3status.conf Add support for batteries outputting Time to empty on linux (#378) 2020-06-15 09:09:06 +02:00