Permissions prompt causes high energy use and causes battery drain during sleep on MacOS
Open 💬 3 comments Opened Apr 14, 2026 by stewartadam
💡 Likely answer: A maintainer (github-actions[bot], contributor)
responded on this thread — see the highlighted reply below.
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_
3 Comments
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action
@etraut-openai this is for the CLI. Your the issue template references "app"
There are separate issue templates for the CLI and app. I just confirmed that the "CLI" template is working correctly. You must have just chosen the "App" one when you created the new issue. No worries — I updated the label to TUI.