Bug 512022

Summary: Option Standby when closing the Lid dose not work on Thinkpad l390
Product: [Plasma] plasmashell Reporter: Arthur <a.erlich>
Component: Power management & brightnessAssignee: Plasma Bugs List <plasma-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: normal CC: kdedev, nate
Priority: NOR Keywords: efficiency-and-performance, regression
Version First Reported In: 6.5.2   
Target Milestone: 1.0   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: output from "sudo journalctl --since "2min ago" > ~/log.txt"

Description Arthur 2025-11-13 06:50:48 UTC
***
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
After Update to  Plasma 6.5 the Stendby did no work, even if you use the standby button. This is was fixed for me on the version 6.5.1. Right now my problem is that the option standby on closed lid dose not work. 

Plasma locks the user out and the screen is of, but the device is still running normaly

STEPS TO REPRODUCE
1. Have standby on closed lid before the update
2. Update from Plasma 6.4 to 6.5.2
3. Test with a laptop and see if closing the lid and executing standby works

OBSERVED RESULT
Device is still running but the user is locked like expected.

EXPECTED RESULT
Standby on closed lid

SOFTWARE/OS VERSIONS
Windows: /
macOS: /
(available in the Info Center app, or by running `kinfo` in a terminal window)
Linux/KDE Plasma: 6.17.7-arch1-1 (64-bit)
KDE Plasma Version: 6.5.2
KDE Frameworks Version: 6.19.0
Qt Version: 6.10.0

ADDITIONAL INFORMATION
If you need logs, please guide me to the correct one and i will provide the log.
I am an intermediate user and a software developer, i can code or script if i need to.
Comment 1 TraceyC 2025-11-13 22:15:20 UTC
I'm not able to reproduce this on a laptop running Plasma built from git-master. The system goes to sleep both with the power button (configured to trigger sleep) and by closing the lid.

Can you gather some system logs and attach them as a text file to this report? 
First, trigger the bug and log back in. Then, run this in a terminal:

sudo journalctl  --since "2min ago" > ~/log.txt

And attach ~/log.txt to this report.
Also, what is the output of

cat /proc/acpi/wakeup | grep enabled

Thanks.
Comment 2 Arthur 2025-11-14 22:00:23 UTC
Created attachment 186796 [details]
output from "sudo journalctl  --since "2min ago" > ~/log.txt"

Waking the device up from sleep, closing the lid and open it again shortly after.
Screen was off, so i closed the lid again and waited some seconds, opened the lid up ageing and the login prompt is shown.

Wakeup output is:

GLAN	 S4	*enabled   pci:0000:00:1f.6
XHC	 S3	*enabled   pci:0000:00:14.0
RP09	 S4	*enabled   pci:0000:00:1d.0
RP13	 S4	*enabled   pci:0000:00:1d.4
SLPB	 S3	*enabled   platform:PNP0C0E:00
LID	 S4	*enabled   platform:PNP0C0D:00


Is there something i can have a look my self?
For me it looks the event for the lid event is regeisterd and sleep/supsend is engeage but somhow it wakes up again?
I do not like the "Stopped target Sleep." 
And then the NetworkManager dose some stuff while the lid is closed...
Comment 3 TraceyC 2025-11-18 21:40:50 UTC
Thanks for the logs. Those more familiar with this will have to take a look from here.
Comment 4 Nate Graham 2025-12-08 21:50:06 UTC

*** This bug has been marked as a duplicate of bug 510992 ***