← Back to team overview

kernel-packages team mailing list archive

[Bug 1451482] Re: Laptop fails to suspend when lid already closed and AC removed

 

Did this issue start happening after an update/upgrade?  Was there a
prior kernel version where you were not having this particular problem?

Would it be possible for you to test the latest upstream kernel? Refer
to https://wiki.ubuntu.com/KernelMainlineBuilds . Please test the latest
v4.0 kernel[0].

If this bug is fixed in the mainline kernel, please add the following
tag 'kernel-fixed-upstream'.

If the mainline kernel does not fix this bug, please add the tag:
'kernel-bug-exists-upstream'.

If you are unable to test the mainline kernel, for example it will not boot, please add the tag: 'kernel-unable-to-test-upstream'.
Once testing of the upstream kernel is complete, please mark this bug as "Confirmed".


Thanks in advance.

[0] http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.1-rc2-vivid/

** Changed in: linux (Ubuntu)
   Importance: Undecided => Medium

-- 
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