Have you noticed that when you close the laptop, the laptop turns off or goes into sleep mode?

While this is an energy-saving feature, it can also be a big problem, especially if you connect your laptop to an external monitor to do something important. No need to worry, there is a way to keep the system working and the laptop to stay on even when the laptop is closed.

1. How to Turn on a Laptop in a closed condition | Windows

Windows offers several options for choosing what you want your laptop to do when it’s closed:

Open menu Start in the lower left corner.

Search Control Panel.

Tap Hardware and Sound (Hardware and Sound)..

Tap Power Options (Power Options).

Tap Select what the lid does (Choose what closing the lid does).

Here, you can choose between several options to find the one that best suits your needs: “do nothing, sleep, hibernate, or shut down”. You can also adjust the cover to be how it should be when on battery or in the charger.

2. How to Turn on a Laptop in a closed condition | Mac

Keeping your laptop on or awake when the lid is closed is super easy to activate on a Mac.

Here’s how you can do it:

Click the Apple icon in the top left corner.

Tap System Preferences (System Preferences).

Tap Energy Saver (Energy Saver) – this is the light bulb icon.

Tap Power Adapter (Power Adapter).

you will see the Shut down display after the slider (Turn display off after slider)swipe right.

3. How to close the laptop and stay awake | Ubuntu

If you want to keep your laptop on or awake when you close the lid in Ubuntu, there are two different ways to do it. The easiest way is to install the Tweaks calling app which will enable these settings:

Open a Terminal window, type “sudo apt install gnome-tweak-tool” and press Enter.

Open the app and tap the section general.

you will see Suspend when the laptop lid is closed. If you want your laptop to keep running, turn this off.

Note that these instructions will only work if you are using the system, a set of software tools that work with Ubuntu.

Another way you can enable your laptop to stay on or awake when the cover is closed is via Terminal.

Open system applications.

Tap Terminal.

Run the command: sudo gedit /etc/systemd/logind.conf.

Enter your password and press Enter.

Once the file is open, look for the line #HandleLidSwitch=suspend.

Replace the following line: HandleLidSwitch=ignore if you want to make sure your laptop keeps running after you close the lid.

Categorized in: