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
Wrong battery percentage and status #137
Comments
Which OS are you using? |
|
I'm using Archlinux
|
sigh It seems to me the kernel exposes Can you locally modify |
Made this change and reloaded but nothing has changed.
|
I would have replaced all |
Others occurrences are just variables names, anyway I've replaced all and the result is the same.
|
Yeah I expected to just be variable names but I didn't take the time to review the implementation carefully. Well what you can do is try to is |
Also, running |
These numbers don't add up.
|
But in fact you have What's the content of that pseudo file? |
Also how many batteries do you have? |
I have just one battery
|
All the
|
As per https://www.kernel.org/doc/Documentation/power/power_supply_class.txt
Having a capacity value of 135 likely means your kernel and/or battery driver/firmware (if such a thing exists) is broken. |
Somewhat, in your results This is bogus 😐 Maybe you can try to gather more information with the Archlinux people? |
I've just opened a 3d on the arch forum. |
Fixed by replacing energy_* with charge_* and discharging and charging completely the battery https://bbs.archlinux.org/viewtopic.php?pid=1760749#p1760749 |
Good to know. In your case, since you have a I think I'll just leave it as is until someone really doesn't have either |
Are we good? |
Sure 👍 |
Agreed, but can you please open a dedicated issue? |
I have a wireless keyboard and a wireless mouse, both of them expose a battery device that makes an incorrect battery status level. If I exclude 271 # $(find /sys/class/power_supply -maxdepth 1 -iname '*bat*') the status level is ok. May be you can exclude devices with $ cat /sys/class/power_supply/hidpp_battery_2/scope
Device Thanks |
Hello @szaffarano Could you please open a dedicated issue? Can you also list everything in |
Done, issue #161 created Thank you |
The battery status and level are not correct.
Status bar report that battery is discarching and level is stuck on 48%.
The text was updated successfully, but these errors were encountered: