Thank for the feedback.
After 15 I also got 19hpurs of an application running, I also got The system will suspend now!
I guess that is the same issue This never happened before.
=========================================================================== Patrick DUPRÉ | | email: pdupre@gmx.com ===========================================================================
Sent: Tuesday, February 18, 2025 at 3:36 PM From: "Jeffrey Walton" noloader@gmail.com To: "Community support for Fedora users" users@lists.fedoraproject.org Cc: "Patrick Dupre" pdupre@gmx.com Subject: Re: Sleeping
On Tue, Feb 18, 2025 at 7:07 AM Patrick Dupre via users users@lists.fedoraproject.org wrote:
Hello,
Does something change since the last update of fedora 40?
I have a laptop running applications from itself or/and from ssh.
Now it falls to sleep after a few minutes despite that I have
org.gnome.settings-daemon.plugins.power sleep-inactive-ac-timeout 0 org.gnome.settings-daemon.plugins.power sleep-inactive-ac-type 'suspend' org.gnome.settings-daemon.plugins.power sleep-inactive-battery-timeout 900 org.gnome.settings-daemon.plugins.power sleep-inactive-battery-type 'suspend'
Screen blank is set a 5 mn.
Do you have an explanaton?
As Michael said, a change to power management was made at Fedora 40. See https://pagure.io/fedora-workstation/issue/360.
Michael also provided changes for systemd-sleep.conf(5). I prefer to mask the services:
sudo systemctl mask sleep.target suspend.target hibernate.targethybrid-sleep.target
You can also change the default target to multi-user, and that disables sleep and hibernation. But it is a server setting, and the target disables the desktop stuff:
systemctl set-default multi-user.targetJeff