Bug 497768

Summary: Screen Reawakens Unexpectedly After Suspend Failure with Plasma 6 and Elogind
Product: [Plasma] plasmashell Reporter: Christophe PEREZ <chris>
Component: Power management & brightnessAssignee: Plasma Bugs List <plasma-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: minor CC: jpetso, nate
Priority: NOR    
Version First Reported In: 6.2.4   
Target Milestone: 1.0   
Platform: Gentoo Packages   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Christophe PEREZ 2024-12-21 22:52:29 UTC
I'll explain it very simply.

- enable power saving to go to sleep after 5 minutes
- enable power saving so that the screen turns off after 2 minutes
- put in /etc/elogind/system-sleep/000pre_suspend
	#!/bin/bash
	case $1/$2 in
		pre/*) exit 1 ;;
	esac

- wait 2 minutes, the screen turns off
- wait 3 minutes more, and the screen turns back on because of the suspend failure.

What makes the screen turn back on? How can I make it not happen?
Before using plasma 6, I didn't have this problem.
It's really very boring how it works.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma:  Gentoo OpenRC 0.55.1 elogind 252.9 plasma 6.2.4
KDE Frameworks Version: 6.7.0
Qt Version: 6.7.3
Comment 1 Nate Graham 2025-05-07 20:52:04 UTC

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