Skip to content

v0.4.0 — blocker visibility

Choose a tag to compare

@JoJoAtkinson JoJoAtkinson released this 06 Aug 13:14
· 9 commits to main since this release

Born from a real incident: lich handed sleep back on schedule, yet the Mac sat awake, screen on and unlocked, for two more hours — a Chrome tab's video wake lock vetoed every idle timer, and nothing said so.

Now lich names names:

  • lich status grows a "held awake by:" section listing every live power assertion — process, type, name, and how long it's been held (noise like powerd's derivative display-on assertion and 2-minute input tickles filtered out)
  • The watcher logs blocker at handoff: lines the moment it hands sleep back to macOS on battery, so a Mac found awake hours later has its culprit on record
  • Overdue-sleep watchdog: still awake 15 minutes after a battery handoff → one warning per battery session naming the holders
  • Lid-close lock diagnostics: the "lock did NOT take" warning now reports ScreenSaverEngine state, the actual screenLock delay setting, and IOConsoleLocked — evidence, not guesses

Walk-away confidence: on battery, lich status (and the menu bar, automatically) now shows exactly when the roam window ends:

sleep:   disabled — hands back to macOS at 09:38 (30 min left)

Upgrade: lich upgrade (or brew update && brew upgrade lichbook && lich reload)

🤖 Generated with Claude Code

https://claude.ai/code/session_01StRZkHhGqyiJyK64pPLRd6