Move time and ratio computations out of slurp_battery_info. (#151)

This allows OSes that support reporting multiple batteries to simply
sum into full_design,full_last,remaining and let print_battery_info
make computations.
This commit is contained in:
tommie 2016-08-15 07:52:20 +01:00 committed by Michael Stapelberg
parent cf53cf0192
commit 7ce0044a03
1 change