How do I keep the notebook turned on with the lid closed?
To keep a notebook turned on with the lid closed, you can adjust the power settings. Here’s how to do it depending on your operating system:
On Windows:
-
Open Control Panel: You can search for “Control Panel” in the Start menu.
-
Go to Power Options: In the Control Panel, search for “Power Options” and click on it.
-
Change what closing the lid does:
On the left sidebar, click Choose what closing the lid does.
In the drop-down menus for “When I close the lid”, select Do nothing for both “On battery” and “Plugged in”.
- Save changes.
On macOS:
-
Open System Settings: Click the Apple logo in the top left, then go to System Settings.
-
Go to Energy Saver or Battery (depending on the macOS version).
-
Enable “Prevent your Mac from sleeping automatically when the display is off”: This option keeps the system running when the lid is closed, but it requires the device to be connected to a power source.
You can also use Amphetamine (a third-party app from the Mac App Store) to keep your Mac awake with the lid closed.
On Linux:
-
Open the Terminal.
-
Edit the logind.conf file:
Run: sudo nano /etc/systemd/logind.conf
Find the line that says #HandleLidSwitch=suspend and change it to HandleLidSwitch=ignore.
Save the file and exit the editor (Ctrl+X, then Y to confirm).
- Restart systemd:
Run: sudo systemctl restart systemd-logind.
This way, your laptop will remain on when the lid is closed.