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:
parent
cf53cf0192
commit
7ce0044a03
1 change