linux hibernation off commadn code example
Example: turn off suspend and sleep tagets system d
$ sudo systemctl mask sleep.target suspend.target hibernate.target hybrid-sleep.target
$ sudo systemctl mask sleep.target suspend.target hibernate.target hybrid-sleep.target