diff options
author | Michael Nolan <C-Elegans@users.noreply.github.com> | 2020-06-15 03:09:06 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-06-15 09:09:06 +0200 |
commit | e19539e5f6a70b2acb1b8a2cf979c80f4d63a91d (patch) | |
tree | 3ad1aec115c602338bd7be43acdc0e0c9e470c0d /testcases/020-percentliteral-cpu_temperature/expected_output.txt | |
parent | 09358d26982431702c3652e8f07ebff7166a1181 (diff) |
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
Diffstat (limited to 'testcases/020-percentliteral-cpu_temperature/expected_output.txt')
0 files changed, 0 insertions, 0 deletions