MacBook Lid Closed? Fix Screen Backlight Drain
Is your closed MacBook staying warm during long tasks? Learn what may keep the display lit, how to check it, and how Dopamine aims to help.

Why a Closed MacBook Can Stay Warm - and How to Check the Display
You close your MacBook before a long compile, video export, download, or local AI job. The lid is shut, but the Mac is still working. Later, you notice it's warm - and the battery is lower than you expected. It's natural to think, "Okay, the screen never really went to sleep." But depending on your Mac, your macOS settings, what else is connected, and what any keep-awake software is doing, that assumption may be wrong.
One key detail up front: MacBook Air models use an LCD display, not the mini-LED backlight you'll find on some MacBook Pro models. So if someone points at "mini-LED" as the explanation, that won't fit every Apple Silicon MacBook. The real question is simpler: when the lid is closed, does the built-in display actually enter a low-power state - or does it keep drawing power?
This guide walks through clamshell-mode trade-offs, how to check what's happening, and what Dopamine (a small open-source utility) is meant to handle. Along the way, it covers the practical stuff: app compatibility can vary, and "warm laptop" alone doesn't prove the display is the culprit.
Why a closed MacBook Can Remain Awake
Sleep, display sleep, and clamshell mode are different states
People talk about "sleep" like it's one on/off switch. In reality, those behaviors can diverge. Your Mac might keep the CPU busy, the display might turn off (or not), and the system might (or might not) fully sleep. A keep-awake tool is usually meant to prevent idle system sleep, so the computer keeps running.
That doesn't automatically mean the display stays on. And if the display doesn't enter the low-power state you expect, you can end up burning extra power (and generating more heat) while the workload is already doing its own thing. The only reliable way to know is to check your specific setup - model, software state, macOS version - rather than assume it behaves the same everywhere.
It also helps to distinguish two situations: using a MacBook closed while driving an external display versus running with the lid closed and no external display. Apple's clamshell workflows typically involve external power and usually an external display or other connected equipment. A third-party keep-awake utility can change the usual idle-sleep behavior, but it doesn't guarantee every component will follow the exact display/power behavior you had in mind.
Mini-LED is not the same as "every Apple Silicon screen"
This topic is full of easy overgeneralizations. Some 14- and 16-inch MacBook Pro models use Liquid Retina XDR displays with mini-LED backlighting. MacBook Air models use Liquid Retina LCD displays, not mini-LED. An Air can still have a backlight and use power when its display is active - but calling it "mini-LED" is just inaccurate.
If you're troubleshooting, start by confirming your exact model. Open Apple menu > About This Mac, write down the model and chip, and then check Apple's specs for that model. Display technology affects how the backlight behaves, but it doesn't change the main diagnostic question: is the internal display truly off (or otherwise low-power) when the system stays awake?
Why a keep-awake assertion may not tell the whole story
Many macOS keep-awake setups use a power assertion that prevents idle system sleep. Dopamine's developer describes this as keeping the CPU awake while the display subsystem may still need separate handling in some closed-lid scenarios. Their stated goal is to detect the lid state and explicitly request a backlight cutoff.
That's a concrete technical claim from the app's developer - but it's not a universal promise across all Macs and macOS versions. Power management is ultimately handled by macOS and the hardware, and behavior can shift over time. And even if the display is doing what it should, warmth can also come from ongoing CPU/GPU work, poor ventilation, charging, or a mix of those factors.
Bottom line: the display is one possibility to investigate. It shouldn't be your default explanation for every case of heat or battery drain.
What to Check Before Installing Another Utility
Reproduce the situation safely
Before you leave anything closed for hours, try a short, controlled test. Run the same kind of job once with the lid open and once with it closed. Use the same power source, and try to keep the room conditions similar. Note the elapsed time, battery change, fan activity (if you have it), and how warm the case feels. This isn't lab-grade measurement, but it can tell you whether the behavior is repeatable.
Then check the obvious variables:
- Confirm whether the task is CPU- or GPU-heavy. A render or local model inference can create plenty of heat even if the display is fully off.
- Make sure the Mac is plugged in. Charging during a heavy workload can add heat.
- Check that vents (and the underside) aren't blocked. A closed laptop on bedding or a soft surface will run hotter than one on a hard desk.
- Look at connected accessories, external displays, and background processes that might be keeping the system active.
- If it's safe to do so, compare results with and without your current keep-awake utility.
Don't block vents or enclose the Mac to "hide" the problem. If you see excessive heat, unexpected shutdowns, battery swelling, or a persistent burning smell, stop immediately and get appropriate service. Software tweaks aren't a replacement for real hardware or battery issues.
Check macOS settings and the task itself
Review the battery and lock-screen options available in your version of macOS. The names and menus can change between releases, so follow what you see on your own Mac rather than a guide written for a different version. Also make sure the app you're using isn't launching another process that independently prevents sleep.
Activity Monitor can help identify whether a process is using a lot of CPU or energy. It won't tell you whether the display backlight is specifically on, but it helps separate two common causes that get mixed up: the Mac is warm because work is running, or the display is costing extra power on top of the workload.
If you decide to use a keep-awake app, test one tool at a time. Multiple utilities can stack overlapping power assertions, which makes it harder to interpret what's going on. Use the simplest configuration that reliably finishes the job. If you don't need the Mac awake, letting it sleep is usually the better choice for battery life and thermals.
How Dopamine Is Designed to Work
Lid-state detection and backlight control
Dopamine is presented by its developer as a native Swift menu bar utility for Apple Silicon Macs. The project description says it listens for clamshell-state changes through IOKit and responds when the lid closes.
It's built around a specific scenario: keep the system awake long enough to finish the requested work while setting the internal display backlight to zero, then restoring the previous brightness when the lid opens.
That design target matters. Dopamine isn't meant to be a general "cooling" tool, and it can't stop a CPU-intensive workload from generating heat. If your heat comes mainly from a long compile, video export, or local model, turning off the display may reduce one source of power use - but it won't erase the workload's thermal impact.
The project also describes Dopamine as lightweight (Swift + AppKit) and open source under the MIT license. Those details are useful for evaluation, but they don't replace testing on your own Mac. Check the project's documentation for supported models and macOS versions, review release notes, and make sure the build you plan to install is the one you actually want.
What the utility does not establish
A developer's technical description isn't the same thing as an independent test across every MacBook generation. Terms like "zero-nit" (or "complete blackout") describe the intended backlight state, not a proven reduction in battery drain for your exact workload. Real results depend on hardware, OS version, display brightness, whether you're on battery or power, and what your task is doing in the background.
Apple notarization also doesn't mean the app is guaranteed safe in every sense. Notarization is a security check to help macOS identify known malicious software. It's not a full endorsement, a complete security audit, or proof that the app is bug-free. Open-source code makes inspection possible, but most users will rely on the maintainers, release process, and community feedback rather than reviewing every line themselves.
Use the tool only if it matches what you actually need. If you just want the Mac to sleep, a keep-awake utility is solving the wrong problem. If you need a closed-lid task to continue and you've confirmed the display behavior is part of the issue, a display-control utility may be worth testing.
Installing and Evaluating Dopamine
Install from a source you can verify
The project lists two installation options: Homebrew Cask or a direct download. The Homebrew command is:
brew install --cask universalsdk/dopamine/dopamine
You can also review the project and release info on GitHub or via the Dopamine website. Before installing, confirm that the repository and download links still match the project, read the current setup instructions, and double-check compatibility with your Mac and macOS version. Try not to copy install commands from reposted pages you can't verify.
On first launch, macOS may show security prompts for a downloaded app. Follow the developer's current instructions and Apple's guidance; don't bypass Gatekeeper for an unknown binary. If you're comfortable inspecting software, review the project's source and release history. If you're not, use a trusted distribution path and install only what you need.
Run a before-and-after test
A useful test is straightforward enough to repeat:
- Note your Mac model, macOS version, power source, display brightness, and workload.
- Run the task using your usual keep-awake setup, close the lid, and record battery and temperature behavior over a short window.
- Install and configure Dopamine using the current documentation. Confirm it detects lid changes and behaves as expected.
- Repeat the same task under similar conditions. Check whether the display appears to turn off and whether battery use or warmth changes.
- Open the lid and confirm brightness returns properly. If anything behaves oddly, disable or uninstall the utility and check the project's issue tracker.
Avoid a single overnight run as your first test. Start with something you can stop, and a Mac you can physically check. It's also worth testing whether external-display setups change the behavior - what works for a closed internal display isn't guaranteed to fit every monitor arrangement.
Decide whether the trade-off is worthwhile
Adding any small utility means adding another moving part to your system. The payoff is a more explicit way to manage the internal display while the Mac stays awake. That's most worth it when you frequently run closed-lid workloads and you can reproduce the display behavior issue.
It's less convincing when the problem is occasional, when your Mac already sleeps correctly, or when the heat is clearly coming from the workload itself.
A practical order for repeated use is: verify the task actually needs the Mac awake, check airflow and power conditions, measure what's happening, and only then add software if there's a clear gap. That approach helps you avoid installing another menu bar app just to "solve" a problem that's really a heavy render or blocked ventilation.
Conclusion
A closed MacBook that stays warm during a long task isn't automatically a sign of a stuck display backlight. The workload, charging, and airflow all matter. And mini-LED is only relevant to certain MacBook Pro models - not the MacBook Air.
Start by figuring out what your Mac is doing, then decide whether display control is actually the missing piece.
Dopamine is designed for the narrower case where you need the Mac to stay awake with the lid closed and you want the built-in backlight to turn off. Check current compatibility and documentation, test under controlled conditions, and compare it with your usual setup. If something doesn't behave right, consult the Dopamine GitHub project before relying on it for an unattended job.