A solar flare in 1859 was the equivalent of 10 billion atomic bombs resulting in a massive geomagnetic storm. There was no huge power grid at the time but there was a long-line network of telegraphs.