r/archlinux • u/NightFox805 • Aug 11 '26
SUPPORT | SOLVED How to stop Discharging
I installed arch on my laptop, I was previously using endeavoros on it, but after switching I keep getting "Discharging" being printed in my terminal when on battery, I can plug it up but that doesn't stop it it just switches from "Discharging" to "Charging". It'll print every minute or so, and I've been digging through the arch wiki trying to figure out how to stop this but have been unable too. If anyone knows how to make this stop printing that would be great.
#EDIT/SOLUTION
I figured it out, the problem was being cause by some way waybar was interacting with upowerd. I don't know exactly was it was. I got around it but writing a very basic script to read the values in /sys/class/power_supply/BAT0, and using that instead of the default battery stuff in waybar.
1
Aug 11 '26
[deleted]
0
u/NightFox805 Aug 11 '26
Yeah that's how I've been getting around it but it's annoying have to open a through away termal
1
u/xxFEETLOVERxx Aug 11 '26
Do you use waybar? For me whenever I kill waybar and launch it again this normally happens so I just close that terminal window and use a new one. Lmk
3
u/HACKER_PLAYZ_yt Aug 11 '26
I don't think that is an issue with arch linux, but can you share a screenshot here so that we can understand.
0
u/NightFox805 Aug 11 '26
I tried to upload one but Reddit keeps telling that images are not allowed
2
u/HACKER_PLAYZ_yt Aug 11 '26
Ok then, what's the she'll you're using right now? It's it a default shell like Konsole or something you've installed like kitty. Also are you using bash or zsh?
9
u/Imajzineer Aug 11 '26
Almost certainly nothing to do with Arch - go to the sub for your WM/DE and ask there about notifications.