Category

Lid-closed & keep-awake

Guides in the Lid-closed & keep-awake category.

Lid-closed

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-closed

Keep 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
Workflow

A 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-lid

Closed-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
Alarm

Does 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
pmset

A 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
Clamshell

Clamshell 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 AI

What 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
Server

Can 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

Curious if LidRun is right for you?

Let ChatGPT, Claude, or Perplexity look into it — click below and see what AI actually thinks about LidRun.