Kernel_task cpu usage too high.
I’ve recently encountered this problem with the Kernel_task acting up. After many research and reset if SMC and NVRAM. Booting into safe mode and reinstalling the OS. With nothing working I decided to look for apple discussion post. I found out the some notice a increase or decrease in Kernel_task while plugging the power of. Then I found a iMac user who took their device into apple where they first replace the fan (did not fix the issue). They changed the logic (did not fix the issue). When they finally fixed the device the person stated that they change the logic and fan which was not the problem. Granted in some cases it might be. They also added that the power supply was fix. This gave me the idea to unplug the battery and leave my MacBook Air plugged in. Kernel_task automatically dropped to 3% and is this there. With my case the battery was the issue. If you have an iMac I’d recommend looking into replacing the fan if it’s spinning slow or replacing the power supply.
MacBook Air