From dc072f9f5353dc8adab14b2de99f0c1abb25e8d8 Mon Sep 17 00:00:00 2001 From: Tommie Gannert Date: Mon, 1 Aug 2016 18:03:03 +0100 Subject: 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. --- include/i3status.h | 5 ----- 1 file changed, 5 deletions(-) (limited to 'include/i3status.h') 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. */ -- cgit v1.2.3