Patent ID: 7633270

Claim:
A charger comprising: a charging circuit, a charging interface connected to an electronic device, and an audio interface being configured for connecting with an audio player to receive electrical energy or audio signals therefrom, wherein, the charger further comprises a switch and a sound output device, the switch is configured for switch the audio interface to connect with the charging circuit or with the sound output device; the charging circuit comprises a converting circuit, a energy accumulating circuit, and an energy releasing circuit; when the switch switches the audio interface to connect with the charging circuit, the converting circuit amplifies an alternating current (AC) audio voltage outputted by the audio player and rectifying the AC audio voltage into a direct current (DC) voltage; the energy accumulating circuit accumulates the DC voltage, and the energy releasing circuit releases the electricity energy to the electronic device via the charging interface when the accumulated voltage value is equal to or greater than a predetermined voltage value; when the switch switches the audio interface to connect with the sound output device, the sound output device receives the audio signals from the audio player and outputs the audio signals.