[systemd-devel] systemd suspending docked laptop?

Lennart Poettering lennart at poettering.net
Wed Oct 17 10:04:59 UTC 2018


On Mi, 17.10.18 09:04, Jan Bakuwel (jan.bakuwel at gmail.com) wrote:

> Either NetworkManager or systemd is suspending the system after it is
> powered up when the laptop is docked with the lid closed. This does not
> happen when the laptop is used without the docking station (and lid
> open).

Use "systemctl edit systemd-logind", then enter this into the editor
that opens:

<snip>
[Service]
Environment=SYSTEMD_LOG_LEVEL=debug
</snipe>

Then issue "systemctl restart systemd-logind".

This will turn on debug logging for logind, that should tell you
exactly what it is doing any why.

Lennart

-- 
Lennart Poettering, Red Hat


More information about the systemd-devel mailing list