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
2024-02-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'

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to upower in Ubuntu.
https://bugs.launchpad.net/bugs/2052865

Title:
  Problems Reading Battery Values

Status in upower package in Ubuntu:
  New

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-06T10:26:23.347171-05:00 dragonfly upowerd[1918]: no valid voltage 
value found for device 
/sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/device:47/PNP0C0A:00/power_supply/BAT1,
 assuming 10V
  2024-02-06T10:26:23.347783-05:00 dragonfly upowerd[1918]: Battery unit type 
changed, assuming the old unit is still valid. This is likely a firmware or 
driver issue, please report!
  2024-02-06T10:26:23.347836-05:00 dragonfly upowerd[1918]: value "-nan" of 
type 'gdouble' is invalid or out of range for property 'percentage' of type 
'gdouble'
  2024-02-06T10:27:10.768330-05:00 dragonfly upowerd[1918]: message repeated 9 
times: [ value "-nan" of type 'gdouble' is invalid or out of range for property 
'percentage' of type 'gdouble']

  Please let me know if there is any additional info I can provide.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/upower/+bug/2052865/+subscriptions


-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to