X-Git-Url: https://git.xinqibao.xyz/slstatus.git/blobdiff_plain/4f5ac5d9fe7525713a007727dd06d5aae031f6ac..417f473fe2c5b54543d57d97450b8e2c2ebeba50:/components/battery.c diff --git a/components/battery.c b/components/battery.c index 86ea2a1..fe17a68 100644 --- a/components/battery.c +++ b/components/battery.c @@ -29,8 +29,6 @@ } map[] = { { "Charging", "+" }, { "Discharging", "-" }, - { "Full", "=" }, - { "Unknown", "/" }, }; size_t i; char path[PATH_MAX], state[12]; @@ -89,7 +87,6 @@ } map[] = { { APM_AC_ON, "+" }, { APM_AC_OFF, "-" }, - { APM_AC_UNKNOWN, "/" }, }; fd = open("/dev/apm", O_RDONLY);