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
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.