Adjusting your laptop’s lid-closing behavior lets you control whether the device sleeps, hibernates, or stays on when you shut the lid—useful for saving power, maintaining background tasks, or extending battery life. No extra tools are needed: this is done entirely through your operating system’s built-in power settings. Below are clear, verified steps for Windows and macOS (steps differ slightly by OS and version).
What You’ll Need
- A Windows PC (Windows 10 or 11) or a Mac (macOS Monterey or later)
- Administrator or owner-level access to the device
- No additional hardware or software required
Step-by-Step
- Open Power Settings:
- Windows: Press
Win + Ito open Settings, go to System > Power & battery (Windows 11) or System > Power & sleep (Windows 10), then click Additional power settings on the right. Alternatively, search for "Control Panel" and open it, then navigate to Hardware and Sound > Power Options. - macOS: Open System Settings (or System Preferences on older versions), go to General > Lid Open (macOS 14+) or Energy Saver (older macOS versions like Monterey/Ventura). Note: macOS restricts lid-closing actions for built-in displays—see Tips for workarounds.
- Windows: Press
- Select Your Power Plan (Windows only):
- In the Power Options window, find your active plan (e.g., Balanced or High performance).
- Click Change plan settings next to your selected plan.
- Then click Change advanced power settings to open the Power Options dialog box.
- Locate Lid-Close Action:
- Windows: In the Power Options dialog, expand Lid close action. You’ll see two sub-options: On battery and Plugged in.
- macOS: There is no direct lid-closing action setting for built-in displays—closing the lid always puts the Mac to sleep unless using an external display with clamshell mode (see Tips).
- Set Your Preferred Action:
- Windows: For both On battery and Plugged in, click the dropdown and choose from: Sleep (default), Hibernate, Shut down, or Do nothing.
- macOS: For built-in displays, you cannot change the lid-closing behavior directly. To prevent sleep when closing the lid, you must connect an external monitor, keep the Mac awake via a third-party tool (e.g., Caffeine), or use clamshell mode (see Tips).
- Apply and Test:
- Windows: Click Apply > OK. Close the lid and wait 10–15 seconds. Open it again to verify the expected behavior (e.g., screen stays off for Do nothing, wakes instantly for Sleep).
- macOS: Close the lid—your Mac will go to sleep. To confirm, connect the power adapter and open the lid: if it wakes quickly, the setting worked. For Do nothing behavior, use clamshell mode (see Tips).
Common Mistakes
- Assuming macOS allows full lid-closing control like Windows—built-in Macs always sleep when closed unless in clamshell mode.
- Changing settings in the wrong power plan (e.g., editing High performance but using Balanced).
- Not saving changes: clicking OK without clicking Apply first in Windows’ Power Options dialog.
- Expecting Do nothing to keep background tasks running on battery—on many laptops, it still triggers sleep after a timeout or due to driver/firmware behavior.
- Ignoring driver or firmware issues: outdated ACPI or power management drivers can override settings.
Tips
- Clamshell Mode (Mac only): To use your Mac with the lid closed and screen off, connect an external monitor, keyboard, and mouse, then close the lid. The Mac stays awake as long as it’s plugged in. This is the only official way to achieve "Do nothing" behavior on macOS.
- Use Hibernate for long pauses: Hibernate saves your session to disk and powers off fully—ideal for laptops running low on battery but needing to resume later without losing open apps.
- Disable fast startup: In Windows, go to Control Panel > Power Options > Choose what the power buttons do > Change settings that are currently unavailable, then uncheck Turn on fast startup. This ensures consistent lid-closing behavior, especially if hibernation is involved.
- Check device-specific quirks: Some gaming or workstation laptops (e.g., Dell XPS, Lenovo ThinkPad) have BIOS/UEFI options to override OS lid behavior (look for Lid Open Action or AC Policy).
- Test with a USB mouse/keyboard: On Windows, try waking the laptop with an external device after closing the lid—some systems ignore keyboard/mouse wake signals unless configured in Device Manager > Keyboard > Properties > Power Management.
Troubleshooting
- Laptop doesn’t sleep when lid closed:
- Ensure no apps are blocking sleep (e.g., video players, downloads). In Windows, run
powercfg /requestsin Command Prompt (Admin) to see active blockers. - Check if the power plan change was applied—reselect your plan and re-open the advanced settings dialog.
- Update or reinstall power management drivers: in Device Manager, expand System devices, right-click ACPI Lid > Update driver.
- Reset power settings: in Command Prompt (Admin), run
powercfg -restoredefaultschemes.
- Ensure no apps are blocking sleep (e.g., video players, downloads). In Windows, run
- Laptop wakes unexpectedly when lid closed:
- In Windows, open Device Manager > Keyboards or Mice and other pointing devices, right-click each device > Properties > Power Management, and uncheck Allow this device to wake the computer.
- Check for wake timers: run
powercfg /waketimersin Command Prompt (Admin). - On Mac, ensure no external devices (e.g., USB hub, keyboard) are triggering wake—disconnect them and test.
- Settings grayed out or missing:
- In Windows, you may be on a work/school device with group policies restricting changes—contact IT.
- On macOS, lid-closing settings are non-editable for built-in displays; use third-party tools like NoSleep (macOS) or Amphetamine for temporary overrides.
- Changes lost after reboot:
- Ensure you’re logged in as an administrator.
- Run
powercfg -lin Command Prompt (Admin) to list plans—confirm your plan is active. - Check for BIOS/UEFI updates—older firmware may conflict with OS power states.