Type c magnetic charger cable