Alexays / Waybar

Highly customizable Wayland bar for Sway and Wlroots based compositors. :v: :tada:
MIT License
6.38k stars 696 forks source link

The battery level always falls back to BAT0 capacity regardless of exec command #3351

Open Hujair opened 3 months ago

Hujair commented 3 months ago

the problem is BAT0 gives different reading than what acpi gives BAT0 is the laptop battery but for some reason the two commands are not consistent

I tried to use exec to read from acpi using "acpi -b | awk '{print $4}' | tr -d ','" but it refuses to take the output of this command and it falls back to whatever in BAT0

LukashonakV commented 3 months ago

Hi @Hujair , for which module this issue is relevant?