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
1 changed files with 2 additions and 0 deletions

View File

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