The European Union has proposed a law to create a universal charger for all electronic devices, like smartphones and tablets.