I recently purchased the Ryzen 5 4500U version of the HP ENVY X360 laptop. For the most part I love it. It's fast, slim, and overall runs Fedora great but...

The power button is located on the side and I frequently press it by accident. This would be just annoying but when I press the power button again, nothing happens, at least externally. I just tested having an SSH session open and about 10 seconds after I press the power button a second time my SSH session resumes (since I didn't wait for it to time out).

This means that for some reason the computer itself is waking back up but the monitor/gpu is not turning back on. This also occurs when I close the lid.

For now I have set the power button to "do nothing" but that still doesn't help when the lid close situation. And the power button is per user, not global.

The problem seems to be that newer laptops don't support S3 sleep and instead only implement the MS proprietary sleep mode which is completely dependent on OS support, not the BIOS.

https://gitlab.freedesktop.org/drm/amd/-/issues/1230

Anyone have any good suggestions or workarounds?

Thanks,
Richard