GNOME Bugzilla – Bug 527346
Only suspend laptop when no external monitor is attached
Last modified: 2011-02-11 13:38:04 UTC
I frequently use my laptop connected to a keyboard and external monitor. In this situation, I close my laptop, but if I have the suspend on laptop close enabled in g-p-m the computer will suspend. It would be great if it would only suspend when I don't have an external monitor attached. Thanks!
Sure, but some laptops melt (e.g. macbook pro) if they do not suspend when the lid is shut. Richard.
I don't think that is too relevant to this feature request as the current behavior allows for this, as users can manually turn off suspend on lid close. In Debian, I think it defaults to not suspend on lid close when plugged in to AC. Couldn't G-P-M check for vulnerable laptops and warn about this possibility?
Thanks for taking the time to report this bug. However, you are using a version that is too old and not supported anymore. GNOME developers are no longer working on that version, so unfortunately there will not be any bug fixes for the version that you use. By upgrading to a newer version of GNOME you could receive bug fixes and new functionality. You may need to upgrade your Linux distribution to obtain a newer version of GNOME. Please feel free to reopen this bug if the problem still occurs with a newer version of GNOME.
Hi Richard. I don't get why you're closing this bug. Is it fixed in 2.25.x ? I have gnome-power-manager 2.24.2 and the bug report is still valid with this version.
This bug is not fixed in 2.32.0. Keeping external display (and machine itself) running while laptop's lid is closed is quite essential feature; as nowadays it's common to replace the desktop with laptop and external display + control devices.
Fixed in GNOME 3: commit dde6e07b905cec0391eaaf770c58beeff86e4a9a Author: Richard Hughes <richard@hughsie.com> Date: Fri Jan 7 12:08:16 2011 +0000 Ignore suspend on lid closed if we are docked :100644 100644 afa7305... 87da12c... M src/gpm-manager.c commit 5036023bdff8201dd1fb92c7cedef5da407c9a60 Author: Richard Hughes <richard@hughsie.com> Date: Wed Feb 2 13:56:46 2011 +0000 Force suspend on lid close if LidForceSleep is set to avoid a melted laptop :100644 100644 812bbb1... 54e3d1e... M src/gpm-manager.c You need a new upower to get this functionality. Docked is defined as having more than one active display device attached.