On 6 May 2026 at 19:44, Robert Moskowitz via users wrote:

Date sent:              Wed, 6 May 2026 19:44:57 -0400
To:                     Community support for Fedora users
<[email protected]>
Subject:                Not suspending on laptop close
Send reply to:          Community support for Fedora users
<[email protected]>
From:                   Robert Moskowitz via users
<[email protected]>
Copies to:              Robert Moskowitz <[email protected]>

> I set Power Manager to Suspend on both battery and plugged in when I
> close the laptop.
>
> It is not suspending.  Even if I disconnect the USB for the KVM, though
> I did keep the HDMI plugged in.
>
> It did suspend via the option under the user name on the system line.
>
> ?  Where to look for this control?
>

I do the opposite. I don't want my machines to sleep or hibernat
>From /
# find . | grep sleep.conf$
./usr/lib/systemd/sleep.conf
./etc/systemd/sleep.conf

One shows defaults, and other is the real one.
Don't recall which is which.

Bold lines are the changes I make to turn off.
Note it is showing 60 minutes, so you might be checking before it
kicks in. I have machines running things link http, ftp, vnc and
others so having machines go to sleep is bad. Some machines are
18 timezones away, so had to be people to manually wake them up.
Now everything is OK. Updated a local machine here, and it went
to sleep? The upgrade from 43 set the sleep.conf in both places to
original, so on that machine I switched both to my settings.

Hope that helps.

# cat  /usr/lib/systemd/sleep.conf;cat  /etc/systemd/sleep.conf
#  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 a copy of it placed in
# /etc/ if the original file is shipped in /usr/), or by creating "drop-ins" in
# the /etc/systemd/sleep.conf.d/ directory. The latter is generally
# recommended. Defaults can be restored by simply deleting the main
# configuration file and all drop-ins located in /etc/.
#
# Use 'systemd-analyze cat-config systemd/sleep.conf' to display the full 
config.
#
# See systemd-sleep.conf(5) for details.

[Sleep]
#AllowSuspend=yes
#AllowHibernation=yes
#AllowSuspendThenHibernate=yes
#AllowHybridSleep=yes
#SuspendState=mem standby freeze
#HibernateMode=platform shutdown
#MemorySleepMode=
#HibernateDelaySec=
#HibernateOnACPower=yes
#SuspendEstimationSec=60min
#  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

>
> --
> _______________________________________________
> users mailing list -- [email protected]
> To unsubscribe send an email to [email protected]
> 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/[email protected]
> Do not reply to spam, report it: 
> https://forge.fedoraproject.org/infra/tickets/issues/new



+------------------------------------------------------------+
 Michael D. Setzer II - Computer Science Instructor (Retired)
 mailto:[email protected]
 mailto:[email protected]
 mailto:[email protected]
 Guam - Where America's Day Begins
 G4L Disk Imaging Project maintainer
 https://sourceforge.net/projects/g4l/
+------------------------------------------------------------+


-- 
_______________________________________________
users mailing list -- [email protected]
To unsubscribe send an email to [email protected]
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/[email protected]
Do not reply to spam, report it: 
https://forge.fedoraproject.org/infra/tickets/issues/new

Reply via email to