Ask Your Question

Automatic Suspend Setting

asked 2015-06-01 17:03:55 -0600

standard7452 gravatar image

Good Evening,

I have installed Fedora 22 on a laptop with the following specs (as registered by the Details section of Settings:

Memory: 3.7 GiB Processor: Intel® Pentium(R) CPU P6100 @ 2.00GHz × 2 OS Type: 64-bit Graphics: Intel® Ironlake Mobile GNOME: Version 3.16.2 Disk: 54.8 GB

Here is my question:

When I go into the Power Settings, there is an option to enable Automatic Suspend.

Is there anyway to have the system suspend at less than 15 minutes?

Thanks! Will

edit retag flag offensive close merge delete

2 Answers

Sort by » oldest newest most voted

answered 2015-06-02 15:08:43 -0600

sensaurav gravatar image

updated 2015-06-02 15:13:11 -0600

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.

edit flag offensive delete link more


Worked like a charm! Thank you! This Community is great!

standard7452 gravatar imagestandard7452 ( 2015-06-02 17:23:55 -0600 )edit

answered 2016-01-16 18:39:00 -0600

If you are more visually inclined:

  1. open or install dconf Editor
  2. go to the pictured "power" schema.
  3. change the timeouts, they are in seconds.

image description

edit flag offensive delete link more

Question Tools

1 follower


Asked: 2015-06-01 17:03:55 -0600

Seen: 1,861 times

Last updated: Jan 16 '16