Keep your Mac awake while coding agents work
Start a long task and walk away. Dotwatt holds sleep off only while an agent is busy, and lets the Mac sleep five quiet minutes after the last one stops.
Buy Dotwatt Try free for 7 days
- Claude Code
- Codex
- Cursor
- Gemini
- Copilot
The Mac sleeps, the task stops
An agent can work for an hour without you. A MacBook left alone goes to sleep long before that, and the task waits until you are back. Keeping the Mac awake all the time fixes the task and costs the battery: it stays awake all night for a job that ended at seven.
Awake only while an agent is busy
- Click the dot battery in the menu bar and choose Agents under Stay awake.
- Dotwatt watches the coding agents on your Mac and holds sleep off while one of them is working.
- Five quiet minutes after the last one stops, the Mac sleeps as usual.
The panel lists each agent as working, waiting or not running, so you can see why the Mac is awake. On battery, Dotwatt lets go at a charge level you choose in its settings.
The agents it recognises
Claude Code, Codex, Cursor, Gemini, Copilot, OpenCode, DeepSeek, Antigravity, Qwen Code, Goose, Aider, Kimi, Grok. Only the ones installed on your Mac are listed in the app.
Start it from a script
Other apps can switch the mode with a link: dotwatt://awake?mode=agents turns it on and dotwatt://awake/off turns it off. The links work from Raycast or a shell script. The Shortcuts app has Dotwatt's own actions, Keep Mac Awake among them, and a key you choose in the settings switches Stay awake on or off from any app.
The rest of Dotwatt
The same panel shows how long the charge lasts and which apps spend it, holds the charge at 80% and switches Low Power in one click. See everything it does.