E.U. agrees to mandate USB-C as common smartphone charger by 2024 in blow to Apple