Re: Sleeping

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 18 Feb 2025 at 13:06, Patrick Dupre via users wrote:
To:              fedora <users@xxxxxxxxxxxxxxxxxxxxxxx>
Subject:         Sleeping
Date sent:       Tue, 18 Feb 2025 13:06:40 +0100
Send reply to:   Community support for Fedora users <users@xxxxxxxxxxxxxxxxxxxxxxx>
From:            Patrick Dupre via users <users@xxxxxxxxxxxxxxxxxxxxxxx>
Copies to:       Patrick Dupre <pdupre@xxxxxxx>
> 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: pdupre@xxxxxxx
> ===========================================================================
>
> --
> _______________________________________________
> users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
> To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
> 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@xxxxxxxxxxxxxxxxxxxxxxx
> Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue
+------------------------------------------------------------+
 Michael D. Setzer II - Computer Science Instructor (Retired)    
 mailto:mikes@xxxxxxxx                           
 mailto:msetzerii@xxxxxxxxx
 mailto:msetzerii@xxxxxxx
 Guam - Where America's Day Begins                       
 G4L Disk Imaging Project maintainer
 http://sourceforge.net/projects/g4l/
+------------------------------------------------------------+
-- 
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
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@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux