Problems Reading Battery Values
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
upower (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
I'm experiencing a variety of problems that appear related to communicating with the battery in my HP Dragonfly Elite AMD Ryzen 7736U laptop.
In Gnome, the battery indicator will change values sharply like from 99% to 0% or the battery icon will disappear. If I'm connected to the power adapter, sometimes it will return back to the previous state/value after some time. If I'm not connected to the power adapter, it might say that it is about to hibernate or shutdown and then may hibernate or shutdown.
acpitool -B has at times failed to show any battery present. It normally presents output like:
Battery #1 : present
Remaining capacity : 58490 mWh, 100.0%
Design capacity : 65000 mWh
Last full capacity : 58490 mWh, 89.98% of design capacity
Capacity loss : 10.02%
Present rate : 0 mW
Charging state : Full
Battery type : Li-ion
Model number : PABAS0241231
Serial number : 41167
At least once, none of the processor cores would clock above 400MHz according to /proc/cpuinfo while in this state.
I don't know if this is (just) a hardware problem (the HP Diagnostic hasn't provided me with an error code but the BIOS has at times failed to detect the battery) but there are log messages in /var/log/syslog which say "please report!" (hence this report).
Ubuntu 23.10
upower 1.90.2-4
2024-02-
2024-02-
2024-02-
2024-02-
Please let me know if there is any additional info I can provide.
description: | updated |
Here is the output of acpitool -B while Gnome reports 0% battery:
Battery #1 : present
Remaining capacity : 58490 mWh, 100.0%
, -1.000% of design capacity
Capacity loss : 101.0%
Present rate : 0 mW
Charging state : Full
Battery type : Li-ion
Model number : PABAS0241231
Serial number : 41167
Despite being plugged in (and fully charged), some processes think there is low battery:
2024-02- 10T17:32: 01.406945- 05:00 dragonfly tracker- miner-f[ 3211]: Running on LOW Battery, pausing 10T17:32: 02.406736- 05:00 dragonfly upowerd[1950]: value "-nan" of type 'gdouble' is invalid or out of range for property 'percentage' of type 'gdouble'
2024-02-