aboutsummaryrefslogtreecommitdiff
path: root/src/auto_detect_format.c
diff options
context:
space:
mode:
authorTommie Gannert2016-08-01 18:03:03 +0100
committerTommie Gannert2016-08-28 14:29:08 +0100
commitdc072f9f5353dc8adab14b2de99f0c1abb25e8d8 (patch)
treec49efb14c7983dad7fa215d6d96d6edd56f9b30f /src/auto_detect_format.c
parentMatch trailing equal sign in slurp_battery_info. (diff)
Implement aggregates for batteries.
Using title number all, this enables aggregates. Note that FreeBSD and OpenBSD previously only reported aggregates, so this is bringing Linux and NetBSD that functionality. Changes the default battery reporting to the aggregate since most users probably don't care about individual batteries. For single-battery systems there should be no change. Fixes one obvious memory leak in NetBSD.
Diffstat (limited to 'src/auto_detect_format.c')
0 files changed, 0 insertions, 0 deletions