loading thresholds state
Aaron Marcher info@nulltime.net
Thu, 30 Mar 2017 17:32:20 +0200
1 files changed,
2 insertions(+),
0 deletions(-)
jump to
M
slstatus.c
→
slstatus.c
@@ -140,6 +140,8 @@ } else if (strcmp(state, "Discharging") == 0) {
return smprintf("-"); } else if (strcmp(state, "Full") == 0) { return smprintf("="); + } else if (strcmp(state, "Unknown") == 0) { + return smprintf("/"); } else { return smprintf("?"); }