How to Keep Laptop Awake When Closed Lid
In this article
Yes, you can keep your laptop running when the lid is closed. This feature, often called "Clamshell Mode" on macOS or "Don't Sleep" on Windows, allows you to use external monitors and peripherals while keeping the device compact. To do this safely, ensure your laptop is plugged into power, as battery drain can occur if the system remains active without charging.
What You'll Need
- A laptop with a functioning operating system (Windows 10/11 or macOS)
- An external monitor (optional, but recommended for Clamshell mode)
- An external keyboard and mouse (if using Clamshell mode)
- The laptop's power adapter connected to a wall outlet
Step-by-Step
- Connect Power: Plug your laptop into its charger. Most systems require AC power to maintain operation when closed, especially if you plan to use an external display. If you are only listening to music or downloading files, some laptops may allow this on battery, but performance will be limited.
- Connect Peripherals: If you intend to use the laptop in Clamshell mode (with an external monitor), connect your external display, keyboard, and mouse now. Ensure all connections are secure before proceeding.
- Open System Settings: On Windows, click the Start button and select the gear icon to open Settings. On macOS, click the Apple menu in the top-left corner and select System Settings (or System Preferences on older versions).
- Navigate to Power Options:
- Windows: Go to System > Power & battery (or Power & sleep in older versions). Look for a link labeled "Screen and sleep settings" which opens the legacy Control Panel window.
- macOS: Select Battery from the sidebar. Then, click on "Options" next to Power Adapter (or Battery) depending on whether you want different behaviors for plugged-in vs. battery power.
- Configure Close-Lid Behavior:
- Windows: In the Control Panel window under Power Options, click "Choose what closing the lid does" on the left sidebar. Under the "When I close the lid" column, change the setting from "Sleep" to "Do nothing." You can choose different actions for "On battery" and "Plugged in." It is safest to set "Plugged in" to "Do nothing." Click "Save changes" at the bottom.
- macOS: Look for a toggle labeled "Prevent automatic sleeping when the display is off" or similar wording regarding closing the lid. Ensure this is enabled. Note: Modern macOS versions often enable Clamshell mode automatically when an external display and power are connected, provided you have an external input device attached.
- Test the Configuration: Close the laptop lid slowly. Wait about 10-15 seconds. Check if the external monitor lights up or if background tasks (like downloads) continue. If the screen goes black and stays black, the setting was successful.
Common Mistakes
A frequent error is attempting to use Clamshell mode without connecting an external input device. Many laptops, particularly MacBooks, will refuse to wake or stay awake in clamshell mode unless a keyboard or mouse is detected. Another mistake is ignoring thermal issues. Laptops dissipate heat through the keyboard deck in many designs. Closing the lid can trap heat, potentially causing throttling or shutdowns. Always ensure vents are not blocked by blankets or soft surfaces.
Tips
- Use a Laptop Stand: If you need to access ports or improve airflow, consider a stand that holds the base open slightly while keeping the screen closed, or simply leave the lid ajar if you are not using an external monitor.
- Disable Wake-on-LAN if Unnecessary: If your laptop wakes up unexpectedly from sleep due to network activity, check your Network Adapter settings in Device Manager and disable "Wake on Magic Packet" if you don't need remote access.
- Monitor Temperatures: Use built-in tools or third-party software to check CPU temperatures. If they exceed safe limits (usually above 90°C/194°F under load), the system may force a shutdown regardless of settings.
Troubleshooting
If your laptop still goes to sleep when closed, follow these steps:
1. Check BIOS/UEFI Settings: Some manufacturers override OS settings. Restart the computer and enter the BIOS (usually by pressing F2, Del, or F10 during boot). Look for "Power Management" or "Lid Close Action" and ensure it is set to "S3/Sleep Disabled" or "Keep System On." Save and exit.
2. Update Drivers: Outdated chipset or graphics drivers can cause power management conflicts. Visit your manufacturer's support page to download the latest drivers.
3. Disable Fast Startup (Windows): Fast Startup can sometimes interfere with power states. Go to Control Panel > Power Options > Choose what the power buttons do. Click "Change settings that are currently unavailable" and uncheck "Turn on fast startup." Restart and test again.
4. Check for Hybrid Sleep: In Windows Power Options, click "Change plan settings" next to your active plan, then "Change advanced power settings." Expand "Sleep" and ensure "Allow hybrid sleep" is disabled for both battery and plugged-in states.
Frequently Asked Questions
Will this damage my laptop?
No, provided the laptop has adequate ventilation. Trapping heat can cause overheating, so ensure vents are clear and avoid covering the laptop with insulating materials like pillows.
Can I do this on battery power?
Yes, but it is not recommended. The laptop will drain the battery quickly, and some models may restrict performance or refuse to stay awake on battery to protect the hardware.
Why doesn't my external monitor turn on?
You likely haven't connected an external keyboard or mouse. Clamshell mode requires an input device to detect user presence. Alternatively, try pressing a key on the external keyboard or moving the mouse to wake the display.
Does this work on Chromebooks?
Chromebooks generally do not support true Clamshell mode. Closing the lid usually puts them to sleep. However, you can adjust settings to prevent sleep when idle, but the screen will still turn off.
How do I wake the laptop back up?
Press any key on your external keyboard, move the external mouse, or press the power button on the laptop itself. If using an external monitor, clicking the mouse often wakes the system immediately.
Is it safe to leave the laptop running overnight?
It is generally safe if the laptop is stable and cool. However, ensure no flammable materials are nearby and that the power adapter is in good condition. For long-term storage, it is better to shut down completely.