Bug 489056 - keyboard backlight brightness not controllable after wake from sleep
Summary: keyboard backlight brightness not controllable after wake from sleep
Status: RESOLVED FIXED
Alias: None
Product: plasmashell
Classification: Plasma
Component: Power management & brightness (other bugs)
Version First Reported In: 6.2.4
Platform: Gentoo Packages Linux
: NOR normal
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-06-23 15:54 UTC by abulhair.saparov
Modified: 2025-08-06 23:26 UTC (History)
8 users (show)

See Also:
Latest Commit:
Version Fixed In: 6.3.5 and/or Frameworks 6.14 or earlier
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description abulhair.saparov 2024-06-23 15:54:45 UTC
SUMMARY
After waking from sleep, the keyboard backlight is off (it doesn't restore the previous brightness) and I am not able to increase the brightness using FN+F2 as I normally would before sleep.

STEPS TO REPRODUCE
1. Sleep
2. Wake
3. Attempt to increase keyboard brightness via FN+F3

OBSERVED RESULT
Keyboard backlight is off after waking, and I am no longer able to change the keyboard brightness via function keys. However, I am able to do so via `echo 3 > /sys/class/leds/asus::kbd_backlight/brightness`.

EXPECTED RESULT
The keyboard brightness should be restored to the same value as before sleep. In addition, I should be able to control the keyboard brightness using the function keys after waking from sleep.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Gentoo Linux x86_64 (kernel 6.9.5)
(available in About System)
KDE Plasma Version: 6.1.0
KDE Frameworks Version: 6.3.0 
Qt Version: 6.7.2
Comment 1 abulhair.saparov 2024-06-23 15:55:56 UTC
I should also comment that Plasma 5 also did not remember my keyboard brightness after waking, but I was able to set it using the function keys.
Comment 2 Iyán M. V. 2024-07-04 07:33:04 UTC
If you restart powerdevil service with `systemctl --user restart plasma-powerdevil.service` does it work as before sleeping?
Comment 3 abulhair.saparov 2024-07-04 23:15:34 UTC
I have OpenRC so I'm not sure what the equivalent command is. I did run `/usr/libexec/org_kde_powerdevil --replace` and it looks like it is running, but it did not correct the keyboard backlight.
Comment 4 IFriendly 2024-11-10 10:06:30 UTC
Has this problem been solved at the moment?

Sometimes the keyboard backlight is restored after waking up. 
But usually not.
It seems that something is blocking the recovery of the backlight state.
IMHO this linked with kernel/firmware updates. 
KDE powerdevil is not updated from 04/2024.

Operating System: Ubuntu 22.04.5 LTS (Jammy Jellyfish)
KDE Plasma Version: 5.27.10
KDE Frameworks Version: 5.114.0
Qt Version: 5.15.12
Kernel Version: 6.8.0-48-generic (64-bit)
Product Name: Asus ZenBook UX435EAL
Comment 5 abulhair.saparov 2024-12-21 20:21:59 UTC
I am still having this problem. I recently updated to Plasma Version 6.2.4, Frameworks Version 6.9.0, Qt Version 6.8.1, kernel 6.12.6-gentoo. I am also still using X11 (xorg-server-21.1.5).

When I first re-open the lid, the keyboard light is actually on but then turns off as the system resumes from sleep.
Comment 6 Thomas Bertels 2024-12-22 07:24:12 UTC Comment hidden (spam)
Comment 7 Nate Graham 2025-05-08 16:01:49 UTC Comment hidden (spam)
Comment 8 Nate Graham 2025-05-08 16:02:23 UTC
Is this still happening in Plasma 6.3.4 or later?
Comment 9 abulhair.saparov 2025-05-08 17:58:02 UTC
(In reply to Nate Graham from comment #8)
> Is this still happening in Plasma 6.3.4 or later?

Yes. Still happening for me.

I have plasma 6.3.4, frameworks 6.13.0, qt 6.8.3, kernel 6.14.4
Comment 10 TraceyC 2025-05-20 21:07:04 UTC
I'm not able to reproduce this with a Dell XPS 17

Setup:
Keyboard backlight at 100%

Steps to reproduce:
1. Put the system to sleep, wake it up
Expect: The keyboard backlight is on at 100% - ok

2 . Attempt to adjust the keyboard backlight with the keyboard key
Expect: It is adjusted - ok
Comment 11 abulhair.saparov 2025-05-20 21:10:39 UTC
I have an ASUS ROG Zephyrus M16 (GU604VZ) laptop from 2023.
Comment 12 Iyán M. V. 2025-05-20 21:41:36 UTC
This issue was fixed for me, I think, in Plasma 6.3.4 or 6.3.5. And it continues working just fine in Plasma 6.4 Beta.
Comment 13 TraceyC 2025-05-20 23:23:34 UTC
(In reply to abulhair.saparov from comment #9)
> 
> Yes. Still happening for me.
> 
> I have plasma 6.3.4, frameworks 6.13.0, qt 6.8.3, kernel 6.14.4

I have Frameworks 6.15.0, and re-tested on git-master that might be the difference. Can you update frameworks and let us know if the bug persists on your ASUS ROG?
Comment 14 abulhair.saparov 2025-05-25 17:10:55 UTC
I did update to plasma 6.3.5 and frameworks 6.14.0 and found that the keyboard brightness controls do work after waking from sleep, but the brightness itself is set to 0 after waking.

I don't think frameworks 6.15.0 is available on Gentoo just yet, but I can test it once it does become available.
Comment 15 Nate Graham 2025-05-27 04:51:56 UTC
Ah, that's a different issue. Sounds like the original one has been fixed now!

If you'd like to report the new issue, please open a new bug report for it. Thanks a lot!