VCode home

Keep a workstation awake

Agents: claude, codex, opencode, cursor · On: phone, desktop · beta

VCode can stop a workstation from going to sleep, so your agents keep working and your phone can still reach it. You pick, per workstation: never, while agents work, or always.

Why you would use it

You start a long task from your phone and walk away. Without this, the workstation can fall asleep halfway through: the agent stops, and the phone shows the workstation as offline until someone wakes it.

How to use it

  1. Tap the cog (#settings-open).
  2. Find the Keep awake group (#settings-awake). It has one row for each workstation on your account.
  3. Pick a mode in that workstation's row: Off, While agents work or Always. The group says Saved when the workstation has it.

The Keep awake group with two workstations: dev-box set to Always, dev-box-2 on While agents work.

What you see

Each row shows the workstation's name and its mode. A note under the name shows only when something needs saying:

Note Meaning
Cannot keep awake: <reason> The workstation tried and the system refused. The reason is the system's own message.
Update this workstation to use it The workstation runs a VCode from before this setting.
offline, or the connection message The app cannot reach the workstation. Its row is greyed out.

The notes are read when you open settings, and after each change.

Options and settings

Option Default What it changes
Off The workstation sleeps as its own power settings say.
While agents work yes Awake while any tab is running a turn, has messages queued, a subagent running or a background command, and for 10 minutes after the last one finishes.
Always Awake for as long as VCode runs.

Each workstation keeps its own mode. It is not part of the settings your workstations share: a laptop and a desktop on one account usually want different modes.

Limits and known gaps