From: David Demelier Date: Sun, 20 May 2018 07:42:16 +0000 (+0200) Subject: Support energy_now/power_now in battery_remaining X-Git-Url: https://git.xinqibao.xyz/slstatus.git/commitdiff_plain/f386a03a20ca3de30f761dba52d9d7196e3544e4?ds=sidebyside;hp=f386a03a20ca3de30f761dba52d9d7196e3544e4 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. ---