Public bug reported:

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.

** Affects: linux (Ubuntu)
     Importance: Undecided
         Status: Incomplete

** Attachment added: "version"
   
https://bugs.launchpad.net/bugs/1451482/+attachment/4390747/+files/version.log

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

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to     : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to