The consequences of plugging the wrong voltage or polarity into a barrel jack, most of which are compatible enough, is pretty bad. Ask me how I know.
This is a non issue, IMO. Does it depend on the electronics being designed correctly? Sure, but that’s the case for all electronics, and most devices probably build on some widely-available standardized control boards from 3rd parties.
As a user, I’m sooo happy that I can bring a portable battery and a wall charger, and both can recharge every single one of my portable devices. From gaming handhelds to large, powerful laptops, to wireless earbuds, to cameras, to smart watches, to flashlights. All with very different power requirements.