How to Fix kernel_task Using 300% CPU on a MacBook With a Swollen Battery
kernel_task at 300% is not computing anything. macOS inflates it to occupy the CPU so real work cannot run and the chip cools. The heat source is the problem. On an older MacBook the battery is the usual one.