Laptop turns off while it shouldn't
| Affects | Status | Importance | Assigned to | Milestone | |
|---|---|---|---|---|---|
| | Ubuntu GNOME |
Undecided
|
Unassigned | ||
Bug Description
[SUMMARY]
I've configured power management so that when the laptop is connected to a power source and the lid is closed it SHOULDN'T suspend, yet it does.
This is a very old and very annoying bug present in earlier versions.
[IMPACT]
Imagine you are working in an environment where you are regularly down-/uploading bigger files. You would need to leave the computer running over night for this purpose but cannot with the lid closed.
[REPRODUCTION]
Open Gnome Tweak Tool > Power settings > set to do nothing after lid is closed when connected to AC > close lid > watch it suspend while it shouldn't
ProblemType: Bug
DistroRelease: Ubuntu 15.04
Package: gnome-power-manager 3.14.1-1ubuntu1
ProcVersionSign
Uname: Linux 3.19.0-28-generic x86_64
ApportVersion: 2.17.2-0ubuntu1.5
Architecture: amd64
CurrentDesktop: GNOME
Date: Sat Sep 26 03:06:12 2015
InstallationDate: Installed on 2015-09-19 (6 days ago)
InstallationMedia: Ubuntu-GNOME 15.04 "Vivid Vervet" - Release amd64 (20150422)
SourcePackage: gnome-power-manager
UpgradeStatus: No upgrade log present (probably fresh install)
| Inoki (inoki) wrote : | #1 |
| affects: | gnome-power-manager (Ubuntu) → ubuntu-gnome |
| Inoki (inoki) wrote : | #3 |
Hi Bruce,
I've checked and settings are set to off - not to suspend at all.
| Changed in ubuntu-gnome: | |
| status: | Incomplete → New |
| Bruce Pieterse (octoquad) wrote : | #4 |
I've just tested this with 15.04 with main + staging PPA. System does not suspend if "When plugged in" is set to "Nothing" with or without an external monitor connected (SVGA).
gnome-power-
Installed: (none)
Candidate: 3.14.1-1ubuntu1
Version table:
3.
500 http://
3.
500 http://
But then again, I don't have gnome-power-manager installed. Perhaps it's related to that package? Could you test without that package installed and let me know if it works?
| Inoki (inoki) wrote : | #5 |
I've tried your workaround Bruce and it seems to be working. I've removed the mentioned package and rebooted, closed the lid twice while on AC and it didn't shut down.
I'm wondering why do we need the package if it perhaps causes trouble? And btw, I did not know it could be related, I only assumed by the name.
I also have to add, that I'm not using any additional PPAs for Gnome3.
| Bruce Pieterse (octoquad) wrote : | #6 |
Thanks for confirming Patrik. I'll install the package tomorrow and test. If get the same thing as you I will confirm the bug report.


Hi Patrik,
Thanks for filing the bug report. Can you try setting your suspend options under Settings > Power and let me know if that works? I don't have my laptop at the moment to reproduce, but will try this tomorrow as well.