put the computer to sleep with ubuntu on command line code example
Example: ubuntu turn of sleep
sudo systemctl mask sleep.target suspend.target hibernate.target hybrid-sleep.target
sudo systemctl mask sleep.target suspend.target hibernate.target hybrid-sleep.target