https://bugs.kde.org/show_bug.cgi?id=461930

            Bug ID: 461930
           Summary: Battery Indicator shows Brightness applet instead of
                    battery even though battery is present
    Classification: Plasma
           Product: Powerdevil
           Version: unspecified
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: plasma-b...@kde.org
          Reporter: dave.green...@gmail.com
                CC: m...@ratijas.tk
  Target Milestone: ---

SUMMARY
The battery indicator applet shows that no battery is present (only brightness
indicator per 5.26 design) even though a batter is present.

I typically notice this on resume.

STEPS TO REPRODUCE
1. Suspend to Ram
2. Resume
3. Icon incorrect

OBSERVED RESULT

Brightness icon shows

EXPECTED RESULT

Battery icon shows

SOFTWARE/OS VERSIONS
Operating System: Manjaro Linux
KDE Plasma Version: 5.26.3
KDE Frameworks Version: 5.99.0
Qt Version: 5.15.7
Kernel Version: 6.0.8-1-MANJARO (64-bit)
Graphics Platform: Wayland
Processors: 8 × 11th Gen Intel® Core™ i7-1195G7 @ 2.90GHz
Memory: 15.3 GiB of RAM
Graphics Processor: Mesa Intel® Xe Graphics
Manufacturer: HP
Product Name: HP Spectre x360 Convertible 14t-ea100

ADDITIONAL INFORMATION

I think device
/org/freedesktop/UPower/devices/battery_hid_0018o04F3o2BF1x0006_battery is
causing the issue because it returns as missing.

output from upower -d
Device: /org/freedesktop/UPower/devices/line_power_ADP1
  native-path:          ADP1
  power supply:         yes
  updated:              Wed 16 Nov 2022 07:11:40 PM CST (3240 seconds ago)
  has history:          no
  has statistics:       no
  line-power
    warning-level:       none
    online:              no
    icon-name:          'ac-adapter-symbolic'

Device: /org/freedesktop/UPower/devices/battery_BAT0
  native-path:          BAT0
  vendor:               HP
  model:                Primary
  serial:               SerialNumber
  power supply:         yes
  updated:              Wed 16 Nov 2022 08:05:31 PM CST (9 seconds ago)
  has history:          yes
  has statistics:       yes
  battery
    present:             yes
    rechargeable:        yes
    state:               discharging
    warning-level:       none
    energy:              46.269 Wh
    energy-empty:        0 Wh
    energy-full:         63.109 Wh
    energy-full-design:  66.528 Wh
    energy-rate:         8.26988 W
    voltage:             8.004 V
    charge-cycles:       147
    time to empty:       5.6 hours
    percentage:          73%
    capacity:            94.8608%
    technology:          lithium-ion
    icon-name:          'battery-full-symbolic'
  History (rate):
    1668650731  8.270   discharging
    1668650701  8.269   discharging
    1668650671  8.389   discharging
    1668650641  8.270   discharging

Device: /org/freedesktop/UPower/devices/battery_hid_0018o04F3o2BF1x0006_battery
  native-path:          hid-0018:04F3:2BF1.0006-battery
  model:                ELAN2514:00 04F3:2BF1
  power supply:         no
  updated:              Wed 31 Dec 1969 06:00:00 PM CST (1668650740 seconds
ago)
  has history:          yes
  has statistics:       yes
  keyboard
    present:             yes
    rechargeable:        yes
    state:               unknown
    warning-level:       none
    percentage:          0%
    icon-name:          'battery-missing-symbolic'

Device: /org/freedesktop/UPower/devices/DisplayDevice
  power supply:         yes
  updated:              Wed 16 Nov 2022 08:05:31 PM CST (9 seconds ago)
  has history:          no
  has statistics:       no
  battery
    present:             yes
    state:               discharging
    warning-level:       none
    energy:              46.269 Wh
    energy-full:         63.109 Wh
    energy-rate:         8.26988 W
    charge-cycles:       N/A
    time to empty:       5.6 hours
    percentage:          73%
    icon-name:          'battery-full-symbolic'

Daemon:
  daemon-version:  1.90.0
  on-battery:      yes
  lid-is-closed:   no
  lid-is-present:  yes
  critical-action: HybridSleep

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to