summaryrefslogtreecommitdiff
path: root/src/print_disk_info.c
diff options
context:
space:
mode:
authortommie <tommie@users.noreply.github.com>2016-08-15 07:52:20 +0100
committerMichael Stapelberg <stapelberg@users.noreply.github.com>2016-08-14 23:52:20 -0700
commit7ce0044a03f94b2b0707b087ebb9de78c1d09874 (patch)
tree989a8fa9b285940967f51361413ab7ae257cfcfc /src/print_disk_info.c
parentcf53cf01929a8697c82f5f7565277861e8b6966c (diff)
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.
Diffstat (limited to 'src/print_disk_info.c')
0 files changed, 0 insertions, 0 deletions