[Bug 1825636] Re: Battery drain during sleep. System suspended before kernel suspends all tasks
[Expired for linux (Ubuntu) because there has been no activity for 60 days.] ** Changed in: linux (Ubuntu) Status: Incomplete => Expired -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1825636 Title: Battery drain during sleep. System suspended before kernel suspends all tasks To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1825636/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1825636] Re: Battery drain during sleep. System suspended before kernel suspends all tasks
I suggest that everybody with this problem files a report similar to this one. It's a bit of work, but probably the only way to give it some weight. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1825636 Title: Battery drain during sleep. System suspended before kernel suspends all tasks To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1825636/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1825636] Re: Battery drain during sleep. System suspended before kernel suspends all tasks
Hi, sorry for not replying. I don't own the L390 anymore. But I can confirm this happened with a vanilla installation and with TLP installed. There was no difference in the behaviour. I also believe this is not a problem only affecting the L390. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1825636 Title: Battery drain during sleep. System suspended before kernel suspends all tasks To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1825636/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1825636] Re: Battery drain during sleep. System suspended before kernel suspends all tasks
Can confirm that this bug is also affecting Dell Latitude 7490 with Ubuntu 18.04 LTS -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1825636 Title: Battery drain during sleep. System suspended before kernel suspends all tasks To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1825636/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1825636] Re: Battery drain during sleep. System suspended before kernel suspends all tasks
I bet 500 dollhairs they're being marked as duplicate in two seconds. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1825636 Title: Battery drain during sleep. System suspended before kernel suspends all tasks To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1825636/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1825636] Re: Battery drain during sleep. System suspended before kernel suspends all tasks
The same behavior usually has different root cause. So please file separate bug for each model. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1825636 Title: Battery drain during sleep. System suspended before kernel suspends all tasks To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1825636/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1825636] Re: Battery drain during sleep. System suspended before kernel suspends all tasks
Although this kind of bug /may/ seem device dependent, in this instance it's not. In this very bug report, the issue hass been confirmed by users of the following devices: - Thinkpad L390 (twice) - Thinkpad X201 - Asus Zenbook UX331UN - Lenovo X1 Extreme - Lenovo X1 Extreme Gen2 - Thinkapd X1 Carbon 2018 - Lenovo Thinkpad T460s - Lenovo ThinkPad T460P - Dell XPS 15 9560 - Toshiba R850 - HP EliteBook This bug is clearly not device dependent. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1825636 Title: Battery drain during sleep. System suspended before kernel suspends all tasks To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1825636/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1825636] Re: Battery drain during sleep. System suspended before kernel suspends all tasks
Because there's no response from the original bug reporter. This kind of bug is device dependent, please file separate bug if the hardware model is not " Thinkpad L390". -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1825636 Title: Battery drain during sleep. System suspended before kernel suspends all tasks To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1825636/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1825636] Re: Battery drain during sleep. System suspended before kernel suspends all tasks
Hey has the Status been changed from confirmed to incomplete? Ubuntu -devel is still affected. ** Also affects: linux-signed-hwe (Ubuntu) Importance: Undecided Status: New ** No longer affects: linux-signed-hwe (Ubuntu) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1825636 Title: Battery drain during sleep. System suspended before kernel suspends all tasks To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1825636/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1825636] Re: Battery drain during sleep. System suspended before kernel suspends all tasks
** Changed in: linux (Ubuntu) Status: Confirmed => Incomplete ** No longer affects: linux-signed-hwe (Ubuntu) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1825636 Title: Battery drain during sleep. System suspended before kernel suspends all tasks To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1825636/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1825636] Re: Battery drain during sleep. System suspended before kernel suspends all tasks
Reply to #22 (Timo Jyrinki): I don't see why `tlp` is being singled out (although I do have it installed since reporting the bug in Ask Ubuntu). I would think the fault is more with `systemd` or perhaps Linux Kernel not understanding how ACPI works properly. (Wild hunch). That said the results of my test you requested: $ cat /sys/power/mem_sleep s2idle [deep] I'm just hoping someone at Canonical or Linux Kernel Team has a laptop and can confirm if their logs match the rest of ours. If they do then dig deeper. If their logs are fine then question the users here on how their platforms are different. At least that's what I would do if I worked for Canonical or Linux Kernel Team and had access to a laptop. I've read before laptops are extremely rare in the Linux world. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1825636 Title: Battery drain during sleep. System suspended before kernel suspends all tasks To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1825636/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1825636] Re: Battery drain during sleep. System suspended before kernel suspends all tasks
I'm no kernel triager but I have a few observations that can help focusing the bug report: 1. Are people manually installing tlp and that causing problems, or do people experience this too with vanilla installation of Ubuntu? (tlp is not part of the default install, and not in the 'main' supported packages, but definitely power management is optimized as is, ie many of the settings tlp would set are the default anyway in Ubuntu) 2. It may be useful to rule out it's not case of bug 1808957, some people here might be here because of it, ie check cat /sys/power/mem_sleep and if it says s2idle, then you've an unfortunate configuration problem, you can add mem_sleep_default=deep to grub config. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1825636 Title: Battery drain during sleep. System suspended before kernel suspends all tasks To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1825636/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1825636] Re: Battery drain during sleep. System suspended before kernel suspends all tasks
** Also affects: linux (Ubuntu) Importance: Undecided Status: New ** Changed in: linux (Ubuntu) Status: New => Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1825636 Title: Battery drain during sleep. System suspended before kernel suspends all tasks To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1825636/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1825636] Re: Battery drain during sleep. System suspended before kernel suspends all tasks
simillar problem on HP EliteBook running Ubuntu 19.04 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1825636 Title: Battery drain during sleep. System suspended before kernel suspends all tasks To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux-signed-hwe/+bug/1825636/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1825636] Re: Battery drain during sleep. System suspended before kernel suspends all tasks
Same issue here: S3 enabled only after wake up. Thinkapd X1 Carbon 2018 with i7-8550U running Ubuntu 19.10 on 5.3.0-42-generic. TLP enabled with default settings. [...] Mar 25 22:15:30 x1cbn systemd[1]: Starting TLP suspend/resume... Mar 25 22:15:30 x1cbn systemd[1]: Started TLP suspend/resume. Mar 25 22:15:30 x1cbn systemd[1]: Reached target Sleep. Mar 25 22:15:30 x1cbn systemd[1]: Starting Suspend... Mar 25 22:15:30 x1cbn systemd-sleep[26401]: Suspending system... Mar 25 22:15:30 x1cbn kernel: [30261.531474] PM: suspend entry (deep) Mar 25 22:15:30 x1cbn kernel: [30261.541908] Filesystems sync: 0.010 seconds Mar 26 09:37:18 x1cbn kernel: [30261.543157] Freezing user space processes ... (elapsed 0.002 seconds) done. Mar 26 09:37:18 x1cbn kernel: [30261.546086] OOM killer disabled. Mar 26 09:37:18 x1cbn kernel: [30261.546086] Freezing remaining freezable tasks ... (elapsed 0.001 seconds) done. Mar 26 09:37:18 x1cbn kernel: [30261.547489] printk: Suspending console(s) (use no_console_suspend to debug) Mar 26 09:37:18 x1cbn kernel: [30261.567980] psmouse serio1: Failed to disable mouse on isa0060/serio1 Mar 26 09:37:18 x1cbn kernel: [30261.846404] ACPI: EC: interrupt blocked Mar 26 09:37:18 x1cbn kernel: [30261.904539] ACPI: Preparing to enter system sleep state S3 [...] -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1825636 Title: Battery drain during sleep. System suspended before kernel suspends all tasks To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux-signed-hwe/+bug/1825636/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1825636] Re: Battery drain during sleep. System suspended before kernel suspends all tasks
I have similar issue on Ubuntu 19.10 + Toshiba R850. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1825636 Title: Battery drain during sleep. System suspended before kernel suspends all tasks To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux-signed-hwe/+bug/1825636/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1825636] Re: Battery drain during sleep. System suspended before kernel suspends all tasks
I've got a similar issue too. Any workaround available ? ** Information type changed from Public to Public Security -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1825636 Title: Battery drain during sleep. System suspended before kernel suspends all tasks To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux-signed-hwe/+bug/1825636/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1825636] Re: Battery drain during sleep. System suspended before kernel suspends all tasks
Any update on this? I am using Ubuntu 19.10 on my XPS 15 9560 and I am facing this behavior, however, I am not using the signed kernel package, I believe it applies to the mainline as well. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1825636 Title: Battery drain during sleep. System suspended before kernel suspends all tasks To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux-signed-hwe/+bug/1825636/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1825636] Re: Battery drain during sleep. System suspended before kernel suspends all tasks
Same issue ThinkPad T460P with Nvidia GTX 940MX and Intel i7-6820HQ Linux Mint 19.2 Cinnamon (Ubuntu 18.04) with kernel HWE 5.0.0-37-generic Put in Sleep on Friday evening. On Sunday in the middle of the day it did go into emergency wakeup because the battery did go empty. On Monday morning I did boot it with my connected power supply and wondered why I have only 0% battery left. ** Attachment added: "journalctl_from-2019-12-06_18-10_to-2019-12-09_10-25.log" https://bugs.launchpad.net/ubuntu/+source/linux-signed-hwe/+bug/1825636/+attachment/5311047/+files/journalctl_from-2019-12-06_18-10_to-2019-12-09_10-25.log -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1825636 Title: Battery drain during sleep. System suspended before kernel suspends all tasks To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux-signed-hwe/+bug/1825636/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1825636] Re: Battery drain during sleep. System suspended before kernel suspends all tasks
Recently bought an L390 Thinkpad and noticed the battery drain when suspended. Checked the syslog and observed the same issue you've reported. Just tried it out on several other laptops, as well as a desktop lying around in the office. Can confirm that this issue affects all of them. Here's a list: Lenovo Thinkpad L390 (non-Yoga) running Debian 10.1 (buster) with MATE on kernel 4.19.0-6-amd64 Lenovo Ideapad 500-15ISK running Debian 10.0 (buster) with MATE on kernel 4.19.0-5-amd64 Asus UX310U running Ubuntu 18.04.3 LTS with GNOME on kernel 4.15.0-58-amd64 Desktop with an i7-4790K running Debian 10.1 (buster) with MATE on kernel 4.19.0-6-amd64 I've measured the battery drain rate on the L390 to be around 1-2% every hour of suspend. There is a large thread on the Linux Lenovo forum, where they're discussing a similar issue (battery drain when sleeping) with the X1 Carbon, though they came to the conclusion that the laptop itself doesn't support deep sleep (ACPI S3 sleep), with Lenovo instead opting for s2idle (ACPI S0 sleep). The L390, however, does report it supports S3 sleep, so it's possible the issue is unrelated. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1825636 Title: Battery drain during sleep. System suspended before kernel suspends all tasks To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux-signed-hwe/+bug/1825636/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1825636] Re: Battery drain during sleep. System suspended before kernel suspends all tasks
** Also affects: debian Importance: Undecided Status: New ** No longer affects: debian -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1825636 Title: Battery drain during sleep. System suspended before kernel suspends all tasks To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux-signed-hwe/+bug/1825636/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1825636] Re: Battery drain during sleep. System suspended before kernel suspends all tasks
Similar issue here with Ubuntu 19.10(5.3.0-10-generic) on Lenovo X1 Extreme Gen2 - i7-9750H, GTX 1650(nvidia-driver-435) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1825636 Title: Battery drain during sleep. System suspended before kernel suspends all tasks To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux-signed-hwe/+bug/1825636/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1825636] Re: Battery drain during sleep. System suspended before kernel suspends all tasks
Same issue with Ubuntu Mate 19.04 on Lenovo Thinkpad T460s. Notebook gets warm and drains about 20% of the battery when in standby. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1825636 Title: Battery drain during sleep. System suspended before kernel suspends all tasks To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux-signed-hwe/+bug/1825636/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1825636] Re: Battery drain during sleep. System suspended before kernel suspends all tasks
Same issue with Ubuntu 19.04 on Lenovo X1 Extreme (i7 6 core, Nvidia GPU with NVIDIA drivers). Notebook gets warm/drains battery when in standby. Log looks like some suspend tasks continue after waking up from standby. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1825636 Title: Battery drain during sleep. System suspended before kernel suspends all tasks To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux-signed-hwe/+bug/1825636/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1825636] Re: Battery drain during sleep. System suspended before kernel suspends all tasks
Facing the same issue. System suspends before kernel suspends all processes. Significant battery drain. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1825636 Title: Battery drain during sleep. System suspended before kernel suspends all tasks To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux-signed-hwe/+bug/1825636/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1825636] Re: Battery drain during sleep. System suspended before kernel suspends all tasks
Facing the same issue elementary OS Juno which is based on Ubuntu 18.04. System suspends before kernel suspends all processes. Significant battery drain occurs. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1825636 Title: Battery drain during sleep. System suspended before kernel suspends all tasks To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux-signed-hwe/+bug/1825636/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1825636] Re: Battery drain during sleep. System suspended before kernel suspends all tasks
Fun fact: sometimes "syncing filesystems" is done before the system actually suspends, sometimes it is done after waking the system up: [...] Jun 3 21:01:35 avis systemd[1]: Reached target Sleep. Jun 3 21:01:35 avis systemd[1]: Starting Suspend... Jun 3 21:01:35 avis systemd-sleep[2281]: Suspending system... Jun 3 21:01:35 avis kernel: [ 86.149552] PM: suspend entry (s2idle) --- laptop sleeps here --- Jun 3 21:01:54 avis kernel: [ 86.149553] PM: Syncing filesystems ... done. Jun 3 21:01:54 avis kernel: [ 86.163111] Freezing user space processes ... (elapsed 0.002 seconds) done. Jun 3 21:01:54 avis kernel: [ 86.165328] OOM killer disabled. Jun 3 21:01:54 avis kernel: [ 86.165329] Freezing remaining freezable tasks ... (elapsed 0.001 seconds) done. [...] -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1825636 Title: Battery drain during sleep. System suspended before kernel suspends all tasks To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux-signed-hwe/+bug/1825636/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1825636] Re: Battery drain during sleep. System suspended before kernel suspends all tasks
Thanks for your research and input! I initially reported the bug running 'ubuntu-bug linux'. That's why it ended up in 'linux-signed-hwe'. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1825636 Title: Battery drain during sleep. System suspended before kernel suspends all tasks To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux-signed-hwe/+bug/1825636/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1825636] Re: Battery drain during sleep. System suspended before kernel suspends all tasks
OK, so it appears to be within the kernel itself, this is also happening when using openRC. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1825636 Title: Battery drain during sleep. System suspended before kernel suspends all tasks To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux-signed-hwe/+bug/1825636/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1825636] Re: Battery drain during sleep. System suspended before kernel suspends all tasks
Since I was affected on Ubuntu 19.04 using the generic Kernel (5.0.0-15-generic), I am not sure if "linux-signed-hwe" is the right thing to file this bug against... I decided to test Mainline 5.1.6 under Ubuntu 19.04, and it's also affected. I have been looking into kernel/power/suspend.c, and if you trace down (as in: follow the code step by step) that suspend.c, it becomes obvious that it's not suspend.c by itself, as it's impossible to be a timing problem purely in there, as suspend.c *does* do things in order. I am beginning to think that systemd might be doing things wrong. Since I could also reproduce this issue with fedora, I will be testing on gentoo without systemd (using openrc) and tell you how this worked out. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1825636 Title: Battery drain during sleep. System suspended before kernel suspends all tasks To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux-signed-hwe/+bug/1825636/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1825636] Re: Battery drain during sleep. System suspended before kernel suspends all tasks
Same issue here. Suspend happens before user space is suspended. On resume, system first continues to suspend, then resumes. Jun 01 02:18:40 avis systemd[1]: Reached target Sleep. Jun 01 02:18:40 avis systemd[1]: Starting Suspend... Jun 01 02:18:40 avis systemd-sleep[27915]: Suspending system... Jun 01 02:18:40 avis kernel: PM: suspend entry (s2idle) Jun 01 02:18:40 avis kernel: PM: Syncing filesystems ... done. Jun 01 12:03:59 avis kernel: Freezing user space processes ... (elapsed 0.215 seconds) done. Jun 01 12:03:59 avis kernel: OOM killer disabled. Jun 01 12:03:59 avis kernel: Freezing remaining freezable tasks ... (elapsed 0.002 seconds) done. Jun 01 12:03:59 avis kernel: printk: Suspending console(s) (use no_console_suspend to debug) Jun 01 12:03:59 avis kernel: wlp3s0: deauthenticating from cc:ce:1e:89:51:4b by local choice (Reason: 3=DEAUTH_LEAVING) Jun 01 12:03:59 avis kernel: sd 2:0:0:0: [sda] Synchronizing SCSI cache Jun 01 12:03:59 avis kernel: sd 2:0:0:0: [sda] Stopping disk Jun 01 12:03:59 avis kernel: sd 2:0:0:0: [sda] Starting disk Jun 01 12:03:59 avis kernel: OOM killer enabled. Jun 01 12:03:59 avis wpa_supplicant[990]: wlp3s0: CTRL-EVENT-SIGNAL-CHANGE above=0 signal=0 noise= txrate=0 Jun 01 12:03:59 avis systemd-logind[982]: Lid opened. Jun 01 12:03:59 avis wpa_supplicant[990]: wlp3s0: CTRL-EVENT-DISCONNECTED bssid=cc:ce:1e:89:51:4b reason=3 locally_generated=1 Jun 01 12:03:59 avis kernel: Restarting tasks ... done. Jun 01 12:03:59 avis NetworkManager[979]: [1559383439.4503] sup-iface[0x56503c5924b0,wlp3s0]: connection disconnected (reason -3) Jun 01 12:03:59 avis systemd[1]: Started Run anacron jobs. Jun 01 12:03:59 avis NetworkManager[979]: [1559383439.4557] device (wlp3s0): supplicant interface s -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1825636 Title: Battery drain during sleep. System suspended before kernel suspends all tasks To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux-signed-hwe/+bug/1825636/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1825636] Re: Battery drain during sleep. System suspended before kernel suspends all tasks
Also affecting Thinkpad X201 with Ubuntu 18.10 and TLP. May 13 03:07:06 drus kernel: [49224.602185] PM: suspend entry (deep) May 13 03:07:26 drus kernel: [49224.602189] PM: Syncing filesystems ... done. May 13 03:07:26 drus kernel: [49224.616324] Freezing user space processes ... (elapsed 0.064 seconds) done. May 13 03:07:26 drus kernel: [49224.680481] OOM killer disabled. May 13 03:07:26 drus kernel: [49224.680482] Freezing remaining freezable tasks ... (elapsed 0.001 seconds) done. May 13 03:07:26 drus kernel: [49224.682257] Suspending console(s) (use no_console_suspend to debug) May 13 03:07:26 drus kernel: [49224.696263] sd 0:0:0:0: [sda] Synchronizing SCSI cache May 13 03:07:26 drus kernel: [49224.696948] e1000e: EEE TX LPI TIMER: May 13 03:07:26 drus kernel: [49224.698248] sd 0:0:0:0: [sda] Stopping disk May 13 03:07:26 drus kernel: [49224.808448] ACPI: EC: interrupt blocked May 13 03:07:26 drus kernel: [49224.828883] ACPI: Preparing to enter system sleep state S3 May 13 03:07:26 drus kernel: [49224.841137] ACPI: EC: event blocked May 13 03:07:26 drus kernel: [49224.841139] ACPI: EC: EC stopped May 13 03:07:26 drus kernel: [49224.841140] PM: Saving platform NVS memory May 13 03:07:26 drus kernel: [49224.842744] Disabling non-boot CPUs ... May 13 03:07:26 drus kernel: [49224.857652] smpboot: CPU 1 is now offline May 13 03:07:26 drus kernel: [49224.880441] IRQ 28: no longer affine to CPU2 May 13 03:07:26 drus kernel: [49224.881475] smpboot: CPU 2 is now offline May 13 03:07:26 drus kernel: [49224.908229] IRQ 19: no longer affine to CPU3 May 13 03:07:26 drus kernel: [49224.909244] smpboot: CPU 3 is now offline May 13 03:07:26 drus kernel: [49224.913129] ACPI: Low-level resume complete May 13 03:07:26 drus kernel: [49224.913187] ACPI: EC: EC started May 13 03:07:26 drus kernel: [49224.913188] PM: Restoring platform NVS memory May 13 03:07:26 drus kernel: [49224.914427] Enabling non-boot CPUs ... May 13 03:07:26 drus kernel: [49224.914548] x86: Booting SMP configuration: May 13 03:07:26 drus kernel: [49224.914549] smpboot: Booting Node 0 Processor 1 APIC 0x1 May 13 03:07:26 drus kernel: [49224.916952] cache: parent cpu1 should not be sleeping May 13 03:07:26 drus kernel: [49224.921154] CPU1 is up May 13 03:07:26 drus kernel: [49224.921202] smpboot: Booting Node 0 Processor 2 APIC 0x4 May 13 03:07:26 drus kernel: [49224.923903] cache: parent cpu2 should not be sleeping May 13 03:07:26 drus kernel: [49224.927941] CPU2 is up May 13 03:07:26 drus kernel: [49224.927989] smpboot: Booting Node 0 Processor 3 APIC 0x5 May 13 03:07:26 drus kernel: [49224.930404] cache: parent cpu3 should not be sleeping May 13 03:07:26 drus kernel: [49224.934753] CPU3 is up May 13 03:07:26 drus kernel: [49224.937580] ACPI: Waking up from system sleep state S3 May 13 03:07:26 drus kernel: [49224.957732] ACPI: EC: interrupt unblocked May 13 03:07:26 drus kernel: [49225.012193] iwlwifi :02:00.0: RF_KILL bit toggled to disable radio. May 13 03:07:26 drus kernel: [49225.012216] ACPI: EC: event unblocked May 13 03:07:26 drus kernel: [49225.013748] sd 0:0:0:0: [sda] Starting disk May 13 03:07:26 drus kernel: [49225.178231] OOM killer enabled. May 13 03:07:26 drus kernel: [49225.178233] Restarting tasks ... done. May 13 03:07:26 drus kernel: [49225.211063] video LNXVIDEO:00: Restoring backlight state May 13 03:07:26 drus kernel: [49225.211840] PM: suspend exit May 13 03:07:26 drus kernel: [49225.265420] usb 1-1.6: new high-speed USB device number 39 using ehci-pci May 13 03:07:26 drus kernel: [49225.359689] ata1: SATA link up 3.0 Gbps (SStatus 123 SControl 300) May 13 03:07:26 drus kernel: [49225.359722] ata6: SATA link down (SStatus 0 SControl 300) May 13 03:07:26 drus kernel: [49225.359760] ata2: SATA link down (SStatus 0 SControl 300) May 13 03:07:26 drus kernel: [49225.359887] ata5: SATA link down (SStatus 0 SControl 300) May 13 03:07:26 drus kernel: [49225.360454] ata1.00: ACPI cmd ef/02:00:00:00:00:a0 (SET FEATURES) succeeded May 13 03:07:26 drus kernel: [49225.360457] ata1.00: ACPI cmd f5/00:00:00:00:00:a0 (SECURITY FREEZE LOCK) filtered out May 13 03:07:26 drus kernel: [49225.360602] ata1.00: ACPI cmd ef/5f:00:00:00:00:a0 (SET FEATURES) rejected by device (Stat=0x51 Err=0x04) May 13 03:07:26 drus kernel: [49225.360604] ata1.00: ACPI cmd ef/10:03:00:00:00:a0 (SET FEATURES) filtered out May 13 03:07:26 drus kernel: [49225.363216] ata1.00: ACPI cmd ef/02:00:00:00:00:a0 (SET FEATURES) succeeded May 13 03:07:26 drus kernel: [49225.363221] ata1.00: ACPI cmd f5/00:00:00:00:00:a0 (SECURITY FREEZE LOCK) filtered out May 13 03:07:26 drus kernel: [49225.363364] ata1.00: ACPI cmd ef/5f:00:00:00:00:a0 (SET FEATURES) rejected by device (Stat=0x51 Err=0x04) May 13 03:07:26 drus kernel: [49225.363367] ata1.00: ACPI cmd ef/10:03:00:00:00:a0 (SET FEATURES) filtered out May 13 03:07:26 drus kernel: [49225.365883] ata1.00: configured for UDMA/133 May 13 03:07:26 drus kernel: [49225.391000] usb 1-1.6: New USB
[Bug 1825636] Re: Battery drain during sleep. System suspended before kernel suspends all tasks
Same problem has existed for years on Ubuntu 16.04 with systemd and TLP in use. pm-utils is installed by default but for the most part inactive (last log entry Oct 28 2018). OP already reported this Ask Ubuntu Q&A link posted 2 1/2 years ago: - https://askubuntu.com/questions/828486/kernel-suspends-too-quickly-upon-resume-continues-suspend-tasks (The answer receiving bounty award does not work and has not been accepted!) == An ACPI linked question of the same "suspend to RAM too quickly" issue can be found here: - https://unix.stackexchange.com/questions/502235/system-fails-to-suspend-acpi-ec-interrupt-blocked There is an old ACPI bug report which I understand is because Manufacturers hacked the specs to please Microsoft and Linux doesn't work well during boot up. I don't think ACPI is related but just in case here is a refresher on the error messages during boot: ACPI Error: [\_SB_.PCI0.XHC_.RHUB.HS11] Namespace lookup failure, AE_NOT_FOUND (20170728/dswload-210) Apr 04 21:05:29 alien kernel: ACPI Exception: AE_NOT_FOUND, During name lookup/catalog (20170728/psobject-252) Apr 04 21:05:29 alien kernel: ACPI Exception: AE_NOT_FOUND, (SSDT:xh_rvp10) while loading table (20170728/tbxfload-228) Apr 04 21:05:29 alien kernel: ACPI Error: 1 table load failures, 9 successful (20170728/tbxfload-246) My log is similar to OP except that systemd shows it's fingerprints in the suspend/freeze process: Apr 20 01:42:39 alien systemd-sleep[32388]: /lib/systemd/system-sleep/r8169-reset failed wit Apr 20 01:42:39 alien systemd-sleep[32387]: Suspending system... -- Subject: System sleep state suspend entered -- Defined-By: systemd -- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel -- -- The system has now entered the suspend sleep state. Apr 20 01:42:39 alien kernel: PM: suspend entry (deep) Apr 20 01:42:39 alien kernel: PM: Syncing filesystems ... done. Apr 20 08:57:10 alien kernel: Freezing user space processes ... (elapsed 0.016 seconds) done Apr 20 08:57:10 alien kernel: OOM killer disabled. Apr 20 08:57:10 alien kernel: Freezing remaining freezable tasks ... (elapsed 0.001 seconds) Apr 20 08:57:10 alien kernel: Suspending console(s) (use no_console_suspend to debug) Apr 20 08:57:10 alien kernel: sd 1:0:0:0: [sda] Synchronizing SCSI cache Apr 20 08:57:10 alien kernel: sd 1:0:0:0: [sda] Stopping disk Apr 20 08:57:10 alien kernel: ACPI: EC: interrupt blocked Apr 20 08:57:10 alien kernel: ACPI: Preparing to enter system sleep state S3 Apr 20 08:57:10 alien kernel: ACPI: EC: event blocked Apr 20 08:57:10 alien kernel: ACPI: EC: EC stopped Apr 20 08:57:10 alien kernel: PM: Saving platform NVS memory Apr 20 08:57:10 alien kernel: Disabling non-boot CPUs ... Apr 20 08:57:10 alien kernel: smpboot: CPU 1 is now offline Apr 20 08:57:10 alien kernel: smpboot: CPU 2 is now offline Apr 20 08:57:10 alien kernel: smpboot: CPU 3 is now offline Apr 20 08:57:10 alien kernel: smpboot: CPU 4 is now offline Apr 20 08:57:10 alien kernel: smpboot: CPU 5 is now offline Apr 20 08:57:10 alien kernel: smpboot: CPU 6 is now offline Apr 20 08:57:10 alien kernel: smpboot: CPU 7 is now offline Apr 20 08:57:10 alien kernel: ACPI: Low-level resume complete -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1825636 Title: Battery drain during sleep. System suspended before kernel suspends all tasks To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux-signed-hwe/+bug/1825636/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1825636] Re: Battery drain during sleep. System suspended before kernel suspends all tasks
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: linux-signed-hwe (Ubuntu) Status: New => Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1825636 Title: Battery drain during sleep. System suspended before kernel suspends all tasks To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux-signed-hwe/+bug/1825636/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1825636] Re: Battery drain during sleep. System suspended before kernel suspends all tasks
** Summary changed: - Battery drain during sleep. System suspended before kernel suspended all tasks + Battery drain during sleep. System suspended before kernel suspends all tasks -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1825636 Title: Battery drain during sleep. System suspended before kernel suspends all tasks To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux-signed-hwe/+bug/1825636/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs