As far as I have researched on the internet, coil whine will almost be always present on battery/silent mode as they aggressively downclock the CPU and reduce the voltages too. But on my laptop it seems like the coil whine is present in the RGB Keyboard too? Try putting the laptop to sleep and let that wave RGB animation run and see if you have the same problem as mine, as it could be a high chance of a faulty RGB Keyboard (as my blue LEDs went horribly uneven and bad after just 8 months) I'm taking it to a service center this week as I seem to have an uneven heatsink/bad thermal paste job which could be related to your case of crazy high temps too.