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

--- Comment #3 from Bob <bobfun...@gmail.com> ---
I'm seeing the same thing on my system so I thought I would try to add my
findings here...

SUMMARY
I am also seeing the missing battery applet bug described here and in 422111 on
the latest version of plasmashell (5.26.5). The bug is very sporadic/random in
nature but can be recurrently triggered with enough attempts.

STEPS TO REPRODUCE
Start a desktop session from a tty (i.e. with the startplasma-x11 xinit
script). If the battery applet shows up normally, log out back to tty and
launch the x11 session again until it occurs. The bug also shows up when
starting the session from a display manager like sddm. I just used the tty
method because it was quicker to repeatedly launch sessions. 

Note: The bug only triggers on new session startups. Simply restarting
plasmashell in an already running session will not cause it.

Note that it is highly random to trigger. I have observed up to 24 attempts
until it triggers the bug. Other times it takes less attempts.

OBSERVED RESULT

Battery icon is missing from the system tray. It is replaced by the brightness
icon and the tool tip reports "No Batteries Available". This is shown in the
screenshots.

EXPECTED RESULT

The battery level should always be reported since this is a battery powered
laptop.

SOFTWARE/OS VERSIONS

Operating System: Slackware Live 15.0
KDE Plasma Version: 5.26.5
KDE Frameworks Version: 5.102.0
Qt Version: 5.15.8
Kernel Version: 6.1.11 (64-bit)
Graphics Platform: X11
Processors: 4 × Intel® Core™ i5-6200U CPU @ 2.30GHz
Memory: 7.6 GiB of RAM
Graphics Processor: Mesa Intel® HD Graphics 520
Manufacturer: Dell Inc.
Product Name: XPS 13 9350

ADDITIONAL INFORMATION

UPower and solid-hardware5 both report the battery is present in any case. It
is just the icon in plasmashell that is incorrect.

When the battery icon is missing, running 'org_kde_powerdevil --replace' has no
effect. When powerdevil restarts, the icon disappears and reappears as the
brightness icon and still reports batteries are not available. Only restarting
plasmashell returns it to normal.

This bug seems related to UPower. Slackware is still packaging UPower 0.99.13
and the bug is not present with the combination of UPower 0.99.13 and Plasma
5.26.5. I've tested newer UPower versions (0.99.14 up to 0.99.20) and the bug
can be triggered on all newer versions with enough login attempts. I'm not sure
what happened between 0.99.13 to 0.99.14 that might cause this to trigger but
it seemed related and worth mentioning.

I hope this information is helpful. I can try to provide more debug output if
needed but I am not experienced with the inner workings of upower, powerdevil,
and plasmashell.

 - Bob

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

Reply via email to