Screen not turning off in KDE plasma

Hello everyone, i have run into a weird problem which seems to prevent my screen from turning off when i am away, i have set it to 45 minutes in the power settings plus i have ticked the option to allow screen turning off in activity menu (which is kind of strange)


is this some bug, or have i misconfigured something?

bump, is there something wrong in the post that i made, should i edit something? Thanks.

My KDE Power Mangement settings:

That is for a desktop and that works fine for me.

1 Like

Yep, mine is the same only i have 45 mins on screen off time, i am suspecting that in the KDE settings > Activities something i got messed up, can you show me how does you power management looks like (the one in the taskbar that i have pasted screenshot of).
Thanks.

I do not think I have that or I do not know how to find that.

1 Like

Have you tried testing as a different newly created user. That would allow you to test a clean-slate setup and rule in/out any wider system, driver, monitor-setting, or cable cause.

On my desktop, I don’t see anything in the tray related to power management. I have to go to system-settings and use Power Management there.

On desktop computers you have to activate the “item” in the systray’s settings.

1 Like

Go into KDE System settings > Power Management

At the top of the Window you’ll see Advanced Power Management.
Click that, then click defaults at the bottom of that page.

Go back to the main Power Management page and click defaults there. Click Apply before exiting System Settings.

Also, in Activity Manager there is a wrench at the top.
Check to see if Automatically Turning Off The Screen is checked on each activity.

For those who can’t find power management in the tray, click on the up arrow near the clock. You may have to right click on that arrow and go to tray settings to make Power Management always visible.

That’s where you can manually block sleep etc. Also when you use manually block, it’ll create a second icon that’s always visible in the tray that you click to unblock.

To the original poster, make sure to remove all of those manual blocks by clicking on Unblock.

You can start the KDE Power Management settings using:

kcmshell6 kcm_powerdevilprofilesconfig

For me it prints out three lines “kf.kirigami.layouts: FormData.buddyFor must be a direct child of the attachee.” but works fine, any other errors printed for you? For how it looks see above.

Also this command triggers for me a screen being turned off (wakes up after hitting the keyboard)

sleep 0.1 && qdbus6 org.kde.kglobalaccel /component/org_kde_powerdevil invokeShortcut "Turn Off Screen"