On your schedule
Set a duration in minutes or keep it on indefinitely. When the timer ends or you quit the app, sleep prevention started by the app is removed.
Build still running?
Clamsomnia keeps your Mac awake. Click the little cat in your menu bar and let your work carry on.
macOS 14 or later · Requires Xcode
Give it a click. This demo won’t change your Mac’s settings.
Set a duration in minutes or keep it on indefinitely. When the timer ends or you quit the app, sleep prevention started by the app is removed.
Allow sleep automatically when your battery reaches a chosen percentage. Applies only on battery power and does not force your Mac to sleep.
Optionally suppress idle display sleep and the idle screen saver. Manual locking and your organization’s security policies still apply.
Clone the repository, then build and install locally. No extra dependency packages to install.
You’ll need macOS 14 or later, Xcode with Command Line Tools, and Git. Installation asks for your administrator password once.
To keep distribution costs down, Clamsomnia is currently available as source on GitHub rather than through the App Store.
git clone https://github.com/mytory/clamsomnia.git
cd clamsomnia
./Scripts/install.sh
open /Applications/Clamsomnia.appOpen Xcode once to finish its initial setup. Check that the build tools are available with xcodebuild -version.
Lives in the menu bar, out of your Dock. Turn it on when you need it. Turn it off when you’re done.
The initial value is 300 minutes. Choose unlimited if you prefer, and change it in settings whenever you like.
Right-click to see the time remaining, the restore deadline, or open settings.
Choose a battery threshold, automatic lock prevention, launch at login, and activation on launch independently.
It disables system sleep, so it also affects other sleep situations. macOS may still sleep under low battery or thermal conditions. Check heat and battery levels when carrying your Mac in a bag.
No. It suppresses idle display sleep and the idle screen saver during an app-owned prevention session. It does not unlock an already locked screen or override manual locking, lid closure, or administrator security policies. Keeping the display on can use more battery.
Quitting restores the sleep setting for sessions started by the app. It does not automatically remove sleep prevention started by another tool. To sleep immediately, right-click the cat and choose the command to disable prevention and sleep.
To update, quit the app, run git pull --ff-only in the repository, and reinstall with ./Scripts/install.sh. To uninstall, quit the app and run ./Scripts/uninstall.sh. This removes both the app and its privileged helper.