Bug 509214

Summary: Battery Icon doesnt reflect the state of charge/discharge accurately.
Product: [Plasma] plasmashell Reporter: rche10671
Component: Power and Battery widgetAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED FIXED    
Severity: normal CC: kde, materka, natalie_clarius, nate, tom.craggs
Priority: NOR    
Version First Reported In: 6.4.4   
Target Milestone: 1.0   
Platform: EndeavourOS   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: Screenshot displaying that the power supply is the battery but the icon shows ac supply
attachment-3504363-0.html

Description rche10671 2025-09-06 22:15:50 UTC
Created attachment 184778 [details]
Screenshot displaying that the power supply is the battery but the icon shows ac supply

SUMMARY
The battery icon stays fixed to whatever state it was in at the start of the boot. If it was not charging at the beginning the icon doesnt change later when the charger is plugged in. If it was charging, i.e, on ac power at the beginning, it still shows that its on ac power even after disconnecting the charger.

STEPS TO REPRODUCE
1. Start the laptop with charger connected/disconnected
2. If the startup was done while charger was connected then disconnect it after the whole startup is completed and vice versa

OBSERVED RESULT
The expected change in the battery icon is not found

EXPECTED RESULT
Change in the battery icon according to the current state of the power supply

SOFTWARE/OS VERSIONS and ADDITIONAL INFORMATION
Operating System: EndeavourOS 
KDE Plasma Version: 6.4.4
KDE Frameworks Version: 6.17.0
Qt Version: 6.9.2
Kernel Version: 6.16.5-arch1-1 (64-bit)
Graphics Platform: Wayland
Processors: 8 × Intel® Core™ i7-10510U CPU @ 1.80GHz
Memory: 12 GiB of RAM (11.5 GiB usable)
Graphics Processor: Mesa Intel® UHD Graphics
Comment 1 Tom 2025-09-06 23:42:29 UTC
Comment on attachment 184778 [details]
Screenshot displaying that the power supply is the battery but the icon shows ac supply

Hi there, thanks for the report. In order to investigate this further we need some more information. 

- Have you been able to reproduce this issue? If so, what steps can we take to do so?
- How often have you noticed this bug? Does it happen consistently, only sometimes or just once? 
- What is the output of the command 'upower --dump' while encountering the bug?
Comment 2 Nate Graham 2025-09-17 22:09:40 UTC
In addition, can you:
1. Verify that the charger is actually powerful enough to charge the battery?
2. Paste the output of `upower --dump | grep state` first when the system is plugged in, and then again when it's unplugged?
Comment 3 rche10671 2025-09-18 16:20:50 UTC
Created attachment 185056 [details]
attachment-3504363-0.html

Sorry for the late reply,
I observed that it got resolved after two or three weeks of Syu.
 Thanks and regards,
Rohith Chekuri

On Wed, Sep 17, 2025, 5:09 PM Nate Graham <bugzilla_noreply@kde.org> wrote:

> https://bugs.kde.org/show_bug.cgi?id=509214
>
> Nate Graham <nate@kde.org> changed:
>
>            What    |Removed                     |Added
>
> ----------------------------------------------------------------------------
>                  CC|                            |kde@privat.broulik.de,
>                    |                            |natalie_clarius@yahoo.de
>           Component|System Tray widget          |Power and Battery  widget
>       Version First|master                      |6.4.4
>         Reported In|                            |
>
> --
> You are receiving this mail because:
> You reported the bug.
Comment 4 Nate Graham 2025-09-18 16:40:16 UTC
Great, thanks!