The EU has provisionally agreed new mobile devices must, by autumn 2024, use the same type of charger.