Lid-closed & keep-awake
Guides in the Lid-closed & keep-awake category.
How to keep a Mac awake when the lid is closed
Every real way to keep a Mac awake with the lid closed, from a one-line pmset command to a monitored Closed-Lid session — and where each one runs out.
Read →Lid-closedKeep a MacBook running with the lid closed
Long builds, overnight syncs, unattended agent runs — how to actually keep a MacBook working with the lid shut for hours, and know what happened when you get back.
Read →WorkflowA lid-closed developer workflow for the MacBook
The free pmset and caffeinate tricks for a closed lid, where they run out of road, and the workflow LidRun builds on top — with battery and thermal auto-stop underneath.
Read →Closed-lidClosed-lid mode on macOS, without a kext
The honest technical explainer: what pmset disablesleep actually does, what caffeinate and Apple's own external-display clamshell mode already give you for free, and how LidRun holds the same toggle without leaving it stuck on.
Read →AlarmDoes a Mac alarm go off with the lid closed?
Yes — a Clock alarm set before you close the lid still sounds, because it schedules a system wake instead of checking whether the lid is open. Here's the mechanism, the failure modes, and what to do if you don't want to depend on it.
Read →pmsetA safer alternative to pmset disablesleep
pmset disablesleep works, but it's a global switch that's easy to forget about. Here are the free options worth trying first, then how LidRun pairs the same toggle with a battery and thermal auto-stop that catches what you forget.
Read →ClamshellClamshell mode on MacBook: what it means for AI work
Traditional clamshell mode needs a monitor. Running an AI agent lid-closed with no display needs a completely different mechanism — here's the real one, the free version, and where it breaks.
Read →Closed-lid AIWhat is a Closed-Lid AI Workflow?
What a Closed-Lid AI Workflow actually is, why closing the lid alone kills a running job, and the guardrails — thermal, battery, and timer — that keep it safe on Mac.
Read →ServerCan you use a MacBook as a server with the lid closed?
A closed MacBook can serve local APIs, LLM endpoints, and tunnels for dev sessions. Here's the mechanism that actually matters, the free ways to do it, and where they can bite you.
Read →Stop reading. Start running.
Keep your work alive with the lid closed, with safety built in.
Download for macOS