You are not logged in.

#1 2022-03-06 18:17:00

JoeBlakeB
Member
Registered: 2022-03-06
Posts: 8
Website

[solved] SSD stopping laptop from waking from sleep when on battery

Hi

My laptop most of the time wont wake up from sleep if it goes to sleep while it is not plugged in. I think its got something to do with one of my SSDs which i got about a month and a half ago which is about when this problem started, and when I unplug the SSD its working properly. I have tried removing the partitions on the SSD from fstab and leaving it plugged in but that didn't fix the problem like unplugging it completely did. Before I got the SSD i had a hard drive in that place which didn't cause any problems.

My laptop is an Acer Nitro 5 (AN515-52) and the SSD is a Samsung 870 QVO 4 TB SATA

I have turned it on/off with it being unplugged/charging to get logs that might say whats happening but I don't know how I can use them to help because nothing is logged after waking up from sleep.
And this is what I was doing at what times, and what the laptop was doing:

17:00:00 power on without being plugged in
17:01:30 suspend laptop (without any apps open - closing laptop)
17:02:00 wake up from sleep and only black screen with unresponsive mouse, cant switch to tty
17:03:00 force off by holding power button

17:03:30 turn back on without being plugged in
17:05:00 suspend laptop (with firefox open - start menu sleep button)
17:06:00 wake up from sleep and lock screen background and unresponsive mouse, cant switch to tty
17:07:30 force off by holding power button

17:08:00 turn back on without being plugged in
17:10:00 suspend laptop (with firefox open - start menu sleep button)
17:11:00 wake up from sleep and only black screen with unresponsive mouse, cant switch to tty
17:12:00 force off by holding power button

17:13:00 turn back on without being plugged in
17:14:00 suspend laptop (with konsole open - systemctl suspend)
17:14:30 wake up from sleep and only black screen and unresponsive mouse, cant switch to tty
17:15:00 force off by holding power button

17:15:30 power on while plugged in
17:17:00 suspend laptop (without any apps open - closing laptop)
17:17:30 wake up from sleep and works as expected to lock screen which then goes back to desktop after login
17:20:00 suspend laptop (with firefox open - start menu sleep button - still plugged in)
17:20:30 wake up from sleep and works as expected to lock screen which then goes back to desktop after login
17:21:00 unplug laptop then suspend laptop (with firefox open - start menu sleep button)
17:21:30 wake up from sleep and works as expected
17:22:30 suspend laptop (with firefox open - start menu sleep button - still unplugged)
17:23:00 wake up from sleep and lock screen background and unresponsive mouse, cant switch to tty
17:24:30 force off by holding power button

17:26:00 power on again without being plugged in but sata ssd removed
17:27:30 suspend laptop (without any apps open - closing laptop)
17:29:00 wake up from sleep and works as expected
17:31:00 suspend laptop (with firefox open - start menu sleep button)
17:31:30 wake up from sleep and works as expected
17:33:00 suspend laptop (with firefox and konsole open - systemctl suspend)
17:33:30 wake up from sleep and works as expected
17:34:30 shut down normally

17:41:30 boot again while unplugged but sata ssd installed again and loglevel=7 in kernel parameters
17:42:30 suspend without any apps open and closing laptop
17:43:00 wake up laptop from sleep and screen shows some logs https://cdn.discordapp.com/attachments/796434329831604288/950089436836806726/20220306_174344.jpg - can switch tty but when i do there is nothing but a blank screen
17:45:00 force off by holding power button

Before I released it was to do with the SSD I tried downgrading the kernel which didn't work and I don't know what else to try to get it to work properly.

Thank you

Last edited by JoeBlakeB (2022-03-11 23:30:22)

Offline

#2 2022-03-07 08:13:33

JoeBlakeB
Member
Registered: 2022-03-06
Posts: 8
Website

Re: [solved] SSD stopping laptop from waking from sleep when on battery

When loglevel=7 is kernel parameters it says that the SATA port does not support sleep

ahci 0000:00:17.0: port does not support device sleep
$ lspci | grep 17
00:17.0 RAID bus controller: Intel Corporation 82801 Mobile SATA Controller [RAID mode] (rev 10)

Is there any way I can make my laptop sleep without sleeping the SSD or by fully turning off the SSD?

Changing the SATA mode in BIOS didn't do anything.

Edit:
Uninstalling tlp fixed the problem.
I had only tried disabling it before making this post and i dont know why i didnt try completely removing it.

Last edited by JoeBlakeB (2022-03-11 23:24:41)

Offline

Board footer

Powered by FluxBB