polybar: Battery module doesn't update
I recently noticed that after one of last updates the battery module stoppend updating after boot, indeed it’s stuck on the boot state even if i plug/unplug the power cord. Config:
[module/battery]
type = internal/battery
full-at = 98
battery = BAT0
adapter = AC
format-charging = <animation-charging> <label-charging>
format-discharging = <ramp-capacity> <label-discharging>
format-full = <ramp-capacity> <label-full>
ramp-capacity-0 =
ramp-capacity-0-foreground = #f53c3c
ramp-capacity-1 =
ramp-capacity-1-foreground = #ffa900
ramp-capacity-2 =
ramp-capacity-3 =
ramp-capacity-4 =
animation-charging-0 =
animation-charging-1 =
animation-charging-2 =
animation-charging-3 =
animation-charging-4 =
animation-charging-framerate_ms = 750
About this issue
- Original URL
- State: closed
- Created 8 years ago
- Comments: 17 (7 by maintainers)
Commits related to this issue
- fix(battery): Poll until real inotify event occurs Fixes jaagr/lemonbuddy#140 — committed to polybar/polybar by jaagr 8 years ago
- fix(battery): Ignore the fake inotify event Assume fake event if polling flag is set. Fixes jaagr/lemonbuddy#140 — committed to polybar/polybar by jaagr 8 years ago
- refactor(battery): Poll values by default Fixes jaagr/lemonbuddy#140 — committed to polybar/polybar by jaagr 8 years ago
Hey, I guess you updated from 1.X - there were a few changes in the configuration, see: https://github.com/jaagr/lemonbuddy/wiki/2.0.0---breaking-changes
I hope that helps 😃