Bug 499957

Summary: When laptop is configured to "lock screen" when lid is closed, the screen remains on, wasting power
Product: [Plasma] plasmashell Reporter: Sayantan Santra <sayantan.santra689>
Component: Power management & brightnessAssignee: Plasma Bugs List <plasma-bugs-null>
Status: CONFIRMED ---    
Severity: normal CC: ahiemstra, eamonnrea, fabian, jpetso, nate
Priority: NOR Keywords: regression
Version First Reported In: 6.3.0   
Target Milestone: 1.0   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: script to temp fix the issue

Description Sayantan Santra 2025-02-13 06:04:14 UTC
Created attachment 178248 [details]
script to temp fix the issue

***
If you're not sure this is actually a bug, instead post about it at https://discuss.kde.org

If you're reporting a crash, attach a backtrace with debug symbols; see https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports

Please remove this comment after reading and before submitting - thanks!
***

SUMMARY
My laptop's screen does not turn off when the lid is closed. I've set it up to lock screen when lid is closed via the Power Management config. It used to also turn off the screen before the 6.3.0 update, but it not longer works now. Additionally, when I'm connected to an external monitor via a dock, the screen switches to laptop screen when the lid is closed. It returns to the external screen when lid is opened again.

STEPS TO REPRODUCE
1. Close lid of laptop.
2. Can see some light leaking if I squint.
3. Opening lid confirms that the screen was always on.

OBSERVED RESULT
Screen stays on when lid is closed.

EXPECTED RESULT
Screen should turn off.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: 
KDE Plasma Version: 6.3.0
KDE Frameworks Version: 6.10.0
Qt Version: 6.8.2

ADDITIONAL INFORMATION
My laptop is an AMD Framework 13, and I'm connecting to an LG monitor via an UGREEN dock. I can fix it by using the attached acpi script, but I think it should just work by itself.
Comment 1 Arjen Hiemstra 2025-02-17 14:36:05 UTC
I can confirm this behaviour. I also don't see a reason to keep the monitor enabled when the lid is closed.
Comment 2 Nate Graham 2025-02-18 22:13:50 UTC
Can also confirm.
Comment 4 Fabian Vogt 2025-02-19 16:06:56 UTC
I can confirm this, but without suspend, locking the screen or anything. I boot the laptop docked, log in and the brightness is at 255.
As the screen is disabled in the KCMs, I do not have any user visible controls to change this either.
Comment 5 Eamonn Rea 2025-04-12 18:32:04 UTC
I am also experiencing this bug.