Ubuntu/Debian – How to disable sleep/hibernate mode

Spread the love

For disable sleep mode in Debian/Ubuntu distributive need to run command

command

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

For return back use command

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

Добавить комментарий