Articles

Guides for running Mac work, safely.

Practical, calm reads on keeping a Mac working with the lid closed, and doing it within battery and thermal safety.

Featured
Lid-closed

How to keep a Mac awake when the lid is closed

The safe ways to keep a Mac awake with the lid closed, plus the habits that actually reduce risk.

Read guide
Lid-closed

How to keep a Mac awake when the lid is closed

The safe ways to keep a Mac awake with the lid closed, plus the habits that actually reduce risk.

Read
Lid-closed

Keep a MacBook running with the lid closed

Awake is not running. How to let builds, jobs, and downloads finish with the lid shut, safely.

Read
Workflow

A lid-closed developer workflow for the MacBook

Close the lid, run Claude Code, Cursor, or Codex, and let the job finish — with battery and thermal guardrails.

Read
Closed-lid

Closed-lid mode on macOS, without a kext

The honest technical explanation: a documented pmset toggle, always paired, with CrashGuard to clean up — no kext, no display-faker.

Read
Alarm

Does a Mac alarm go off with the lid closed?

Usually yes — macOS can wake from sleep to sound a Clock alarm with the lid closed. Here is what happens and when running a workload changes the picture.

Read
pmset

A safer alternative to pmset disablesleep

pmset disablesleep keeps a Mac awake lid-closed, but it is easy to leave on. Here is a safer alternative that pairs the toggle and cleans up after a crash.

Read
Clamshell

Clamshell mode on MacBook: what it means for AI work

The two lid-closed modes developers confuse — and which one actually fits AI agent work.

Read
Closed-lid AI

What is a Closed-Lid AI Workflow?

What a Closed-Lid AI Workflow is, how it differs from clamshell mode, and what keeps it safe on Mac.

Read
Server

Can you use a MacBook as a server with the lid closed?

A closed MacBook can run local APIs, LLM endpoints, and tunnels — for dev sessions, not production. Here is what works and what to watch.

Read
Keep-awake

How to keep a Mac from sleeping

The System Settings toggle, caffeinate, and pmset — what each actually covers, and the safer way to prevent a Mac from sleeping through a long unattended job.

Read
Keep-awake

How to keep your computer awake

The built-in power settings, the caffeinate command, and the safer option for a long job you want to finish while you step away — Mac-focused, cross-platform aware.

Read
Claude Code

Keep Claude Code running when your MacBook is closed

Let a long Claude Code agent run survive a closed lid overnight, without draining or overheating the Mac.

Read
Cursor

Keep a Cursor agent running on your Mac

Stop a closed lid from stalling your Cursor agent or a big project re-index.

Read
Docker

Prevent Mac sleep during a Docker build

Long Docker builds and a sleeping Mac do not mix. Here is the safe, cache-friendly fix.

Read
Keep-awake

Best Mac keep-awake app for AI developers — 2026 guide

A buyer's guide to keep-awake apps for AI developers — when Claude Code, Cursor, Codex, or Ollama has to keep running unattended.

Read
Ollama

Keep Ollama running on a MacBook

Run local models and long generations for hours without the Mac dozing off.

Read
Terminal

Prevent Mac sleep during a long terminal command

Keep a long rsync, build, or script alive until it finishes, with caffeinate or something safer.

Read
Auto Mode

Keep your Mac awake only while it's actually working

An app being open is not the same as it working. Auto Mode keeps the Mac awake only while something is genuinely busy.

Read
Run Command

Run a long command, then let your Mac sleep when it's done

Hand LidRun a command; it stays awake for the command's whole life, reports the result, then lets the Mac sleep.

Read
CLI

LidRun CLI: keep a Mac awake from the terminal

A tour of the lidrun command-line tool, the commands it gives you, and how it slots into scripts and laptop CI.

Read
Alerts

Get a ping when your training run or build finishes

Start a long run, walk away, and let LidRun ping your phone when it finishes or when a safety limit trips.

Read
Reports

Your weekly workstation report: how hard your Mac actually ran

A weekly look back at runtime, your longest session, and a 0 to 100 score, all computed locally with nothing uploaded.

Read
Builds

Stop your Mac sleeping during a long build

Native compiler and package-manager builds outlast the idle timer. Two safe ways to keep the Mac awake until the build is actually done.

Read
Codex

Keep Codex running overnight on a Mac

Start a long Codex run before bed and find it finished — here is how to keep Codex running overnight on a Mac, with battery and thermal guardrails.

Read
AI Agents

Keep AI Agents Running While You Sleep

AI agents stop overnight when Mac sleeps. Process-tied keep-awake, battery floor, thermal limits — the safe overnight pattern.

Read
Diagnostic

What Is Keeping Your Mac Awake? Here's How to Find Out

Find which app is holding your Mac awake using pmset -g assertions and Activity Monitor, then decide what to do.

Read
AI Agents

How AI Agents Changed Laptop Power Management

AI agents run for hours without user input. Here is what that break in assumptions means for Mac power management.

Read
AI Agents

What Is AI Agent Continuity?

Three Mac failure modes that kill agent runs — and the safe pattern to keep Claude Code or Cursor running start to finish.

Read
AI Workstation

What Is an AI Workstation Guard?

Keep-running, battery and heat limits, alerts, and honest tradeoffs for AI workloads on Mac.

Read
Battery

MacBook auto sleep on low battery

Set a floor once and let a low charge end a session cleanly instead of draining to zero.

Read
Thermal

When your MacBook gets hot while coding

Why a Mac heats up under load and what genuinely helps, with no magic claims.

Read
Cooling

Mac fan control for developers

The honest limits of fan control on Apple Silicon, and a thermal-aware approach that fits dev work.

Read
Safety

The safety governor: why LidRun won't keep a hot or idle Mac awake

The guardrails that gate every keep-awake decision, and why a wake lock without them is a bad idea on long runs.

Read
Thermal

Reading real CPU temperature on Intel and Apple Silicon Macs

How temperature reading actually works through the SMC, and why two apps can show different numbers.

Read
Safety

The closed-lid heat trap: why a Mac cooks in a bag or car

The physics of trapped heat, why an unguarded wake lock is dangerous in a bag, and the honest limit of what software can do.

Read
Smart Rules

Smart Rules: if-this-then-that for Mac power and cooling

Describe when your Mac should stay awake, cool down, or sleep, and let LidRun react instead of you babysitting a switch.

Read
Battery

Keep a build alive on battery, away from an outlet

How to keep a Mac awake on battery at a café, stretch the runtime with a quiet display dim, and let a low charge end the session cleanly.

Read
Safety

Closed-lid mode safety guide for MacBook workloads

The complete safe pattern for closed-lid MacBook use: surface rules, battery and thermal guardrails, and the honest limits of what software can watch.

Read
Safe Runtime

What Is a Safe Runtime Layer for Mac?

A wake lock keeps your Mac on. A safe runtime layer keeps it on safely — watching battery, heat, and process state.

Read
Safety

Developer Runtime Safety for AI Agents

Why battery floors, thermal stops, and session timers matter when AI agents run unattended overnight on your Mac.

Read
Thermal

MacBook fan loud when lid closed: what it means

Why a closed lid makes fans louder, how to find the cause fast, and when to act versus wait.

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.