mirror of
https://codeberg.org/dnkl/yambar.git
synced 2025-04-21 20:05:42 +02:00
module/battery: doh! fix spelling of ‘status’
This commit is contained in:
parent
c0c5df0f6a
commit
cadf227bc6
1 changed files with 1 additions and 1 deletions
|
@ -297,7 +297,7 @@ update_status(struct module *mod, int capacity_fd, int energy_fd, int power_fd,
|
||||||
state = STATE_CHARGING;
|
state = STATE_CHARGING;
|
||||||
else if (strcmp(status, "Discharging") == 0)
|
else if (strcmp(status, "Discharging") == 0)
|
||||||
state = STATE_DISCHARGING;
|
state = STATE_DISCHARGING;
|
||||||
else if (strcmp(state, "Not charging") == 0)
|
else if (strcmp(status, "Not charging") == 0)
|
||||||
state = STATE_DISCHARGING;
|
state = STATE_DISCHARGING;
|
||||||
else if (strcmp(status, "Unknown") == 0)
|
else if (strcmp(status, "Unknown") == 0)
|
||||||
state = STATE_DISCHARGING;
|
state = STATE_DISCHARGING;
|
||||||
|
|
Loading…
Add table
Reference in a new issue