Yes, there is, but GNOME Power Settings will show an incorrect value (like 2 hours) because it has a fixed list of timeouts. However, the timeout that you specify will be effective and the computer will suspend at that timeout. First, turn on Automatic Suspend in Power Settings (you can leave the timeout there at anything because you will set it in the next step). Then close Power Settings and enter the following command(s): -
For battery timeout:-
gsettings set org.gnome.settings-daemon.plugins.power sleep-inactive-battery-timeout <time_in_seconds>
For AC timeout:-
gsettings set org.gnome.settings-daemon.plugins.power sleep-inactive-ac-timeout <time_in_seconds>
Replace <time_in_seconds> with the number of seconds you want the timeout to be. For example, to use 10 minutes (600 seconds), use gsettings set org.gnome.settings-daemon.plugins.power sleep-inactive-battery-timeout 600 (or the -ac- version for AC).
If you have DConf Editor installed (su -c 'dnf install dconf-editor'), then, after turning on Automatic Suspend, instead of typing in the commands, you can start DConf Editor and navigate to org > gnome > settings-daemon > plugins > power in the left hand panel, double-click within the sleep-inactive-battery-timeout and/or sleep-inactive-ac-timeout values on the right, and enter the value(s) in seconds.