I'm using 18.04 on Lenovo T480. Suspending on lid close is not possible with external monitor attached.
Even if everything is set properly:
$ gsettings get org.gnome.settings-daemon.plugins.power lid-close-suspend-with-external-monitor
true
$ dconf read /org/gnome/settings-daemon/plugins/power/lid-close-suspend-with-external-monitor
true
gsp-power is still blocking system suspend:
$ systemd-inhibit --list --mode=block
Who: kpucynski (UID 1000/kpucynski, PID 1956/gsd-power)
What: handle-lid-switch
Why: Multiple displays attached
Mode: block
I'm using 18.04 on Lenovo T480. Suspending on lid close is not possible with external monitor attached. settings- daemon. plugins. power lid-close- suspend- with-external- monitor settings- daemon/ plugins/ power/lid- close-suspend- with-external- monitor
Even if everything is set properly:
$ gsettings get org.gnome.
true
$ dconf read /org/gnome/
true
gsp-power is still blocking system suspend:
$ systemd-inhibit --list --mode=block
Who: kpucynski (UID 1000/kpucynski, PID 1956/gsd-power)
What: handle-lid-switch
Why: Multiple displays attached
Mode: block