KeepingYouAwake vs Lidwork: lid open or lid closed?

KeepingYouAwake is one of the best free Mac utilities. It also says plainly what it doesn't do.

Updated · by Sasha Yakovlev, maker of Lidwork

Quick answer

KeepingYouAwake is a free, open-source (MIT) menu-bar wrapper around Apple's caffeinate; its README says it prevents sleep only on desktop Macs and laptops with an open lid. If you need the lid closed without a monitor, Lidwork does that and restores normal sleep if it crashes or the battery hits your limit.

At a glance (as of Oct 2026)

LidworkKeepingYouAwake
Lid closed, no monitorYesNo — open lid or desktop only (per its README)
How it worksSandboxed background part sets macOS's lid-sleep switch for appsWrapper around caffeinate
PasswordNoneNone
If it crashesBackground part turns lid sleep back on: at once after a crash, within 30 s after a hangNothing to restore (caffeinate assertion ends)
Battery cutoff10 / 20 / 30%, always onYes, low-battery cutoff
InstallMac App Storebrew install --cask keepingyouawake or GitHub
SourceClosedOpen source, MIT
macOS14+10.13+
Price$9.99 onceFree

Sources: the KeepingYouAwake README and clamshell.dev's comparison, checked 29 Oct 2026.

Choose KeepingYouAwake if…

  • Your lid stays open, or you're on an iMac or Mac mini.
  • You want free and open source, with no background part installed.
  • You like Homebrew installs.

Choose Lidwork if…

  • You close the lid and leave, with no external display.
  • You want a battery floor that also applies with the lid shut.
  • You want an app that can't leave sleep disabled if it crashes: the app checks in with its background part every 10 seconds, and the background part turns normal lid sleep back on within 30 if the check-ins stop.

Can you use both?

Yes. They work at different layers: KeepingYouAwake holds a caffeinate assertion against idle sleep, Lidwork manages the lid-close switch. Many people keep KeepingYouAwake for open-lid sessions and switch Lidwork on only when the lid closes. For the command-line equivalent, see caffeinate explained.