Users of Claude Code on macOS are experiencing unexpected consumption of their weekly usage limits due to a bug related to the system's 'DarkWakes' feature. When a MacBook lid is closed, macOS periodically wakes the device for maintenance tasks, which interrupts long-running Claude Code sessions. This interruption causes the session to abort, lose its progress, and resend the entire request upon waking, leading to significant and unintended charges against the user's limit. The issue has been reported multiple times, and while workarounds exist, such as disabling sleep entirely or manually interrupting tasks, a new app called Lidnight aims to automate this process by keeping the Mac awake only during active Claude Code tasks. AI
IMPACT This bug impacts user experience and cost management for AI coding assistants, potentially affecting adoption if not resolved.
RANK_REASON The item describes a workaround/new app for an existing product issue, not a new product release or core research.
Read on dev.to — Claude Code tag →
AI-generated summary · Google Gemini · from 1 sources. How we write summaries →