diff options
author | David Demelier <markand@malikania.fr> | 2018-05-20 09:42:16 +0200 |
---|---|---|
committer | Aaron Marcher <me@drkhsh.at> | 2018-05-20 22:12:44 +0200 |
commit | 02258717dc9039d69f22b058dcd116c241c4beb0 (patch) | |
tree | 21520a6ab6e6f49801d6533e19afc728fbeccfc0 /components/swap.c | |
parent | 012c190185003ba2f4225324f8095b2a864eb85a (diff) |
Support energy_now/power_now in battery_remaining
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.
Diffstat (limited to 'components/swap.c')
0 files changed, 0 insertions, 0 deletions