Patent ID: 8022664

Claim:
A battery charger for charging a device with a first electrical connector, comprising: a housing defining a receiving space therein and a first opening communicating with the receiving space; a second electrical connector received in the receiving space comprising a second magnet formed thereon, the second electrical connector being connected to the housing via an elastic member and capable of extending out of the receiving space from the first opening when the elastic member is elongated; a first magnet secured at the front end of the housing adjacent to the first opening, at least one of the first magnet and the second magnet being an electromagnet; and one or more sensors secured at the front end of the housing, the one or more sensors being configured for determining whether the device to be charged is in an aligned position where the second electrical connector is connectable with the first electrical connector of the device to be charged, and applying an attractive force between the first magnet and the second magnet when the device to be charged is in the aligned position.