Weird "Automatic suspend" notification in Gnome all the time

I’m getting this weird popup on Gnome now all the time all of a sudden. It says “Power. Automatic suspend. Suspending soon because of inactivity.” But I turned off all suspend settings in Settings. I never had this problem before, this only started happening when I reinstalled Fedora 40 recently. I don’t know if that’s a Gnome issue, or something else.

1 Like

And as consequence is that this notification about goint to suspend will woke up external monitor which slept already 10 minutes.

I’m just looking for a way to get rid of that message.

gsettings set org.gnome.settings-daemon.plugins.power sleep-inactive-ac-type “nothing”

gsettings set org.gnome.settings-daemon.plugins.power sleep-inactive-battery-type “nothing”

I need to keep the sleep function. I just don’t want to wake up the monitor with notifications before I fall asleep.