profzei / Matebook-X-Pro-2018

💻 macOS on Huawei Matebook X Pro 2018
Apache License 2.0
369 stars 48 forks source link

116% cpu usage #174

Closed Zephariael closed 3 years ago

Zephariael commented 3 years ago

This task called "kernel_task" is causing the cpu to heat up, the battery to drain, and the fans to spin highly.

What is the issue that is causing this? Is it a kernel panic?

Screen Shot 2021-06-07 at 10 26 21 PM

unverbraucht commented 3 years ago

I think you might be seeing the same issue as I did in #147 . My guess is that it's related to sleep or hibernation in combination with the wifi drivers. I've only seen in occasionally and a reboot always fixes it.

steinano commented 3 years ago

I've did the pmset (sleep/hibernate) settings as in the instructions, haven't had the issue after that.

Zephariael commented 3 years ago

Steinano had the correct answer.

For anyone else with this issue, Follow the sleep/hibernate tutorial given by Profzei in the instructions on the main page. Solved the issue.

Huge thanks to steinano!

rohirrim27 commented 3 years ago

Hi @Zephariael & @steinano! Are the following the only sleep/hibernate instructions you followed? I have the same settings but still running into the issue mentioned by @unverbraucht.

sudo pmset -a standby 0 sudo pmset -a powernap 0 sudo pmset -a proximitywake 0 sudo pmset -a tcpkeepalive 0 sudo pmset -a womp 0

Zephariael commented 3 years ago

Hi @Zephariael & @steinano! Are the following the only sleep/hibernate instructions you followed? I have the same settings but still running into the issue mentioned by @unverbraucht.

sudo pmset -a standby 0 sudo pmset -a powernap 0 sudo pmset -a proximitywake 0 sudo pmset -a tcpkeepalive 0 sudo pmset -a womp 0

@rohirrim27

Profzei's instructions are to apply the sleep settings after every update. Applying through terminal multiple times still hasn't worked for me however. I've gotten around this issue by either shutting down every time, or enabling hibernate. Both solutions are about the same I've found. Maybe this will be magically fixed in MacOS Monteray lol.