SleepPilot app icon

Keep your Mac awake until the job is done

SleepPilot sits in the menu bar as a small moon. Keep the Mac awake until you stop it, for a while, or until a command, a download or a backup finishes. Then it lets the Mac sleep. When it should be sleeping, SleepPilot shows you which apps keep it awake.

Coming soon to the Mac App StoreSee how it works

macOS 14 Sonoma or later · Apple silicon and Intel

A Mac desktop with an AI coding agent running in Terminal. The SleepPilot panel is open under the menu bar moon, which reads 2 tasks: it keeps the Mac awake until the agent in Terminal and the Xcode_17.xip download finish, with options to keep the display on and stop at 20% battery, and Google Chrome listed as also keeping the Mac awake.

Awake until it’s finished, then asleep

Pick what you’re waiting for under Until done… SleepPilot keeps the Mac awake while it runs and notices when it ends, so you don’t have to guess how long to set a timer for.

A command in Terminal

An AI coding agent, a build, ffmpeg, rsync, npm: anything you started from a shell.

A download

A file in your Downloads folder that is still downloading. It counts as done after a minute without changes.

A Time Machine backup

The backup that is running now.

When the last one ends, SleepPilot lets go: your Mac sleeps as usual, and a notification tells you what finished. From Terminal or a script you can do the same with a link:

your-command & open -g "sleeppilot://wait?pid=$!"

Keep your Mac awake until a command or AI agent finishes · until a download finishes

See what keeps your Mac awake

Some apps stop the Mac from sleeping and never tell you: a paused video in a browser tab, a call app with the microphone open, an app that holds the Mac awake for as long as it’s open. SleepPilot lists every one by name, right in the panel, and warns you when one holds the Mac awake for too long while nobody is using it.

  • coreaudiod: Keeps the Mac awake while any app plays or records sound, even silence.
  • Google Chrome: “Playing audio”, “Video Wake Lock”, “Capturing” or “Download in progress”.
  • Electron: An app built with Electron asked to stay awake; the assertion is named just “Electron”.
  • caffeinate: Someone, or a script, asked the Mac to stay awake from Terminal.
  • powerd: “Prevent sleep while display is on”: normal while you use the Mac, gone when the display sleeps.
  • WindowServer: Every key press and mouse move counts as activity, so the idle timer starts again.

Everything that can keep a Mac awake, explained

The SleepPilot panel lists Google Chrome (playing sound, 1 hour 12 minutes, with a Show button) and Time Machine (backing up) as keeping the Mac awake. A notification says Google Chrome has kept the Mac awake for 1 hour 12 minutes, with Show the app and Allow always buttons.

A report of the night, every morning

SleepPilot notes when your Mac sleeps and wakes and which apps keep it awake. In the morning it shows how long the Mac slept, how long it stayed awake while nobody used it, what kept it awake, and how much battery it used. The notes stay on your Mac for 30 days.

Why a MacBook battery drains overnight

SleepPilot’s Last night window: the Mac slept 7 hours 7 minutes and stayed awake for 1 hour 25 minutes while nobody used it, mostly because of Google Chrome. A timeline from 22:00 to 08:00, 2 wakes, battery from 82% to 76%, and the apps that kept it awake: Google Chrome 1 hour 4 minutes, Time Machine 21 minutes.

The simple things work simply

One click

Click the moon, then ∞ to keep the Mac awake until you turn it off, or 30 minutes, 1 hour, 3 hours. The countdown sits next to the moon.

A keyboard shortcut

Press ⌃ ⌥ S in any app to turn it on or off. A short sign on screen confirms it.

Display on, or just the Mac

Keep the screen lit for a presentation, or let it go dark while the work goes on.

Safe for the battery

SleepPilot lets go when the battery drops to the level you choose, and when macOS reports that the Mac is overheating.

From scripts

open -g "sleeppilot://start?minutes=90" and sleeppilot://stop work from Terminal, scripts and automations.

Private

No account, no analytics, no internet connection. Everything stays on your Mac.

Control-Option-S pressed: a sign on screen says Keeping your Mac awake. The SleepPilot panel shows a 1-hour timer with 42 minutes left, and the menu bar moon shows 42:00.

What SleepPilot doesn’t do. It doesn’t keep a MacBook awake with the lid closed: closing the lid still puts it to sleep unless it’s in Apple’s closed-display mode. And it can’t quit other apps for you; it shows you which one to close.

Questions

Can’t I just use caffeinate in Terminal?

Yes. caffeinate -i keeps the Mac awake until you press Control-C, and caffeinate -w waits for one process. SleepPilot does the same from the menu bar, also waits for downloads and backups, shows which other apps keep the Mac awake, and tells you when the job is done. More about caffeinate

Does it keep a MacBook awake with the lid closed?

No. Closing the lid still puts a MacBook to sleep, unless it’s connected to power and an external display (Apple’s closed-display mode). What closed-display mode needs

Why does SleepPilot say Chrome, Claude or another app keeps my Mac awake?

Because that app asked macOS not to sleep. SleepPilot reads the same list you can see in Terminal with pmset -g assertions. What each name means

Can it quit the app that keeps my Mac awake?

No. Mac App Store apps can’t quit other apps. The Show button brings that app forward so you can close the tab, end the call or quit it yourself.

Does SleepPilot collect any data?

No. There’s no account, no analytics, and it doesn’t connect to the internet. The notes for the night report stay on your Mac for 30 days. Privacy policy

Which Macs does it run on?

macOS 14 Sonoma or later, on Apple silicon and Intel.

Is it a subscription?

No. SleepPilot is a one-time purchase on the Mac App Store.

SleepPilot

In review at Apple now, coming soon to the Mac App Store. A one-time purchase: no subscription, no account.

Coming soon to the Mac App Store

macOS 14 Sonoma or later · Apple silicon and Intel

Questions, a bug, an idea: founder@rubanov.cloud. Support · Privacy