Bug 475211

Summary: No battery indicator shown on electricity unplugged.
Product: [Plasma] plasmashell Reporter: Daniel Duris <kdebugs>
Component: Power and Battery widgetAssignee: Plasma Bugs List <plasma-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: kde, me, natalie_clarius, nate
Priority: NOR    
Version First Reported In: 5.27.7   
Target Milestone: 1.0   
Platform: Neon   
OS: Linux   
See Also: https://bugs.kde.org/show_bug.cgi?id=461930
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: energy info running on battery

Description Daniel Duris 2023-10-04 11:33:55 UTC
SUMMARY
No battery indicator shown on electricity unplugged. 

STEPS TO REPRODUCE
1. Unplug electrical adapter

OBSERVED RESULT
Brightness indicator appears, but not battery indicator (battery checkbox is checked)

EXPECTED RESULT
Battery displayed

SOFTWARE/OS VERSIONS
Operating System: KDE neon 5.27
KDE Plasma Version: 5.27.8
KDE Frameworks Version: 5.110.0
Qt Version: 5.15.10
Kernel Version: 6.2.0-33-generic (64-bit)
Graphics Platform: X11

ADDITIONAL
Possibly related to:
https://bugs.kde.org/show_bug.cgi?id=461930
Comment 1 Daniel Duris 2023-10-04 11:34:46 UTC
"No batteries available" message displayed on mouseover over brightness. But ofc, battery is present.
Comment 2 Daniel Duris 2023-10-04 11:36:19 UTC
Created attachment 162083 [details]
energy info running on battery
Comment 3 Daniel Duris 2023-10-11 15:56:08 UTC
Batter indicator is shown properly in Wayland, so this seems to be X11 issue:
Operating System: KDE neon 5.27
KDE Plasma Version: 5.27.8
KDE Frameworks Version: 5.110.0
Qt Version: 5.15.10
Kernel Version: 6.2.0-34-generic (64-bit)
Graphics Platform: Wayland
Comment 4 Nate Graham 2023-12-08 20:31:36 UTC
Can you sttach a screenshot of the thing that's missing what you expect, as well as what that same thing looks like on Wayland where it does appear?
Comment 5 Daniel Duris 2023-12-09 12:50:12 UTC
The bug disappeared recently after some update.