kernel-packages team mailing list archive
-
kernel-packages team
-
Mailing list archive
-
Message #119278
[Bug 1451482] Re: Laptop fails to suspend when lid already closed and AC removed
*** This bug is a duplicate of bug 1456745 ***
https://bugs.launchpad.net/bugs/1456745
** This bug has been marked a duplicate of bug 1456745
[Vivid] laptop do not suspend if lid is closed before the AC is unplugged
--
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1451482
Title:
Laptop fails to suspend when lid already closed and AC removed
Status in linux package in Ubuntu:
Incomplete
Bug description:
Hi,
I have configured my power-setting in the control panel as followed:
- on AC, when lid is closed : do nothing
- on Battery, when lid is closed : suspend
Now this works only if I close the lid when the AC has already been
unplugged. If I close the lid first and unplug the laptop afterwards,
the laptop does not go to suspend. This is a regression w.r.t.
previous versions of ubuntu (until 14.10 included). This led me to put
my still powered laptop in my bag (which in turn triggered the
hardware failsafe when it overheated…).
From my understanding, this is a consequence of moving to systemd since systemd now handles the lid open/close event but do not handle AC plug/unplug.
A workaround is to install add the appropriate script in acpid's config file to detect that the AC has been unplugged, check the screen status [possibly find the current user of the laptop, check his power preferences] and suspend the laptop. The part in [ ... ] might be a bit tricky though.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1451482/+subscriptions
References