Fedora 42 gnome, suspend does not work it wakes up immediately and stays in the login screen.

  • Please confirm that sleep is configured correctly for your hardware.

    Read this article from the Arch Wiki then refer to Section 3 after you’ve familiarized yourself with the content to make the changes necessary.

    Many hardware implementations of the various sleep types are borked due to workarounds for the way Windows would prefer to handle sleep. The information in this article should allow you to mitigate this.