Bug 509214 - Battery Icon doesnt reflect the state of charge/discharge accurately.
Summary: Battery Icon doesnt reflect the state of charge/discharge accurately.
Status: RESOLVED FIXED
Alias: None
Product: plasmashell
Classification: Plasma
Component: Power and Battery widget (other bugs)
Version First Reported In: 6.4.4
Platform: EndeavourOS Linux
: NOR normal
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-09-06 22:15 UTC by rche10671
Modified: 2025-09-18 16:40 UTC (History)
5 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
Screenshot displaying that the power supply is the battery but the icon shows ac supply (177.60 KB, image/png)
2025-09-06 22:15 UTC, rche10671
Details
attachment-3504363-0.html (1.63 KB, text/html)
2025-09-18 16:20 UTC, rche10671
Details

Note You need to log in before you can comment on or make changes to this bug.
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!