Bug 454762

Summary: Feature Request: Power Management Exceptions for Specific Applications
Product: [Applications] systemsettings Reporter: jfblagden
Component: kcm_powerdevilAssignee: Plasma Bugs List <plasma-bugs-null>
Status: RESOLVED DOWNSTREAM    
Severity: wishlist CC: kde, nate
Priority: NOR    
Version First Reported In: 5.24.5   
Target Milestone: ---   
Platform: Debian testing   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description jfblagden 2022-06-02 17:10:27 UTC
It would be really nice to be able to only have screens automatically switched off - as opposed to suspending the session - when running certain applications. In my case, this would be when I'm running a Handbrake encode for 4-6 hours unattended. At present, the user has to hop into Settings -> Power Management -> Energy Saving to be able to uncheck the Suspend Session box. It would b really nice to be able to get Handbrake going and walk away without having to go through the procedure I just mentioned. I'm not sure if it would be best to implement on a per-application basis or going by CPU usage, but this would be a very handy feature.
Comment 1 Nate Graham 2022-06-03 17:55:14 UTC
This is something that Handbrake should do itself. Many other apps already automatically inhibit suspend when they have ongoing tasks. I would recommend that you ask the Handbrake devs to do it as well.

If you need to do it manually, you can do it more easily by clicking on the "Battery & Brightness" applet in your system tray, and clicking on "Manually block sleep and screen locking".