Xinqi Bao's Git
projects
/
slstatus.git
/ commitdiff
summary
|
log
|
commit
|
diff
|
tree
raw
|
patch
| inline |
side by side
(from:
f386a03
)
Support energy_now/power_now in battery_remaining
author
David Demelier <
[email protected]
>
Sun, 20 May 2018 07:42:16 +0000
(09:42 +0200)
committer
Aaron Marcher <
[email protected]
>
Sun, 20 May 2018 20:12:44 +0000
(22:12 +0200)
On some laptops (mostly thinkpads), the remaining time may be
expressed in µWh using energy_now and power_now files rather than µAh
for charge_now and current_now.
Add pick function to conditionally select appropriate one.
No differences found