ac:1f:6b:bd:43:0a 3c:ec:ef:07:08:7c 52:54:00:94:b7:b0 1. First, you mask ‘sleep.target‘: sudo systemctl mask sleep.target 2. Then mask ‘suspend.target‘: sudo systemctl mask suspend.target 3. And mask ‘hibernate.target‘: sudo systemctl mask hibernate.target 4. Finally, mask ‘hybrid-sleep.target‘: sudo systemctl mask hybrid-sleep.target To revert these changes ou can unmask them and that’ll enable them again. This can be achieved by changing the ‘mask’ command to ‘unmask’ and running the commands again. Verify you actions by using the below command systemctl status sleep.target