run:
systemctl mask sleep.target suspend.target hibernate.target hybrid-sleep.target
to undo:
systemctl unmask sleep.target suspend.target hibernate.target hybrid-sleep.target