macOS sierra Battery draining: com.googlecode.iterm2 consuming to much CPU?
Thanks for filing an issue! Please answer the questions below so I can help you.
- iTerm2 version: Build 3.0.12
- OS version: 10.12.1 (16B2555)
- Attach com.googlecode.iterm2.plistcom.googlecode.iterm2.plist here (drag-drop from finder into this window)
- Attach a debug log, if possible. Instructions at debuglog.txt
- Are you reporting a performance issue or a hang? Please attach a sample. _iTerm2_Sample.txt
- Are you reporting a crash? Please attach the crash log. Instructions at https://gitlab.com/gnachman/iterm2/wikis/crash-logs (No)
Hello, thank you in advance for your support. I don't know exactly how to start this report, so I will go directly on the subject. A couple of days ago I submit a bug report in Apple Bug Report site (bugreport.apple.com) because since I updated to macOS Sierra the battery of my 1 year of use Mac Book is draining a lot. I report them that I was using the same software as always in El Capitan and the battery usage was always normal, and the update to Sierra caused the battery to drain from 12h of use to 3 to 5h in full charge. After sending them a system diagnose log, they answered me the following:
Apple Developer Relations02-Dec-2016 12:57 PM
Engineering has provided the following information regarding this issue:
Package C-states look normal. It looks like the biggest eater of CPU is com.googlecode.iterm2. There were numerous times where it has continuously consumed more than 80% CPU all the way up to 150% causing the high battery drain. This is something they will need to address. It’s not something we can fix.
I can't exactly reproduce the problem, so I attached the debug log using Python and Jupyter Notebook from iTerm2. Any advice or answer on this will be appreciated.
Detailed steps to reproduce the problem:
- Using Python (Anaconda3-4.1.0 distribution)
- Using Jupyter Notebook
-
What happened:
What should have happened: