-
Notifications
You must be signed in to change notification settings - Fork 180
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
battery script stopped showing proper percentage #258
Comments
Temp fix, changing this line from fixes the issue for now but probably not ideal. |
Having exactly the same trouble, the "fix" indeed works, thanks ;) It's weird, extra batteries are only appearing after sleep on my PC (zenbook). |
@archvill This could be distro specific, not sure. ACPI state changes on and off, etc. Ideally, the script would detect the proper battery (or batteries) and state changes dynamically. "Quick and dirty" fix above OK for now. |
@stef204 agreed, BTW I'm using Arch.
|
The scripts are now exclusively maintained in the i3blocks-contrib repository, thanks! |
the battery script in the "scripts" repo which I have used for ages has stopped working properly and behaves as such: as soon as X starts and i3-wm launches, I can see proper number for battery. Once it refreshes, it gets stuck on battery 0% red color.
The 0% is incorrect. This has just started to happen recently.
So it no longer is picking up the right battery (BAT1) and reading BAT0 or BAT2. Note: I only have 1 single battery (BAT1) in this laptop.
Could be due to changes in kernel or acpi ?
% uname -sr Linux 4.13.4
Note: having similar problems with battery.py from i3blocks-contrib and batterybar (this one shows status for 3 batteries when only 1 is present.)
The text was updated successfully, but these errors were encountered: