Why does my computer turn off when I close the lid?

When you close the lid of your laptop, your computer will suspend in order to save power. This means that the computer is not actually turned off — it has just gone to sleep. You can resume it by opening the lid. If it does not resume, try clicking the mouse or pressing a key. If that still does not work, press the power button.

Some computers are unable to suspend properly, normally because their hardware is not completely supported by the operating system (for example, the Linux drivers are incomplete). In this case, you may find that you are unable to resume your computer after you have closed the lid or you can try to fix the problem with suspend yourself.