Same here since 15.04 on lenovo l540 (intel graphics). Changing the /etc/system.d/logind.conf default like suggested in comment 12 workarounded the problem for me. (For details and discussion see this SO thread: http://askubuntu.com/a/715052/18422 )
We should focus on making this configurable, but this concerns another package. Anyone got an idea which? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1439440 Title: Laptop does not go to sleep when closing lid with external monitor connected To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/xorg/+bug/1439440/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs