How to Turn On or Off Automatic Suspend in Ubuntu Linux

This post describes steps you can take to enable or disable automatic suspend in Ubuntu Linux.

You can configure Ubuntu Linux to automatically suspend when idle. When Ubuntu Linux goes to suspend mode, it’s not actually turned off – just gone to sleep. You can resume by pressing a key or moving the mouse and your session will continue from where you left off.

You can also manually suspend your computer in Ubuntu Linux if your computer hardware supports it. Different intervals can be specified for running on battery or plugged in.

There are two ways to suspend Ubuntu Linux. One way is to suspend using the command on the system menu and the other is to enable automatic suspend.

The steps below will show you how to put Ubuntu Linux in suspend mode.

How to suspend Ubuntu Linux

As described above, users can suspend Ubuntu Linux manually or automatically. When you suspend Ubuntu Linux, it automatically goes to sleep preserving your desktop session.

Below is how to suspend Ubuntu Linux.

Manually suspending Ubuntu Linux

If your computer supports it, you can quickly suspend Ubuntu Linux from the system menu on the top bar.

Click the System menu from the top bar. Expand Power Off / Log Out command, then click the Suspend command as highlighted below.

That will suspend your computer.

Enable automatic suspend in Ubuntu Linux

Another way to suspend Ubuntu Linux is to turn on automatic suspension. You can configure your computer to automatically suspend when idle.

Below is how to do that:

Ubuntu Linux has a centralized location for majority of its settings. From system configurations to creating new users and updating, all can be done from the System Settings panel.

Alternatively, click on the System menu at the top-right corner of the top bar on your desktop.

On the System menu, select Settings as highlighted below.

In the Settings app, click on Power tile to open the panel.

In the System Settings -> Power settings panel, under Power Saving Options click on the Automatic Suspend tile.

Choose On Battery Power or Plugged In, set the switch to on, and select a Delay. Both options can be configured.

Exit and your changes will be saved.

That should do it! You can now close the Settings app.


This post showed you how to enable or disable automatic suspend in Ubuntu Linux. If you find any error above or have something to share, please use the comment form below.