Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Isn't there software that does exactly this? Called caffeine, I believe?


ITYM "caffeinate"

  DESCRIPTION
     caffeinate creates assertions to alter system sleep behavior.  If no
     assertion flags are specified, caffeinate creates an assertion to prevent
     idle sleep.  If a utility is specified, caffeinate creates the assertions
     on the utility's behalf, and those assertions will persist for the
     duration of the utility's execution. Otherwise, caffeinate creates the
     assertions directly, and those assertions will persist until caffeinate
     exits.


Installing software generally requires user permission. Replacing Hw can be done surreptitiously. At least that’s the strongman variant of the security argument.


`caffeinate` is installed by default on macOS.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: