You are not logged in.

#1 2023-03-10 10:09:31

Subbeh
Member
Registered: 2020-07-25
Posts: 16

Suspend issues

Whenever I close my laptop lid while being docked, nothing happens even though the system is configured to suspend.

I enabled debugging for systemd and have the following log messages:

Lid closed.
External (2) displays connected.
Handling of handle-lid-switch (edge) is disabled, taking no action.
External (2) displays connected.
Handling of handle-lid-switch (level) is disabled, taking no action.

The file /etc/systemd/logind.conf has the following lines uncommented:

[Login]
HandleLidSwitch=suspend
HandleLidSwitchExternalPower=suspend
HandleLidSwitchDocked=suspend

I restarted the systemd-logind service and rebooted.

systemd-inhibit returns the following:

$ systemd-inhibit --list
WHO            UID USER PID  COMM           WHAT  WHY                                       MODE
NetworkManager 0   root 3681 NetworkManager sleep NetworkManager needs to turn off networks delay

1 inhibitors listed.

My external screens seem to be causing this based on the logs, but I can't seem to find where this option is supposedly defined. Any tips would be highly appreciated..

Offline

Board footer

Powered by FluxBB