Browse Source

loading thresholds state

master
Aaron Marcher 9 years ago
parent
commit
cceeec0efa
No known key found for this signature in database GPG Key ID: 74B048E5C2474F9A
  1. 2
      slstatus.c

2
slstatus.c

@ -140,6 +140,8 @@ battery_state(const char *bat)
return smprintf("-"); return smprintf("-");
} else if (strcmp(state, "Full") == 0) { } else if (strcmp(state, "Full") == 0) {
return smprintf("="); return smprintf("=");
} else if (strcmp(state, "Unknown") == 0) {
return smprintf("/");
} else { } else {
return smprintf("?"); return smprintf("?");
} }

Loading…
Cancel
Save