High CPU/Battery Drain from Excessive Status Line Refresh in Idle State

Status Fixed / completed
Maintainer reply ✓ Yes — dicksontsai
Activity 6 comments · opened Aug 22, 2025 · closed Aug 23, 2025
💡 Likely answer: A maintainer (dicksontsai, collaborator) responded on this thread — see the highlighted reply below.

Bug Description
Claude Code 1.0.88 is refreshing at a _much_ higher rate than it used to in 1.0.86. My statusline is being called / updated very often, even when the terminal is idle / waiting for user's turn. This results in a pretty considerable power draw at idle, and is trashing my battery life. Can we go back to the lower refresh-on-demand rate in prior versions or get a config entry to limit/disable idle refreshes?

Environment Info

  • Platform: darwin
  • Terminal: WarpTerminal
  • Version: 1.0.88
  • Feedback ID: a3461c3c-89e0-4d18-9588-dfd9d389217c

Errors

[]

View original on GitHub ↗

6 Comments

github-actions[bot] · 1 year ago

Found 2 possible duplicate issues:

  1. https://github.com/anthropics/claude-code/issues/5685
  2. https://github.com/anthropics/claude-code/issues/1426

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

callmemorgan · 1 year ago
Found 2 possible duplicate issues: 1. Feature Request - refresh status line on an interval #5685 2. [[BUG] Claude Code Terminal Refreshes / Sends me to the top of terminal session every 15 seconds #1426](https://github.com/anthropics/claude-code/issues/1426) 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

The difference in mine is that I do not want the higher refresh rate of #5685 and am not affected by #1426

dicksontsai collaborator · 1 year ago

I can confirm the regression. We're working on fixing this ASAP.

sirmalloc · 1 year ago
I can confirm the regression. We're working on fixing this ASAP.

Throwing my 2 cents in here. It would be nice if the refresh rate was configurable via the settings.json statusLine block. Having auto-refresh can be desirable for some statuslines with the user's consent. Not that I want to play a movie in the statusline, but providing some control would be nice.

dicksontsai collaborator · 1 year ago

Fixed in v1.0.89.
With the fix, Claude Code should update statusline whenever there is a new message. In v1.0.88, Claude Code would incorrectly run the status line at a regular frequency even when idle.

github-actions[bot] · 1 year ago

This issue has been automatically locked since it was closed and has not had any activity for 7 days. If you're experiencing a similar issue, please file a new issue and reference this one if it's relevant.