NoSleepToggle is a small macOS menu bar app that keeps your Mac awake with one click.
The main goal is simple: keep your personal Mac running in the background for long tasks, especially when you want to host OpenClaw and do not want the machine to sleep after you close the lid.
- Keeps your Mac awake during long-running work
- Useful for hosting OpenClaw on your personal Mac
- Helps downloads, builds, scripts, and SSH sessions continue in the background
- Lives in the menu bar so you can turn it on or off instantly
- Can start automatically at login
When No Sleep is ON, the app applies:
pmset -a disablesleep 1caffeinate -dimsu
- Host OpenClaw on your personal Mac and keep it running in the background
- Close your Mac and let a long build keep running
- Keep large downloads from stopping halfway
- Keep remote SSH or terminal work alive
- Prevent sleep during presentations, installs, or background jobs
- Download the latest
.zipfrom Releases. - Extract the
.zipto getNoSleepToggle.app. - Open the app directly, or move it anywhere you want first.
- Click the menu bar icon and turn
No SleepON when you want your Mac to stay awake.
No Sleep: ON/OFFLaunch at Login: ON/OFFRefresh statusQuit
This app is meant for people who want their Mac to keep working instead of sleeping during long tasks, especially if the machine is being used as a lightweight personal host for something like OpenClaw.
Actual behavior can still depend on your specific Mac model, power setup, and macOS behavior.
Current builds are distributed as a .zip with an unsigned app bundle.
Why macOS may say the app cannot be opened:
- The release is not signed with Apple Developer ID
- The release is not notarized by Apple
- macOS Gatekeeper treats apps downloaded from the internet more strictly
If macOS blocks the app:
- Right-click
NoSleepToggle.appin Finder and chooseOpen. - If needed, go to
System Settings > Privacy & Securityand chooseOpen Anyway.
If you moved the app somewhere else, use that path instead of Applications in the command below.
Optional terminal workaround:
xattr -dr com.apple.quarantine /path/to/NoSleepToggle.appcd /Users/cuong/workspace/NoSleepToggle
./scripts/build_app.sh
open /Users/cuong/workspace/NoSleepToggle/dist/NoSleepToggle.appPush a tag that starts with v to create a GitHub Release automatically.
The release uploads a .zip containing NoSleepToggle.app.
git tag v1.0.1
git push origin v1.0.1