# Keep awake

> Keep your Mac from sleeping during long AI runs with the coffee cup. Simple on/off, timers, end conditions and automatic rules such as staying awake while AI runs.

Source: https://voidisland.app/docs/keep-awake · Updated 2026-11-23

A long agent run shouldn’t stop because your Mac went to sleep. The keep-awake plugin, the coffee cup, holds sleep off for as long as you need. It uses macOS’s standard sleep-prevention assertion, and lets go as soon as you turn it off.

The plugin is on by default. Its settings are in Island Settings → Keep awake.

## Simple mode

Out of the box, the coffee cup is a switch. Click it to keep your Mac awake; click again to stop. While it’s on, an orange cup appears beside the cat.

In simple mode, the display stays on too, and the Mac keeps running if you close the lid. Nothing turns on by itself: out of the box, Void Island doesn’t keep your Mac awake while AI runs. For that, turn on Advanced mode (below).

## Advanced mode

Turn on **Advanced mode** in Settings → Keep awake for timers, end conditions and automatic rules. The island then gets its own keep-awake tab.

### Manual sessions

Start a session from the keep-awake tab and choose how long:

- 15 minutes, 30 minutes, 1 hour, 2 hours, 3 hours, or until you turn it off
- until a time later today, on any half hour
- until all AI sessions end
- until the current focus round ends (Focus comes with Voido)
- until your current calendar event ends (needs Voido)

Two settings apply to manual sessions:

| Setting | Default | What it does |
|---|---|---|
| Display on during manual sessions | On | Off, only the Mac stays awake; the display still dims and sleeps. |
| Stay awake with the lid closed during manual sessions | On | The Mac keeps running with the lid closed. On battery it keeps draining and can get warm. When the session ends, closing the lid sleeps as usual. |

### Automatic rules

These start keep-awake for you:

| Setting | Default | What it does |
|---|---|---|
| Keep awake while AI runs | On | While any AI session runs or waits for you, the Mac won’t idle-sleep. Released 2 minutes after they all stop. |
| Keep awake while focusing | Off | Stays awake during a focus round. |
| Keep awake while these apps run | Empty | App names or bundle IDs, separated by commas or new lines, for example `Xcode, com.docker.docker`. |
| Display on when kept awake automatically | Off | Keeps the display on as well while a rule holds the Mac awake. |
| Automatic only on power | Off | On battery, the automatic rules pause. Sessions you start yourself still run. |
| Stop below battery | 10% | On battery below this level, manual and automatic sessions both stop, with a note. Choose No limit, 10%, 20% or 30%. |

The 2-minute grace period covers the short gaps between an agent’s turns, so your Mac doesn’t doze off between them.

Automatic rules only work in advanced mode. In simple mode, the cup only turns on when you click it.

## Common questions

### Will my Mac stay awake while Claude Code runs?

Yes, with advanced mode on: Keep awake while AI runs is on by default there. In simple mode, click the cup before you step away.

### Does it keep running with the lid closed?

During manual sessions, yes, as long as Stay awake with the lid closed during manual sessions is on (the default). Automatic rules don’t keep a closed Mac running.

### Does it drain my battery?

Keeping a Mac awake uses more power, especially with the display on or the lid closed. Use Automatic only on power and Stop below battery to limit it.
