You can change what happens when you close your laptop by adjusting its power settings. Here's how:
Windows
- Open Settings: Click the Start button and select Settings.
- Go to System: Click on System.
- Select Power & Sleep: In the left-hand menu, click on Power & Sleep.
- Choose "Additional power settings": Under Related settings, click on Additional power settings.
- Select "Choose what closing the lid does": In the Power Options window, click on Choose what closing the lid does.
- Modify settings: Under On battery, you can choose to Do nothing, Sleep, Hibernate, or Shut down. You can do the same under Plugged in.
- Save changes: Click Save changes.
macOS
- Open System Preferences: Click the Apple menu and select System Preferences.
- Choose Energy Saver: Click on Energy Saver.
- Adjust lid closure behavior: Under Laptop Battery, you can select what happens when you close the lid: Do nothing, Sleep, or Shut down. You can also adjust the same settings under Power Adapter.
- Apply changes: Close the Energy Saver window.
These steps allow you to customize your laptop's behavior when you close the lid. You can now choose whether it should sleep, hibernate, shut down, or do nothing at all.