if your macbook is very slow and you found kernel_task has 300%+ usage, then you can solve it by this:
Open a terminal, then run:
In the same terminal, then run:
Then you need check your macbook name by:
then back to the finder window which is opened previously, and find a .plist file when the same name as your macbook. delete it and restart your computer.