Skip to content

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