If you find that your Laptop computer Shuts down when the lid is closed, instead of going to sleep mode, the problem can be fixed by adjusting the Power Settings on your computer.
In general, the default setting on most Laptop computers is to Power OFF the screen, when the lid is closed and go into sleep mode, if the lid remains closed for a longer period of time.
As you can understand, this Power Setting is designed to prevent the computer from exhausting its battery charge by continuing to run, even while it is not being used.
Laptop Shuts Down When Lid is Closed
All that is required to prevent your Laptop computer from shutting down whenever its lid is closed is to adjust the Power Settings on your computer.
Depending on your requirements, you can either prevent your Laptop from shutting down when the lid is closed or set your Laptop to shut down, only if the Lid remains closed for an extended period of time.
1. Open Settings > click on the System Icon.
2. Select Power & Sleep in the left pane. In the right-pane, scroll down to ‘Related Settings’ and click on Additional Power Settings link.
3. On Power Options screen, click on Choose What Closing the lid does link in the left-pane.
4. On the next screen, set ‘When I Close the lid‘ setting under ‘Battery’ and ‘Plugged in’ to Sleep.
5. Click on Save Changes to save this setting on your computer.
After this, you should no longer find your Laptop Shutting Down whenever its lid is closed.