Well, small electronics such as hard drives and mobile phones are not in direct danger from these sorts of events; the damage is caused by induced current on miles-long cables. Our flash memories and tape backups will not be harmed unless they are burned up in power surges from unprotected power outlets.