Before i move to UPS (the same APC UPS that now safe guard my pc and tv), I use stabilizer as the electricity is a bit flutiative (i was told it was one of the reason plenty of my HDD died) but its still electrocute a bit.NRA, or a USB connected keyboard with a spilled drink in it.
If you call up a headphones reseller or manufacturer and complain about shocks, they're going to tell you 2 things:
1) fix the ground issue with your source hardware
2) that your warranty has been voided
You need to hire an electrician to sort out grounding issues to permanently installed PCs. If you are recharging laptops on 2 prong outlets, it's safer to do so passively and to not use the device while it's plugged in to the wall. People think that because laptop converter is pushing DC that there's not much risk. Unless there's a power surge that shorts out the converter itself, which could still try to use your device connected hands and body as a ground to earth in lieu of the missing 3rd ground prong to the outlet. Rare, sure. But there's still a risk.
I grew up in thunderstorm prone area of the USA so I am especially weary about lightning risks. When the flashing starts, I disconnect the laptop or switch to my mobile. I use an APC branded power UPS backup unit on my laptop and external storage drives that also includes surge protection. They can be had for ~ $200, which is relatively cheap insurance. It's possible that a large surge could short circuit the machine somehow and find it's way to your ears via headphones. Same goes for any device plugged into a wall that you spend a lot of time connected to - like on your bedside nightstand. If you want to fall asleep listening to music, do yourself a favor and get a bluetooth amp and stick to that ... (I do!)
by the time i use UPS, i also switch to more premium properly rated powersupply which have on and off switch~! (the cheapo $10 didn't have one.)
Its no longer that shocking now, tough not sure whether its the ups or the new powersupply.