Method for controlling charging of an energy storage system in a vehicle comprising an electric machine which is arranged for propulsion of said vehicle, said method comprising: - initiating said charging upon connection of said energy storage system to an external power supply via connector elements (9, 10); and - transmitting, from said vehicle to said external power supply, a control signal comprising data related to said charging by means of a wireless transmission link; characterized in that said method furthermore comprises: - determining, in a vehicle control unit, whether at least one parameter of said data deviates from a predetermined parameter value and, if this is the case, terminating transmission of said control signal; - evaluating, in said external power supply, whether said control signal is received; and - terminating said charging in the event that said control signal is not received; - wherein said data related to the charging comprises information related to at least one of the following parameters: i) the current position of said vehicle; ii) any occurrence of movement of said vehicle; iii) the identity of said vehicle; iv) the electrical isolation of said electrical storage system; v) the status of contact elements of high voltage components of said vehicle; vi) the charging current; vii) the charging voltage; and viii) the temperature of said connector elements; wherein said transmission of the control signal is terminated in the event that said at least one parameter deviates from a predetermined value. - initiating said charging upon connection of said energy storage system to an external power supply via connector elements (9, 10); and - transmitting, from said vehicle to said external power supply, a control signal comprising data related to said charging by means of a wireless transmission link; - determining, in a vehicle control unit, whether at least one parameter of said data deviates from a predetermined parameter value and, if this is the case, terminating transmission of said control signal; - evaluating, in said external power supply, whether said control signal is received; and - terminating said charging in the event that said control signal is not received; - wherein said data related to the charging comprises information related to at least one of the following parameters: i) the current position of said vehicle; ii) any occurrence of movement of said vehicle; iii) the identity of said vehicle; iv) the electrical isolation of said electrical storage system; v) the status of contact elements of high voltage components of said vehicle; vi) the charging current; vii) the charging voltage; and viii) the temperature of said connector elements; wherein said transmission of the control signal is terminated in the event that said at least one parameter deviates from a predetermined value. i) the current position of said vehicle; ii) any occurrence of movement of said vehicle; iii) the identity of said vehicle; iv) the electrical isolation of said electrical storage system; v) the status of contact elements of high voltage components of said vehicle; vi) the charging current; vii) the charging voltage; and viii) the temperature of said connector elements;