Install Config Wiki

All about installing, configuring and troubleshooting

User Tools

Site Tools


Sidebar

Wiki Topics

wiki:disable_sleep_suspend_hibernate_ubuntu

How to Disable Sleep, Suspend and Hibernate on Ubuntu Server 20.04 LTS - 18.04 LTS - 16.04 LTS

Open a console or terminal for access to the Ubuntu command line.

To Disable Suspend enter:

sudo systemctl mask sleep.target suspend.target hibernate.target hybrid-sleep.target

To Enable Suspend enter:

sudo systemctl unmask sleep.target suspend.target hibernate.target hybrid-sleep.target
wiki/disable_sleep_suspend_hibernate_ubuntu.txt · Last modified: 2020/06/06 17:34 by wikiadmin