summaryrefslogtreecommitdiff
path: root/components/battery.c
diff options
context:
space:
mode:
authorAaron Marcher <me@drkhsh.at>2018-05-02 08:16:21 +0200
committerAaron Marcher <me@drkhsh.at>2018-05-02 08:16:21 +0200
commit2bd581a47b8e355a398b87bb82fdcff547b8073a (patch)
tree544377d4e9e035e03b58be645a4775aec055bb70 /components/battery.c
parentf5f3808f361a4278a60124e0c26721538ea400d2 (diff)
battery_state: Unify unknown state with "?" symbol
Diffstat (limited to 'components/battery.c')
-rw-r--r--components/battery.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/components/battery.c b/components/battery.c
index 86ea2a1..e997e4c 100644
--- a/components/battery.c
+++ b/components/battery.c
@@ -30,7 +30,6 @@
{ "Charging", "+" },
{ "Discharging", "-" },
{ "Full", "=" },
- { "Unknown", "/" },
};
size_t i;
char path[PATH_MAX], state[12];
@@ -89,7 +88,6 @@
} map[] = {
{ APM_AC_ON, "+" },
{ APM_AC_OFF, "-" },
- { APM_AC_UNKNOWN, "/" },
};
fd = open("/dev/apm", O_RDONLY);