How to Prevent MacBook From Sleeping When Lid Is Closed

The MacBook packs Apple’s internal silicon chip which is quite powerful. Besides harnessing that power on the go, you can also connect them to a desktop monitor for a desktop-like experience.

Prevent MacBook from sleeping when lid is closed

One of the downsides of using a Mac with an external display is that it goes to sleep when you close the lid. So you should always open the lid or connect your Mac to the charger. Neither of these scenarios is ideal.

If this is a problem you encounter often, don’t worry because there is a simple fix! Here’s how you can prevent your MacBook from sleeping when the lid is closed.

Why you should stop your Mac from sleeping

One of the most common use cases for keeping a Mac awake even when the lid is closed is when the Mac is connected to an external display. Always leaving the MacBook lid open in such a case can be distracting as you will have two screens to view. It can also drain the battery pretty quickly.

MacBook with lid closed

A second use case for keeping your Mac awake with the lid closed is when you’re downloading large files. If you are downloading a file that will take several hours to complete, you should close the lid while keeping the file awake so that the download can proceed seamlessly.

You can also use this as a simple trick to prevent your Mac from going to sleep when it’s idle. You don’t want your MacBook to go to sleep during a presentation!

See more:  How to Print Tracked Changes and Comments in Microsoft Word Documents

Install and set up Amphetamine

Unfortunately, there’s no built-in app or feature on macOS that prevents your Mac from going to sleep. There is a third party app to achieve that – Amphetamine.

It’s free to download from the App Store and without any ads. It’s lightweight, non-intrusive, and works as intended.

Step 1: Download Amphetamine from the App Store on your Mac. Once done, tap ‘Open’.

ampehtamine on the app store

Step 2: You should now see a circular icon on your Mac’s menu bar that looks like a pill. Click it.

keep mac from sleeping amphetamine

Step 3: Hover over ‘Quick Options’ and uncheck the box next to ‘Allow system to sleep when screen is closed’.

prevent macbook from sleeping when lid is closed

Step 4: This will trigger a pop-up asking you to install Amphetamine Enhancer. This is an unsafe application that will make sure your Mac doesn’t go to sleep when the lid is closed. Click ‘Get Amphetamine Booster’.

keep macbook awake

Step 5: A browser window will show you some frequently asked questions about Amphetamine. Scroll to the bottom of the page and you will find a Github link to download Amphetamine Enhancer.

Download link

Step 6: Double-click the downloaded .dmg file to run it. You should now see a Finder window open. Drag the ‘Amphetamine Enhancer.app’ icon onto the ‘Apps’ icon. Once done, close the Finder window.

finder window

Step 7: Open the ‘Applications’ folder on Finder and double-click Amphetamine Enhancer to run the installer.

keep macbook awake with lid closing app

Step 8: Click ‘Open’ when prompted.

open button

Step 9: In the installer window, select ‘Closed-Display Mode Fail-Safe’ in the left column and click ‘Install.’ Close the installer once done.

See more:  How to Use Nova Launcher with Sesame Shortcuts to Create Universal Android Search

prevent macbook from sleep mode

Amphetamine is now set up on your MacBook. This is a one-time process.

How to keep your Macbook running when the lid is closed

Now that Amphetamine is up and running on your Mac, here’s how you can prevent your Mac from going to sleep when the lid is closed.

Step 1: Click on the pill icon on the menu bar to open Amphetamine.

keep mac from sleeping amphetamine

Step 2: Click ‘Unlimited’ to start a new session. Your Mac will now work even with the lid closed for an indefinite amount of time until you manually end the session.

prevent macbook from sleeping indefinitely

Step 3: To end a session, tap the pill icon again and select ‘End Current Session’.

end of sleep session

Step 4: You can also run the app for a set amount of time. This will keep your Mac running for that specific amount of time. Instead of selecting ‘Indefinitely’, select the required ‘Minutes’ or ‘Hours’ option from the menu.

prevent sleep for the set time

If you selected the ‘Indefinitely’ option, make sure to end your session once you’ve finished using your MacBook. Or else your Mac won’t go to sleep and it will drain the battery completely.

How to Start an Amphetamine Session on Warm Up

If you want your MacBook to stay awake and not sleep every time it turns on, you can enable it to start a session every time you log in. Here’s how.

Step 1: Click on the pill icon on the menu bar to open Amphetamine.

keep mac from sleeping amphetamine

Step 2: Select the ‘Options’ option.

amphetamine hobby

Step 3: Check the boxes next to ‘Launch Amphetamine on login’, ‘Start session when Amphetamine launches’ and ‘Start session after waking up.’

See more:  How to Easily Download Songs From MySpace as Mp3 Files

prevent macbook from sleeping with lid closed on startup

Step 4: Close the window and you are ready to go.

Each time you turn on your MacBook, Amphetamine will automatically launch and start a session.

Keep your Mac up and running

Here’s how you can prevent your MacBook from sleeping even with the lid closed. You can connect it to a monitor without problems or download large files in the background overnight. Let us know your use case for keeping your MacBook alive in the comments below.

Categories: How to
Source: thpttranhungdao.edu.vn/en/

Rate this post

Leave a Comment