Site icon ChrisWrites.com

How to use your MacBook with the lid closed

The idea of keeping your MacBook running when its lid is firmly closed may sound like the perfect way to waste your Mac’s precious battery! However, there are times when it can beneficial to keep your Mac bright-eyed and wide awake, even though its lid is firmly shut.

Perhaps you want to play music from your Mac or attach it to an external monitor, without having to leave its lid propped awkwardly open. Or, maybe you need to download a large application or update, and don’t want to keep nipping back every few minutes, just to wiggle your Mac’s mouse and prevent it from falling asleep.

In this article, I’ll show you how to ensure your Mac remains wide awake, even when its lid is closed.

How to stop a MacBook from sleeping with the lid closed

If you’re downloading a large file or system-level update, then preventing your Mac from drifting to sleep mid-download can be a challenge.

There’s a few potential workarounds, including making a point to interact with your Mac once every few minutes, or leaving one of those “10 hours of perfect silence” YouTube videos running, but neither of these solutions are ideal! Perhaps you get delayed and your Mac drifts off to sleep anyway; the YouTube video ends before your download hits 100%; or perhaps your roommate spots your Mac, apparently stood idle and “helpfully” closes the lid for you.

By default, macOS automatically enters a sleep state every time you close the lid, but there’s a number of third party apps that can change this behaviour.

In this tutorial, we’ll be using the Amphetamine app, as it’s free to download and easy to use:

Amphetamine has two states. You can see what state Amphetamine is currently in, by glancing at its icon in the Mac menu bar:

You can toggle between these two states, by clicking the Amphetamine icon.

If you struggle to remember whether vertical means active or inactive, then you can check Amphetamine’s current state, by right-clicking the Amphetamine icon in your Mac’s menu bar. A dropdown menu will appear, prompting you to either start a new session, or end the current session.

Stop your Mac from falling asleep

To put your Mac into an active Amphetamine state, either:

To end the current session, so that your Mac will drift off to sleep whenever you close the lid, either:

Setting a schedule

If you know how long you want your Mac to remain awake, then you can tell Amphetamine to run until a preset time. To create this schedule, right-click the Amphetamine icon and then choose from the available times, which range from 5 minutes, to 24 hours.

You can also use Amphetamine to ensure macOS remains awake until a specific task is complete. Most notably, you can right-click the Amphetamine icon and then tell it to keep your Mac awake until a specific file has finished downloading, by selecting “While File is Downloading…”

How to use your Mac with an external monitor

If you’re using your MacBook with an external monitor, then you may not want to leave your MacBook propped open on your desk all day, taking up space and distracting you from your “main” display.

Let’s look at how you can continue using your MacBook, via an external monitor, while your MacBook’s lid remains firmly closed:

Exit mobile version