[BUG] Claude Code is holding a power request on Windows, preventing sleep

Status Open
Maintainer reply None cached
Activity 4 comments · opened Oct 1, 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?

I'm f*in tired of being a testpilot for your devs; while I pay for usage!

I installed the client on a Windows machine, a gaming rig, where I have problems with HID devices hogging the HID bus and causing sleep to not work. I had the system in working order; however when I launch Claude to do development work on custom HID controllers, and I leave It open, the computer does not sleep; There is a setting in Claude that says "Keep computer awake while Claude works"; that is not what you are doing, you are showing up in my debug tool as requesting a power request while being idle for an hour!

What Should Happen?

The computer should be able to sleep

Error Messages/Logs

Steps to Reproduce

Setup a VM, Install Windows, Install Claude, let it sit not in idle.

Claude Model

None

Is this a regression?

I don't know

Last Working Version

_No response_

Claude Code Version

latest

Platform

Anthropic API

Operating System

Windows

Terminal/Shell

Other

Additional Information

_No response_

View original on GitHub ↗

4 Comments

github-actions[bot] · 13 days ago

Found 2 possible duplicate issues:

  1. https://github.com/anthropics/claude-code/issues/96015
  2. https://github.com/anthropics/claude-code/issues/89110

This issue will be automatically closed as a duplicate in 3 days.

  • If your issue is a duplicate, please close it and 👍 the existing issue instead
  • To prevent auto-closure, add a comment or 👎 this comment

🤖 Generated with Claude Code

aafloy · 13 days ago

The mentioned issues are related to other platforms, macOS and Linux respectively.

aafloy · 13 days ago

Feedback: This UI feels like it's written by AI and tested by AI, and missing key points in testing and development.

aafloy · 13 days ago

Example: your tool does not understand the folder context given, when you enter a new conversation with " + New" and the following conversation apparently has lost that information.. and the tool has no option to remove this default context, that is invisible to the user; because the AI did not test for this!