Laptop is unable to sleep recently

Hi! I’m unsure of why but it seems like my laptop is unable to sleep recently. I close the lid and when i check it again later, it has either died or is close to dying.

I checked journalctl:

 neil@cm  ~  sudo journalctl | grep "PM: suspend" | tail
Feb 17 09:47:21 cm kernel: PM: suspend exit
Feb 17 17:29:05 cm kernel: PM: suspend entry (s2idle)
Feb 18 09:44:42 cm kernel: PM: suspend exit
Feb 18 17:41:03 cm kernel: PM: suspend entry (s2idle)
Feb 21 09:41:31 cm kernel: PM: suspend exit
Feb 21 17:32:47 cm kernel: PM: suspend entry (s2idle)
Feb 22 09:38:55 cm kernel: PM: suspend exit
Feb 22 19:41:14 cm kernel: PM: suspend entry (s2idle)
Feb 23 10:58:34 cm kernel: PM: suspend entry (s2idle)
Feb 23 11:15:51 cm kernel: PM: suspend exit

and it seems like the last time it successfully suspended was Feb 23rd. Can anyone help me troubleshoot this?

I am using i3 and tlp is enabled:

 neil@cm  ~  sudo systemctl status tlp
● tlp.service - TLP system startup/shutdown
     Loaded: loaded (/usr/lib/systemd/system/tlp.service; enabled; vendor preset: disabled)
     Active: active (exited) since Tue 2022-03-01 12:21:02 EST; 2h 18min ago
       Docs: https://linrunner.de/tlp
    Process: 177361 ExecStart=/usr/bin/tlp init start (code=exited, status=0/SUCCESS)
   Main PID: 177361 (code=exited, status=0/SUCCESS)
        CPU: 409ms

Mar 01 12:21:01 cm systemd[1]: Starting TLP system startup/shutdown...
Mar 01 12:21:01 cm tlp[177361]: Applying power save settings...done.
Mar 01 12:21:02 cm tlp[177361]: Setting battery charge thresholds...done.
Mar 01 12:21:02 cm systemd[1]: Finished TLP system startup/shutdown.

Edit: seems like my system doesn’t have the deep sleep option? not sure if it matters

 neil@cm  ~  cat /sys/power/mem_sleep
 [s2idle]

Oddly I have the same happening to me. Since about two weeks with the last sets of updates. I thought it could be related to me connecting/disconnecting screens at home/work, but never had that before. Literally my laptop drained the whole battery while lid closed, this twice now. Not sure how to start troubleshooting this except getting some journal logs next time. I use xfce with i3wm combined.

1 Like

It was related to a recent bug in upower but is now fixed in upower 0.99.16-2.

Links

https://bugs.archlinux.org/task/73942

https://bbs.archlinux.org/viewtopic.php?id=274292

3 Likes

the fixed update was released 4 days back, so do an update and all should be good.

I have exactly that problem plus overheating and fan. Could be kernel update as I have the rest of my system updated. That deeply sucks, fully draining battery is so bad for the laptop. No time to troubleshoot next couple of days, unfortunately. Thanks for the links.

Edit: new kernel updates this morning will see what happens.

Edit2: I guess for now it’s systemctl suspend via terminal before closing lid before leaving from/to work. :stuck_out_tongue_winking_eye: no time for troubleshooting but time to post in the forum

Thanks for the comments! I will try updating and testing later tonight!

I just performed an update and seems like it suspends properly this time. I will test overnight and see if it is fixed.

 neil@cm  ~  sudo journalctl | grep "PM: suspend" | tail
Feb 18 09:44:42 cm kernel: PM: suspend exit
Feb 18 17:41:03 cm kernel: PM: suspend entry (s2idle)
Feb 21 09:41:31 cm kernel: PM: suspend exit
Feb 21 17:32:47 cm kernel: PM: suspend entry (s2idle)
Feb 22 09:38:55 cm kernel: PM: suspend exit
Feb 22 19:41:14 cm kernel: PM: suspend entry (s2idle)
Feb 23 10:58:34 cm kernel: PM: suspend entry (s2idle)
Feb 23 11:15:51 cm kernel: PM: suspend exit
Mar 02 17:45:32 cm kernel: PM: suspend entry (s2idle)
Mar 02 17:45:50 cm kernel: PM: suspend exit

For me it’s still overheating. Bummer. Not sure if it’s related to that suspend problem.

hmm…something is still off for me. it didn’t get out of sleep (power led was still blinking) this morning and i had to hard reboot it. But there are no logs that indicate that it went to sleep. Oddly, the battery wasn’t drained either. So i’m not sure what happened there. I’ll test again tonight

Alright, seems to be good today! I marked this as solved :slight_smile:

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.