The Code/X ArchiveView on X
Ritik Sahni

@ritiksahni22

My Mac's battery was dying way too fast (100 to 10% in less than 3hrs)

Activity Monitor blamed Ghostty, and I believed it. There were even GitHub threads of people complaining about the same thing, so I assumed it was the latest version.

Switched to Alacritty but the problem persisted.

After tinkering around, I found the real culprit.

Back in May, a Claude Code session started a shell loop to tail some logs and never stopped it. It sat there restarting a Node process, over and over, for three months.

I killed the process, and battery went back to normal.
6471.1K184