Claude Desktop: "Keep awake" should not prevent display sleep

Resolved 💬 2 comments Opened Mar 20, 2026 by dsmagghe Closed Mar 24, 2026

Feature Request

Problem

Claude Desktop's "Keep awake" setting (keepAwakeEnabled) uses caffeinate -d, which prevents display sleep. This also blocks the screensaver from activating.

Users who want Claude to keep running long tasks in the background don't necessarily want their screen to stay on forever. The current behavior forces an all-or-nothing choice: either disable "Keep awake" entirely, or accept that your screensaver and display sleep are broken.

Current Behavior

  • keepAwakeEnabled: true runs caffeinate -d (prevent display sleep)
  • This blocks both display sleep and screensaver activation
  • No way to keep the system awake without also keeping the display awake

Requested Behavior

Use caffeinate -i (prevent idle sleep) instead of caffeinate -d (prevent display sleep), or provide separate options:

  • Keep system awake (caffeinate -i) — prevent system sleep, allow display sleep + screensaver
  • Keep display awake (caffeinate -d) — current behavior, prevent both

The default should be -i (system only), since most users just want long tasks to complete without the Mac going to sleep — not to keep their screen on.

🤖 Generated with Claude Code

View original on GitHub ↗

This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗