This applies to all electronics I guess, but ALWAYS have a surge protector. But usually whenever it is raining I will shutdown my iMac and unplug it just incase. But an hour ago it was not even raining and my power just shut off. I was scared, but thank god my iMac is ok. Just a tip lol.