]> git.sur5r.net Git - i3/i3status/commit
Implement aggregates for batteries. 140/head
authorTommie Gannert <tommie@gannert.se>
Mon, 1 Aug 2016 17:03:03 +0000 (18:03 +0100)
committerTommie Gannert <tommie@gannert.se>
Sun, 28 Aug 2016 13:29:08 +0000 (14:29 +0100)
commitdc072f9f5353dc8adab14b2de99f0c1abb25e8d8
treec49efb14c7983dad7fa215d6d96d6edd56f9b30f
parentac8998ef03374abca56da9929812c6fcba936031
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.
i3status.c
i3status.conf
include/i3status.h
man/i3status.man
src/print_battery_info.c