Ahah, I think we've found the underlying problem thanks to your help, then. :)
I'm not quite sure why g-p-m only performs its lid-close operation when you plug/unplug, though. Can you perform the steps at <https://wiki.ubuntu.com/DebuggingGNOMEPowerManager#Getting%20info%20from%20g-p-m> and attach the log here?
Ahah, I think we've found the underlying problem thanks to your help, then. :)
I'm not quite sure why g-p-m only performs its lid-close operation when you plug/unplug, though. Can you perform the steps at <https:/ /wiki.ubuntu. com/DebuggingGN OMEPowerManager #Getting% 20info% 20from% 20g-p-m> and attach the log here?