linux ubuntu laptop Linux.md Disable Sleep on Laptop - Ubuntu¶ To disable the sleep and hibernation, we need to modify /etc/systemd/sleep.conf. Edit and make the following changes. AllowSuspend=no AllowHibernation=no AllowSuspendThenHibernate=no References:¶ systemd-sleep.conf