From cceeec0efada64579525b90b30e5597cd24dfc6c Mon Sep 17 00:00:00 2001 From: Aaron Marcher Date: Thu, 30 Mar 2017 17:32:20 +0200 Subject: loading thresholds state --- slstatus.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/slstatus.c b/slstatus.c index 53e1946..90b4808 100644 --- a/slstatus.c +++ b/slstatus.c @@ -140,6 +140,8 @@ battery_state(const char *bat) return smprintf("-"); } else if (strcmp(state, "Full") == 0) { return smprintf("="); + } else if (strcmp(state, "Unknown") == 0) { + return smprintf("/"); } else { return smprintf("?"); } -- cgit v1.2.3