![]() |
Manjaro arm + sway - battery indicator broken - Printable Version +- PINE64 (https://forum.pine64.org) +-- Forum: Pinebook Pro (https://forum.pine64.org/forumdisplay.php?fid=111) +--- Forum: Linux on Pinebook Pro (https://forum.pine64.org/forumdisplay.php?fid=114) +--- Thread: Manjaro arm + sway - battery indicator broken (/showthread.php?tid=12882) |
Manjaro arm + sway - battery indicator broken - mfashby - 01-24-2021 Hi! I have a pinebook pro, and I'm running manjaro ARM with sway window manager and it's great ![]() ...except the latest update broke the battery indicator, and I've no idea how to fix it. It now shows 100% all the time, occasionally flipping to 0% now and then. Sway seems to use WayBar for the status indicators, and I found the manual for that here: https://github.com/Alexays/Waybar/wiki/Module:-Battery. This seems to indicate it uses the values in /sys/class/power_supply/cw2015-battery/ to read the battery level. Doing that myself seems to give me a sensible looking answer (laptop has been on for a couple of hours) [martin@martin-pinebook ~]$ cat /sys/class/power_supply/cw2015-battery/capacity 88 Is anyone else experiencing the same? anyone know how to fix it..? Downgrading waybar fixed it, and it looks like someone already opened a bug report. https://github.com/Alexays/Waybar/issues/966 RE: Manjaro arm + sway - battery indicator broken - ludix - 01-24-2021 I have no fix but same behaviour on my PostmarketOS RE: Manjaro arm + sway - battery indicator broken - mfashby - 01-24-2021 I have a possible fix to add support for charge_now status in the kernel, just trying to figure out how to add a kernel patch on manjaro ARM ![]() RE: Manjaro arm + sway - battery indicator broken - pine76 - 01-24-2021 I have the same problem with Manjaro Sway; I am hesitant to use Manjaro with my pinebook pro as I can't make sure whether it is the indicator or the power management itself. I have had similar (or related) problems with Manjaro Xfce and KDE; that is a reason I think it may be a problem more serious than the power manager indicator. After a Manjaro update or two power manager or network manager breaks... RE: Manjaro arm + sway - battery indicator broken - appelgriebsch - 01-25-2021 (01-24-2021, 05:02 PM)pine76 Wrote: I have the same problem with Manjaro Sway; I am hesitant to use Manjaro with my pinebook pro as I can't make sure whether it is the indicator or the power management itself. I have had similar (or related) problems with Manjaro Xfce and KDE; that is a reason I think it may be a problem more serious than the power manager indicator. After a Manjaro update or two power manager or network manager breaks... This is a bug in Waybar and has been posted already: https://github.com/Alexays/Waybar/issues/966 RE: Manjaro arm + sway - battery indicator broken - rimaille - 01-29-2021 Why do you use waybar (which is by the way not part of sway project), not a personnalized one ? There's ton of examples over internet, mine is this shell script : https://dpaste.com/5MDYNWSK2 you have to call it from the sway config file : [...] bar { position top status_command /home/remy/bin/sway_panel.sh [...] RE: Manjaro arm + sway - battery indicator broken - mfashby - 02-20-2021 (01-29-2021, 11:17 PM)rimaille Wrote: Why do you use waybar (which is by the way not part of sway project), not a personnalized one ? |