The problem
macOS updates and app installations can take a long time. If your Mac sleeps during an update, it can corrupt the installation.
Why it happens
macOS does prevent sleep during critical system updates, but non-critical updates, App Store installs, and Homebrew/package manager operations don't always have this protection.
The fix: Shake It On
Shake It On keeps your Mac awake by moving the mouse slightly at regular intervals. macOS sees real user activity and resets the idle timer. Set it up with the right conditions and it only runs when you're actually system updates.
Recommended conditions for system updates:
- Only Shake If CPU is above 15%
- Paused When on battery