action (i.e. supsend or not) on lid closed with power states
There doesn't seem to be any way to tell GNOME what you want it to do when the lid is closed combined with various power states.
For example, on a laptop, if the power is connected I don't want to suspend/hibernate when the lid is closed, but when on battery I do. There are perhaps also permutations regarding docked/undocked but an initial/minimalist implementation could make docked == with power.