pop-os / cosmic-epoch

Next generation Cosmic desktop environment
3.2k stars 86 forks source link

Battery shows as 0% #858

Open kekkoudesu opened 2 months ago

kekkoudesu commented 2 months ago

My battery is showing as 0% inside COSMIC's applet on Arch Linux with 1.0.0.alpha.1-1 packages in the official repository.

image

Compared to upower:

$ upower --dump
Device: /org/freedesktop/UPower/devices/battery_BAT0
  native-path:          BAT0
  vendor:               SMP
  model:                DELL XDY9K23
  serial:               2848
  power supply:         yes
  updated:              Fri 30 Aug 2024 20:02:25 (24 seconds ago)
  has history:          yes
  has statistics:       yes
  battery
    present:             yes
    rechargeable:        yes
    state:               discharging
    warning-level:       none
    energy:              22.005 Wh
    energy-empty:        0 Wh
    energy-full:         35.94 Wh
    energy-full-design:  54 Wh
    energy-rate:         6.945 W
    voltage:             15.043 V
    charge-cycles:       N/A
    time to empty:       3.2 hours
    percentage:          61%
    capacity:            66.5556%
    technology:          lithium-polymer
    icon-name:          'battery-full-symbolic'
  History (rate):
    1725012145  6.945   discharging
    1725012115  9.015   discharging
    1725012085  12.075  discharging

It was working before but just not today.

Excuse the colour scheme... I guess some people really can't be trusted with design freedom :)

rmarquis commented 2 months ago

Same issue for me, but it's very inconsistent. Most of the time it works, and when it doesn't a rebbot is usually enough to make it work.