[Bug 1829399] Re: Lid switch triggered suspend takes much longer than UI triggered suspend

Darko Veberic 1829399 at bugs.launchpad.net
Thu Jun 11 07:57:59 UTC 2020


similar thing happens with my lenovo thinkpad x1 carbon gen5. the time
it takes for suspend is excrutiationgly long. it used to be a couple of
seconds, at most, now the wait for the red led on top of "i" in ThinkPad
logo seems to be taking for ages to start blinking. the output of the
loop (suggested by @arighi above)

while true ; do echo $(date) $(cat /proc/acpi/button/lid/LID/state) ;
done

gives the following:

Thu 11 Jun 2020 09:36:44 AM CEST state: open
Thu 11 Jun 2020 09:36:45 AM CEST state: open
Thu 11 Jun 2020 09:36:46 AM CEST state: open <-- close lid
Thu 11 Jun 2020 09:36:47 AM CEST state: open
Thu 11 Jun 2020 09:36:48 AM CEST state: open
Thu 11 Jun 2020 09:36:49 AM CEST state: closed
Thu 11 Jun 2020 09:36:50 AM CEST state: closed
Thu 11 Jun 2020 09:36:51 AM CEST state: closed
Thu 11 Jun 2020 09:36:52 AM CEST state: closed
Thu 11 Jun 2020 09:36:53 AM CEST state: closed
Thu 11 Jun 2020 09:36:54 AM CEST state: closed
Thu 11 Jun 2020 09:36:55 AM CEST state: closed
Thu 11 Jun 2020 09:36:56 AM CEST state: closed
Thu 11 Jun 2020 09:36:57 AM CEST state: closed
Thu 11 Jun 2020 09:36:58 AM CEST state: closed
Thu 11 Jun 2020 09:36:59 AM CEST state: closed
Thu 11 Jun 2020 09:37:00 AM CEST state: closed
Thu 11 Jun 2020 09:37:01 AM CEST state: closed
Thu 11 Jun 2020 09:37:02 AM CEST state: closed
Thu 11 Jun 2020 09:37:03 AM CEST state: closed
Thu 11 Jun 2020 09:37:04 AM CEST state: closed
Thu 11 Jun 2020 09:37:05 AM CEST state: closed
Thu 11 Jun 2020 09:37:06 AM CEST state: closed
Thu 11 Jun 2020 09:37:07 AM CEST state: closed
Thu 11 Jun 2020 09:37:08 AM CEST state: closed
Thu 11 Jun 2020 09:37:09 AM CEST state: closed
Thu 11 Jun 2020 09:37:10 AM CEST state: closed
Thu 11 Jun 2020 09:37:11 AM CEST state: closed
Thu 11 Jun 2020 09:37:12 AM CEST state: closed
Thu 11 Jun 2020 09:37:13 AM CEST state: closed
Thu 11 Jun 2020 09:37:14 AM CEST state: closed
Thu 11 Jun 2020 09:37:15 AM CEST state: closed
Thu 11 Jun 2020 09:37:16 AM CEST state: closed
Thu 11 Jun 2020 09:37:17 AM CEST state: closed
Thu 11 Jun 2020 09:37:18 AM CEST state: closed
                      19                       <-- power led starts blinking
                      20
                      21
                      22
                      23
                      24
                      25
                      26
                      27
                      28                     <-- open lid
                      29                     
Thu 11 Jun 2020 09:37:30 AM CEST state: open
Thu 11 Jun 2020 09:37:31 AM CEST state: open
Thu 11 Jun 2020 09:37:35 AM CEST state: open <-- ctrl-c while-loop

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to systemd in Ubuntu.
https://bugs.launchpad.net/bugs/1829399

Title:
  Lid switch triggered suspend takes much longer than UI triggered
  suspend

Status in linux package in Ubuntu:
  Invalid
Status in systemd package in Ubuntu:
  Confirmed

Bug description:
  IBM T460
  5.0.0-13-generic #14-Ubuntu SMP Mon Apr 15 14:59:14 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux

  
  When triggering a suspend even from the lid switch of my Lenovo T460 it takes 30 seconds to reach suspend state. Several others with different models of Lenovo laptops have also reproduced this issue. 

  It seems this is isolated to the lid switch as UI triggered suspend
  (alt+power icon) is far faster.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1829399/+subscriptions



More information about the foundations-bugs mailing list