loading thresholds state

This commit is contained in:
Aaron Marcher 2017-03-30 17:32:20 +02:00
parent b11dd2db0e
commit cceeec0efa
No known key found for this signature in database
GPG key ID: 74B048E5C2474F9A

View file

@ -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("?");
} }