Every electronic device charger is galvanically isolated with a transformer and optoisolator inside and a voltage regulatpr. Every charger is rated 110v to 250v on the label and 50 to 60 hz. "dirty power" is never a concern for chargers, cheap chargers cause "dirty power". The only way you will fry your device is if you force the connector into your phone upside down. It usually is the passenger's device that will do more harm to the train than the train harming the passenger's device. I bought a no-name generic laptop on ebay from china, it works fine on a mains outlet, but it trips the convenience outlet breaker on MN M8 cars every time I plugged it in. It doesn't leave my house any more for that reason. Convenience outlets on railcars are always on a circuit by themselves. All safety critical stuff is on the DC bus, not HEP. Since power does go out during trips, especially on EMUs, any entertainment device that isn't battery powered will be difficult to use. Since the outlets arent required for operations, they are the last thing to be fixed on the cars. Walk to the next car if the outlet doesnt work. In general, if the outlets work, good for you, if they don't tough luck, it isn't guaranteed by the contract of carriage. NJT MLV cars have the most difficult to reach outlets of all 3 tristate railroads.
If you try using an electric BBQ Grill inside, to tailgate to the game on the train, you deserve to get tasered by the police, so only use battery powered devices.