Randomly turns back on

Hello,

I’ve noticed that sometimes when I turn off my laptop, it unexpectedly turns back on. This means I have to enter the LUKS password again, wait for the Gnome Login screen to appear, and then shut it down again. I’m not sure why this is happening and haven’t been able to figure it out.

It’s a bit frustrating, especially when I close the laptop lid, only to find out later that it’s powered itself back on and drained the battery. I’m wondering if anyone else has experienced this or a similar issue and might have advice on how to resolve it.

I have also tried pressing on the chassis near the power button, in various places, thinking that perhaps the lid or something else might be pressing against it and causing the issue. However, that doesn’t seem to be the case.

For context, I’m using Fedora Silverblue with kernel 6.13.11-200.fc41.x86_64 on a Framework Laptop 13 with an Intel Core Ultra 5 125H.

Thank you in advance for any help you can offer!

Hi,

I observe the same issue with my Framework 16 on Linux Mint 22.1. At first I thought it was the chassis pressing on the button but that was not it. It seems random and I’m not able to reliably reproduce this. Unfortunately, I don’t have a solution and hope someone here can resolve this.

There have been multiple reports of this happening over the years.
Search the threads for “Suspend and wakeup issues” and “amd_s2idle.py”

You should find various solutions there.
The simplest one is to disable wake-up from anything apart from the power button.
Then all you do is open the lid, press the power button, and it wakes up from suspend.

2 Likes

The issue is not with suspension but with a regular shutdown. I have checked and “wake up on AC attach” is disabled in BIOS.

Only the EC could turn it back on, so for that to happen the EC must be on.
The EC if off if both the laptop is powered off AND the PSU is disconnected.

So, if you switch off the laptop but leave the PSU connected, the EC would be powered on, and thus theoretically able to power the device on.

I think the only thing that is supposed to power the laptop on in these scenarios is pressing the power button.

You would have to look at the EC source code, in order to establish if anything else could switch the laptop on.

With the current problems with mini-cycles of battery charge / discharge, my advice would be to leave the laptop PSU disconnected when you power off the laptop.