mirror of https://github.com/pikami/slstatus.git
loading thresholds state
This commit is contained in:
parent
b11dd2db0e
commit
cceeec0efa
|
@ -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("?");
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue