As the title says, almost every time my computer goes into sleep mode, when I wake it up, it stays on for about 10 seconds and then goes back to sleep by itself, and this keeps repeating.
I’ve noticed that when it wakes up, it doesn’t recognize the Wi-Fi network it was connected to before sleeping. To stop it from going back to sleep, I have to quickly toggle the Wi-Fi off and then on again.
I’m not really sure where to start debugging this, since it seems related to the graphics driver (I’m using an NVIDIA card, btw), but it could also be connected to the Wi-Fi module.
Have a look in the journalctl output for around the time of you waking up (and the machine going back to sleep). You should hopefully get some indication of what’s going on with the various subsystems and devices in your kit.
I encountered the same problem. Moreover, if you don’t enter the password in time, the input field may become completely blocked, and the only solution is to restart the computer.
I use Bazzite-gnome-nvidia. RTX2060 (Mobile). GNOME 49.1.
When reporting issues, it helps to provide enough detail to make it easy for others with similar hardware to reproduce the issue. The output from inxi -Fzxx is a good start. You should also try to have Fedora packages and vendor firmware fully updated so you aren’t chasing a solved problem and also to make it simple for others to duplicate your configuration without long threads to check package versions.
As mentioned, journalctl may provide details needed to understand the what is going wrong.