On 18 Feb 2025 at 13:06, Patrick Dupre via users wrote: To: fedora <users@lists.fedoraproject.org> Subject: Sleeping Date sent: Tue, 18 Feb 2025 13:06:40 +0100 Send reply to: Community support for Fedora users <users@lists.fedoraproject.org> From: Patrick Dupre via users <users@lists.fedoraproject.org> Copies to: Patrick Dupre <pdu...@gmx.com>
> 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 I recall a change was made at request of Lenova to change the sleep setting to get a better power rating of something. So, it has system go to sleep!!! Don't know why they changed it for everyone?? So, check the contents of /etc/systemd/sleep.conf This is the contents of my sleep.conf and bold lines are the ones added to stop sleep. Had 5 systems that ran BOINC and VNC, and kept going to sleep after upgrade some time ago. # This file is part of systemd. # # systemd is free software; you can redistribute it and/or modify it under the # terms of the GNU Lesser General Public License as published by the Free # Software Foundation; either version 2.1 of the License, or (at your option) # any later version. # # Entries in this file show the compile time defaults. Local configuration # should be created by either modifying this file, or by creating "drop-ins" in # the sleep.conf.d/ subdirectory. The latter is generally recommended. # Defaults can be restored by simply deleting this file and all drop-ins. # # See systemd-sleep.conf(5) for details. [Sleep] AllowSuspend=no AllowHibernation=no AllowSuspendThenHibernate=no AllowHybridSleep=no #SuspendMode= #SuspendState=mem standby freeze #HibernateMode=platform shutdown #HibernateState=disk #HybridSleepMode=suspend platform shutdown #HybridSleepState=disk #HibernateDelaySec= #SuspendEstimationSec=60min > Thanks. > > =========================================================================== > Patrick DUPRÉ | | email: pdu...@gmx.com > =========================================================================== > > -- > _______________________________________________ > users mailing list -- users@lists.fedoraproject.org > To unsubscribe send an email to users-le...@lists.fedoraproject.org > Fedora Code of Conduct: > https://docs.fedoraproject.org/en-US/project/code-of-conduct/ > List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines > List Archives: > https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org > Do not reply to spam, report it: > https://pagure.io/fedora-infrastructure/new_issue +------------------------------------------------------------+ Michael D. Setzer II - Computer Science Instructor (Retired) mailto:mi...@guam.net mailto:msetze...@gmail.com mailto:msetze...@gmx.com Guam - Where America's Day Begins G4L Disk Imaging Project maintainer http://sourceforge.net/projects/g4l/ +------------------------------------------------------------+
-- _______________________________________________ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-le...@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue