Skip to content

Keep Awake 0.1.4

Latest

Choose a tag to compare

@RonItzhak RonItzhak released this 20 Sep 19:12

Safer by default

  • Quit restores sleep. Closing the lid-stay-awake settings is no longer left on after a clean quit.
  • Force-quit or a crash still leaves keep-awake on; the next launch reads pmset and shows ON. A reboot resets disablesleep but does not restore system/disk sleep — toggle off, Quit, or ./uninstall.sh.
  • Optional auto-off timer (1–8 hours, default off), battery floor (default 15%), and auto-off in Low Power Mode on battery.

Privilege

  • No Touch ID on toggle. After the one-time admin grant, clicks are instant.
  • Sudoers is an allowlist of the pmset commands Keep Awake actually runs (lid, system sleep, disk sleep, restore minutes), not a blanket /usr/bin/pmset.

Uninstall

./uninstall.sh

Restores sleep if still on, removes the app and /etc/sudoers.d/keepawake, then checks that passwordless pmset is gone. Move to Trash does not run this.

Updates

Installing a new pkg quits the running app first (which now restores sleep), then replaces /Applications/KeepAwake.app and launches the new build.

Install

Download KeepAwake-0.1.4.pkg and double-click it. If Gatekeeper blocks it: right-click, Open, then Open anyway.