diff options
author | Tommie Gannert <tommie@gannert.se> | 2016-08-01 18:03:03 +0100 |
---|---|---|
committer | Tommie Gannert <tommie@gannert.se> | 2016-08-28 14:29:08 +0100 |
commit | dc072f9f5353dc8adab14b2de99f0c1abb25e8d8 (patch) | |
tree | c49efb14c7983dad7fa215d6d96d6edd56f9b30f /include/i3status.h | |
parent | ac8998ef03374abca56da9929812c6fcba936031 (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 'include/i3status.h')
-rw-r--r-- | include/i3status.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/include/i3status.h b/include/i3status.h index 4d2d0f1..3911e04 100644 --- a/include/i3status.h +++ b/include/i3status.h @@ -168,11 +168,6 @@ char *pct_mark; } \ } while (0) -typedef enum { CS_DISCHARGING, - CS_CHARGING, - CS_UNKNOWN, - CS_FULL } charging_status_t; - /* * The "min_width" module option may either be defined as a string or a number. */ |