#
hs.caffeinate.watcher
Watch for display and system sleep/wake/power events and for fast user switching session events.
This module is based primarily on code from the previous incarnation of Mjolnir by Steven Degutis.
#
API Overview
Constants - Useful values which cannot be changed
screensaverDidStart screensaverDidStop screensaverWillStop screensDidLock screensDidSleep screensDidUnlock screensDidWake sessionDidBecomeActive sessionDidResignActive systemDidWake systemWillPowerOff systemWillSleep
Constructors - API calls which return an object, typically one that offers API methods
new
Methods - API calls which can only be made on an object returned by a constructor
start stop