What's the strangest thing that has kept your Mac awake, or put it to sleep mid-job?
I run long Claude Code jobs on a MacBook. In one week in October it went to sleep 86 times, and 15 to 23 of those were in the middle of a run.
So I started reading the sleep logs, and found two things I didn't know.
macOS only asks "the lid is closed, should I sleep?" when the lid closes, the charger changes or a display is unplugged. If sleep was blocked at that moment, nothing checks again later. The Mac just waits for normal idle sleep, and any app can block that.
In my case the app was Apple Books, of all things. It kept the Mac awake for three and a half hours with the lid shut.
I also once went through the logs to find out why an app "failed to start after a restart". There had been no restart. I had pressed ⌘Q.
How do you keep long jobs alive on a laptop? Half-open lid, caffeinate, a spare Mac mini, something smarter?
And what's the strangest thing that ever kept yours awake?
p/runevr
p/reso
p/google-cloud-platform
p/producthunt
p/gatrends
p/dino-kids
p/meridian-16
p/magic-lasso-adblock
p/expert-chase-deleted-1107920
p/problemhunt
p/dex-by-exmergo
p/neoagent
p/pretty-prompt
p/skim-5
p/kodlo
p/slay-3
p/mindpal-ai
p/palance
p/monocloud-for-startups-free-for-1-year
Replies
Be the first to reply
Have a question or a thought to share? Add a comment above to start the conversation.