Inhibit the lid switch action from systemd
To get a consistent suspend behaviour (i.e. suspend vs. suspend-then-hibernate) we want to take a similar code path in all cases. However, right now the lid is handled by systemd rather than by gnome-settings-daemon, with gnome-settings-daemon only preventing lid action when we have an external monitor attached.
We should change this to handle the lid action in gsd-power and always inhibiting the lid action from systemd (when the session is active).