systemd-logind said it is suspending.

man logind.conf

cat /lib/systemd/logind.conf

copy logind.conf to /etc/syspend

uncomment:
#HandleLidSwitch=suspend
#HandleLidSwitchExternalPower=suspend
#HandleLidSwitchDocked=ignore
#LidSwitchIgnoreInhibited=yes


And change suspend to ignore.    I am not sure if "systemctl
daemon-reload" will make the setting update.

I have had to change this for a while (maybe 12-18 months) so I am not
sure how yours just started suspending on you now, unless in the older
kernel suspend simply did not work for your laptop.

On Fri, Jul 24, 2026 at 2:12 AM Samuel Sieb <[email protected]> wrote:
>
> On 7/24/26 12:03 AM, Dave Close wrote:
> > I wrote:
> >> One of my laptops, running FC44 x86_64 and fully up-to-date, suddenly
> >> has started to drop its network connections when the lid is closed. The
> >> DE is KDE and the system power settings are explicitly set to "do
> >> nothing" when the lid is closed. Both wired and wifi connections drop.
> >
> > Samuel Sieb asked:
> >> Is it going to sleep?  What's in the journal?
> >
> > I've never bothered to learn the journal, having found text logs to be
> > adequate for what I've needed. But yes, the logs seem to say the machine
> > is going to sleep ...
> >
> > systemd-logind[806]: Suspending...
> > ModemManager[884]: <msg> [sleep-monitor-systemd] system is about to suspend
> > ModemManager[884]: <msg> [sleep-monitor-systemd] ready to sleep; dropping 
> > inhibitor
> > NetworkManager[793]: <info>  [1784838545.8931] manager: sleep: sleep 
> > requested (sleeping: no
> > enabled: yes)
> > NetworkManager[793]: <info>  [1784838545.8933] device (wlan0): state 
> > change: disconnected ->
> > unmanaged (reason 'unmanaged-nm-disabled', managed-type: 'full')
> > NetworkManager[793]: <info>  [1784838545.9171] device (wlan0): set-hw-addr: 
> > reset MAC address to
> > 34:6F:24:42:FF:DB (unmanage)
> > NetworkManager[793]: <info>  [1784838546.3696] manager: NetworkManager 
> > state is now DISABLED
> > (ASLEEP)
> > NetworkManager[793]: <info>  [1784838546.3702] device (eth0): state change: 
> > activated ->
> > deactivating (reason 'sleeping', managed-type: 'full')
> > wpa_supplicant[1017]: wlan0: CTRL-EVENT-DSCP-POLICY clear_all
> > NetworkManager[793]: <info>  [1784838546.3762] device (eth0): state change: 
> > deactivating ->
> > disconnected (reason 'sleeping', managed-type: 'full')
> > avahi-daemon[787]: Withdrawing address record for fe80::404d:e708:d9d5:b5ef 
> > on eth0.
> > avahi-daemon[787]: Leaving mDNS multicast group on interface eth0.IPv6 with 
> > address
> > fe80::404d:e708:d9d5:b5ef.
> > avahi-daemon[787]: Interface eth0.IPv6 no longer relevant for mDNS.
> > ...
> >
> > This doesn't happen running 7.1.4-202. Other than rebooting, there were
> > no changes to the machine.
>
> What is before that?  There should be a reason or what triggered the sleep.
>
> --
> _______________________________________________
> 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
-- 
_______________________________________________
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