Bug 507093 - Using the KCM to change the power profile for active power mode changes the power profile immediately but the System Tray icon does not update appropriately
Summary: Using the KCM to change the power profile for active power mode changes the p...
Status: CONFIRMED
Alias: None
Product: plasmashell
Classification: Plasma
Component: Power and Battery widget (other bugs)
Version First Reported In: 6.4.2
Platform: Other Linux
: NOR minor
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-07-16 06:59 UTC by eifr
Modified: 2025-08-07 22:18 UTC (History)
3 users (show)

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


Attachments
icon does not change when charging (616.40 KB, video/mp4)
2025-08-07 16:02 UTC, eifr
Details

Note You need to log in before you can comment on or make changes to this bug.
Description eifr 2025-07-16 06:59:11 UTC
SUMMARY


STEPS TO REPRODUCE
1. In Power Management, set "switch to power profile" to a power profile
2. observe battery widget not showing the power profile icon

OBSERVED RESULT
battery widget not showing the power profile icon


EXPECTED RESULT
Battery widget icon shows current power profile

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Linux 6.15.6
KDE Plasma Version: KDE Plasma 6.4.2
KDE Frameworks Version: 6.16.0
Qt Version: 6.9.1

ADDITIONAL INFORMATION
Comment 1 Nate Graham 2025-08-06 23:10:48 UTC
Changing the power profile on the Power Management page in System Settings doesn't change the power profile immediately; rather, it configures the system to switch to that power profile automatically when the power cable is plugged in or unplugged, or when the battery is very low. All of the settings on that page work that way. Basically you're telling them system how you'd like this changes when entering that state.

If you want to change the power profile immediately, that's done from the Power and Battery widget in the System Tray.
Comment 2 eifr 2025-08-07 05:22:45 UTC
Thanks for the response :)
I didn't mean it needs to change immediately, the icon of the widget does not change when the battery profile changes using the power management feature.
Comment 3 Nate Graham 2025-08-07 15:10:11 UTC
So the power profile actually does change, but the icon in the System Tray doesn't change?

Can you attach a screen recording that shows it happening? You can change the power profile from the tray icon's popup to make visually sure that it's actually gotten changed.
Comment 4 eifr 2025-08-07 16:02:51 UTC
Created attachment 183861 [details]
icon does not change when charging
Comment 5 eifr 2025-08-07 16:04:17 UTC
As you can see from the recording, the icon does not change.
Unrelated- I'm not sure what are those lines at the bottom of the recording. I used spectacle.
Comment 6 Nate Graham 2025-08-07 16:04:25 UTC
That's weird. Three questions:

1. Does it switch when you use the slider in the applet popup to change the power profile?

2. Are you using a custom icon theme?

3. Does the issue reproduce in a new clean user account on the same machine?
Comment 7 eifr 2025-08-07 16:05:57 UTC
1. yes
2. default breeze
3. yes
Comment 8 Nate Graham 2025-08-07 22:18:16 UTC
Well what do you know, I can reproduce it too. I was so fixated on this not being the expected UX that I never even bothered to try it out. And sure enough, it happens just like you say.

I'm not sure it's intentional that using the System Settings page to change the power profile of the active power mode should change the active power profile immediately.

But given that it does… yeah, the icon should update as well.