Macos – Keep MacBook running with lid closed for specified duration

laptopmacmacbookmacossleep

Occasionally it's useful to leave a MacBook running for an hour or so to complete updates or some lengthy data analysis at the end of the day. I'd like to be able to close the lid of the MacBook or turn off the screen to prevent unnecessary light pollution.

I have previously used two apps, Caffeine and NoSleep, to keep a MacBook awake.

  • Caffeine allows you to specify a duration to keep the MacBook awake for, but closing the lid puts the laptop to sleep.
  • NoSleep allows you to close the lid of the laptop (which turns off the screen, keeping any processes running), but you cannot specify a timeout duration.

I'm looking for a solution that both allows the user to close the lid and specify a timeout duration. I don't want to leave the laptop running all night; usually just 30 minutes to an hour.

Any solutions?

Best Answer

Github user iccir has made a very handy little menubar app called Fermata that does exactly what you want: keeps a MacBook awake with the lid closed, and allows you to set a timeout duration.

I just tried it on Mojave (10.14.2) and it worked great for me. https://github.com/iccir/Fermata

Related Question