This is in someway near to mcz's solution. I wonder if you still get the lid down event with your config?
-- Computer suspends immediately after resuming if power is unplugged while suspended https://bugs.launchpad.net/bugs/425411 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs