[BUG] Claude Code is holding a power request on Windows, preventing sleep
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_
4 Comments
Found 2 possible duplicate issues:
This issue will be automatically closed as a duplicate in 3 days.
🤖 Generated with Claude Code
The mentioned issues are related to other platforms, macOS and Linux respectively.
Feedback: This UI feels like it's written by AI and tested by AI, and missing key points in testing and development.
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!