A device for charging an electric vehicle, comprising: a plurality of electrical contacts, at least two of them coupled to a stationary power supply, and each electrical contact (22, 23, 24, 25) of the plurality of electrical contacts is arranged for contacting a different contact surface (30, 34) of the electric vehicle to be charged by the device; at least two secondary contacts (28, 128, 228) each forming contact arrangements with a respective one of the electrical contacts (22, 23, 24, 25) of the plurality of electrical contacts, wherein a first electrical contact and a first secondary contact (28, 128) of a first contact arrangement (29, 129) are arranged to contact the same contact surface (32, 34) of the vehicle, wherein the contact arrangement (29, 129) formed by the first electrical contact and the respective secondary contact (28, 128) is a first contact arrangement (29, 129); a second contact arrangement is formed by a second electrical contact of the plurality of electrical contacts which is not part of the first contact arrangement; and a respective secondary contact of the second contact arrangement, wherein the second electrical contact and the secondary contact of the second contact arrangement are arranged to contact the same contact surface of the vehicle, and the device is configured for measuring an electric impedance between the secondary contact of the first contact arrangement and the secondary contact of the second contact arrangement by measuring the voltage between these contacts at a given current provided by the power supply between the first electrical contact and the second electrical contact. a plurality of electrical contacts, at least two of them coupled to a stationary power supply, and each electrical contact (22, 23, 24, 25) of the plurality of electrical contacts is arranged for contacting a different contact surface (30, 34) of the electric vehicle to be charged by the device; at least two secondary contacts (28, 128, 228) each forming contact arrangements with a respective one of the electrical contacts (22, 23, 24, 25) of the plurality of electrical contacts, wherein a first electrical contact and a first secondary contact (28, 128) of a first contact arrangement (29, 129) are arranged to contact the same contact surface (32, 34) of the vehicle, wherein the contact arrangement (29, 129) formed by the first electrical contact and the respective secondary contact (28, 128) is a first contact arrangement (29, 129); a second contact arrangement is formed by a second electrical contact of the plurality of electrical contacts which is not part of the first contact arrangement; and a respective secondary contact of the second contact arrangement, wherein the second electrical contact and the secondary contact of the second contact arrangement are arranged to contact the same contact surface of the vehicle, and the device is configured for measuring an electric impedance between the secondary contact of the first contact arrangement and the secondary contact of the second contact arrangement by measuring the voltage between these contacts at a given current provided by the power supply between the first electrical contact and the second electrical contact.