Permissions prompt causes high energy use and causes battery drain during sleep on MacOS
Open 💬 3 comments Opened Apr 14, 2026 by stewartadam
What version of the Codex App are you using (From “About Codex” dialog)?
Not the app, codex-cli 0.120.0
What subscription do you have?
Pro
What platform is your computer?
Darwin 25.4.0 arm64 arm
What issue are you seeing?
When Codex is idle, it's energy impact is 0.0 however if left idle on a permissions prompt as screenshotted below, the energy impact spikes and causes battery drain, even when the computer is put to sleep.
<img width="1699" height="533" alt="Image" src="https://github.com/user-attachments/assets/44e05ad8-fd4f-47d9-aa90-26ace0650e1d" />
What steps can reproduce the bug?
- Request and edit that stops on request for elevated permissions
- Put Mac to sleep
A few hours later the battery is significantly lower or dead. It appears to be caused by the terminal rendering animations.
What is the expected behavior?
No battery drain; Codex process pauses/sleeps animations while Mac is asleep.
Additional information
_No response_
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗