Bug 489514 - The power management doesn't respect running processes
Summary: The power management doesn't respect running processes
Status: RESOLVED INTENTIONAL
Alias: None
Product: Powerdevil
Classification: Unmaintained
Component: general (other bugs)
Version First Reported In: 6.1.1
Platform: Fedora RPMs Linux
: NOR critical
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-06-30 19:24 UTC by quanticcpu2100
Modified: 2024-07-02 17:32 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description quanticcpu2100 2024-06-30 19:24:25 UTC
I configure the power settings to put the computer in sleep mode after 5min but when I have processes using the CPU like compiling a program or video the plasma power management simply doesn't respect running processes and put the computer in sleep mode. If there is running process with considerable cpu load the system can to enter in sleep mode.

"A shameful and age-old problem."

Operating System: Fedora Linux 40
KDE Plasma Version: 6.1.1
KDE Frameworks Version: 6.3.0
Qt Version: 6.7.1
Kernel Version: 6.9.6  (64-bit)
Graphics Platform: Wayland
Comment 1 Natalie Clarius 2024-07-02 17:32:24 UTC
Plasma's power management has no way of knowing which processes are important enough to block the computer from going to sleep. Silently disabling energy saving and screen locking for any process that exceeds some arbitrary CPU usage threshold would be a pretty bad thing, as it would drain the battery and give other people access to the computer without the user knowing. It is the responsibility of the individual applications to request power management inhibition where it makes sense, and Plasma's power management does support picking up on those requests. If your video playing program does not do this, please report it as a bug to that application.