diff --git a/src/battery.c b/src/battery.c
index 0350a9eb1dae3b84bffdf84b6ebf2b33a27e48ed..4e0c06fdb0d4e5ab567cb47ec5deeef78a087d60 100644 (file)
--- a/src/battery.c
+++ b/src/battery.c
#include "common.h"
#include "plugin.h"
-#include "utils_complain.h"
-
#if HAVE_MACH_MACH_TYPES_H
# include <mach/mach_types.h>
#endif
* IOPowerSources. IOKit, on the other hand, only reports the full
* capacity. We use the two to calculate the current charged capacity. */
gauge_t charge_rel = NAN; /* Current charge in percent */
- gauge_t capacity_charged = NAN; /* Charged capacity */
+ gauge_t capacity_charged; /* Charged capacity */
gauge_t capacity_full = NAN; /* Total capacity */
gauge_t capacity_design = NAN; /* Full design capacity */