[BUG] Claude Desktop holds indefinite NoIdleSleepAssertion, preventing Mac idle sleep

Status Open
Maintainer reply None cached
Activity 0 comments · opened Jul 31, 2026

Preflight Checklist

  • [x] I have searched existing issues and this hasn't been reported yet
  • [x] This is a single bug report (please file separate reports for different bugs)
  • [x] I am using the latest version of Claude Code

What's Wrong?

Field | Detail
-- | --
Title | Claude Desktop holds indefinite NoIdleSleepAssertion, preventing Mac idle sleep
Environment | macOS
Behaviour | Assertion re-establishes within ~5 minutes of every relaunch
Evidence | pmset -g assertions output showing PID and duration
Impact | Mac cannot enter idle sleep whilst app is open, even when idle

What Should Happen?

System should not throw abrupt closure

Error Messages/Logs

Steps to Reproduce

Field | Detail
-- | --
Title | Claude Desktop holds indefinite NoIdleSleepAssertion, preventing Mac idle sleep
Environment | macOS, Claude Desktop v[X.X.X]
Behaviour | Assertion re-establishes within ~5 minutes of every relaunch
Evidence | pmset -g assertions output showing PID and duration
Impact | Mac cannot enter idle sleep whilst app is open, even when idle

Claude Model

None

Is this a regression?

Yes, this worked in a previous version

Last Working Version

_No response_

Claude Code Version

Claude 1.24012.9 (03c61d) 2026-07-24T04:59:17.000Z

Platform

Anthropic API

Operating System

macOS

Terminal/Shell

Terminal.app (macOS)

Additional Information

_No response_

View original on GitHub ↗