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.
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.
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!
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’.
Step 2: You should now see a circular icon on your Mac’s menu bar that looks like a pill. Click it.
Step 3: Hover over ‘Quick Options’ and uncheck the box next to ‘Allow system to sleep when screen 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’.
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.
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.
Step 7: Open the ‘Applications’ folder on Finder and double-click Amphetamine Enhancer to run the installer.
Step 8: Click ‘Open’ when prompted.
Step 9: In the installer window, select ‘Closed-Display Mode Fail-Safe’ in the left column and click ‘Install.’ Close the installer once done.
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.
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.
Step 3: To end a session, tap the pill icon again and select ‘End Current 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.
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.
Step 2: Select the ‘Options’ option.
Step 3: Check the boxes next to ‘Launch Amphetamine on login’, ‘Start session when Amphetamine launches’ and ‘Start session after waking up.’
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/