You Asked: How Do I Keep My Computer from Sleeping Linux?
Contents How Do I Keep Linux from Going to Sleep? Configure Lid Power Settings: Open the /Etc/Systemd/Logind. … Find the Line #Handlelidswitch=Suspend. Remove...
Contents
How do I keep Linux from going to sleep?
Configure lid power settings:
- Open the /etc/systemd/logind. …
- Find the line #HandleLidSwitch=suspend.
- Remove the # character at the beginning of the line.
- Change the line to either of the desired settings below: …
- Save the file and restart the service to apply the changes by typing # systemctl restart systemd-logind.
How do I disable my system from going to sleep?
Turning Off Sleep Settings
- Go to Power Options in the Control Panel. In Windows 10, you can get there from right clicking on. the start menu and clicking on Power Options.
- Click change plan settings next to your current power plan.
- Change “Put the computer to sleep” to never.
- Click “Save Changes”