An electrical connector, comprising: a first portion comprising a U-shape section and configured to conduct an electric current to a device, wherein the U-shape section has a downward portion configured to be soldered to a circuit board of the device; a second portion configured to slidingly engage with the first portion , comprising at least one contact point configured to receive the electric current from a corresponding connector and to conduct the electric current to the first portion , wherein the first portion comprises: two retaining spring arms extending upwards; wherein a space between the retaining spring arms is configured to receive the second portion ; and the retaining spring arms are configured to slidingly engage with the second portion , characterized in that the second portion comprises: a first contact element having a first contact point ; a second contact element having a second contact point ; and a magnetic element configured between the first contact element and the second contact element , the magnetic element having poles aligned to generate a magnetic field to attract the corresponding connector to the first contact element and the second contact element , wherein each of the retaining spring arms is configured to slidingly engage with a respective one of the first and second contact elements . a first portion comprising a U-shape section and configured to conduct an electric current to a device, wherein the U-shape section has a downward portion configured to be soldered to a circuit board of the device; a second portion configured to slidingly engage with the first portion , comprising at least one contact point configured to receive the electric current from a corresponding connector and to conduct the electric current to the first portion , wherein the first portion comprises: two retaining spring arms extending upwards; wherein a space between the retaining spring arms is configured to receive the second portion ; and the retaining spring arms are configured to slidingly engage with the second portion , two retaining spring arms extending upwards; wherein a space between the retaining spring arms is configured to receive the second portion ; and the retaining spring arms are configured to slidingly engage with the second portion , characterized in that the second portion comprises: a first contact element having a first contact point ; a second contact element having a second contact point ; and a magnetic element configured between the first contact element and the second contact element , the magnetic element having poles aligned to generate a magnetic field to attract the corresponding connector to the first contact element and the second contact element , wherein each of the retaining spring arms is configured to slidingly engage with a respective one of the first and second contact elements . a first contact element having a first contact point ; a second contact element having a second contact point ; and a magnetic element configured between the first contact element and the second contact element , the magnetic element having poles aligned to generate a magnetic field to attract the corresponding connector to the first contact element and the second contact element , wherein each of the retaining spring arms is configured to slidingly engage with a respective one of the first and second contact elements . <EOS>