I verified using dbus-monitor that the indicator/gnome-session calls systemd-shim for poweroff:
method call sender=:1.2 -> dest=org.freedesktop.systemd1 serial=160 path=/org/freedesktop/systemd1; interface=org.freedesktop.systemd1.Manager; member=StartUnit string "poweroff.target" string "replace-irreversibly" So it looks like the current magic for preventing suspend during shutdown is not working due to something subtle. I'll do more in-depth debugging with verbose logs for everything. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1211514 Title: Shutdowns fail to finish if laptop lid is closed before completely shutdown To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/systemd-shim/+bug/1211514/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs