Hacker News new | past | comments | ask | show | jobs | submit
While it may avoid sleep, it doesn’t prevent inactivity, in my experience. For instance, my chat app at work will still show me inactive while running caffeinate. I have to do non-interactive training semi-regularly and need to interact to keep from looking like I’m away from my desk.
Have you used the `-u` flag? From the manual:

  -u      Create an assertion to declare that user is active.
loading story #42065721