xxxxxxxxxx
Enable
sudo systemctl unmask sleep.target suspend.target hibernate.target hybrid-sleep.target
Disable
sudo systemctl mask sleep.target suspend.target hibernate.target hybrid-sleep.target
Status
sudo systemctl status sleep.target suspend.target hibernate.target hybrid-sleep.target