macOS sleeps a laptop when its lid closes, no matter what apps ask. Midnight Oil needs a small helper, approved once in System Settings › Login Items, to turn that off during a session. Sleep is restored as soon as the session ends or Midnight Oil quits.
Things that happen on a real Mac
Triggers start a session on their own when your setup matches, and end it when it stops matching. Try two sample ones.
Don't want to wait?
Run the demo clock at one minute per second to watch the counter roll and timed sessions run out.
Try this
- Open Keep Awake For and pick 15 minutes, then Extend Session.
- Turn on Stay awake with lid closed.
- Pick a time under Keep Awake Until to see the 24-hour dial.
- End Session, then let a trigger start a new one.
A web demo with sample data. The triggers, apps and files are made up, and the session lives only in this tab. It never touches your Mac and saves nothing you do.
brew install --cask coreyhaines31/tap/midnightoilOr install with Homebrew. macOS 14 or later · Apple Silicon and Intel · Notarized by Apple