// disable sleep sudo systemctl mask sleep.target suspend.target hibernate.target hybrid-sleep.target // enable sleep sudo systemctl unmask sleep.target suspend.target hibernate.target hybrid-sleep.target