Patent ID: 8164219

Claim:
A portable electronic device, comprising: a main body including a main circuit, a power input port, and a housing, the housing defining a receiving space at a side surface thereof, the main circuit being disposed in the housing, the power input port being located on a wall surface of the receiving space and being connected to the main circuit; and a power supply module including a shell, a power output port formed on the shell, and a battery, a power modulating circuit and a switch received in the shell; the shell being capable of being detachably received in the receiving space of the housing, and when the shell is received in the receiving space the power output port is connected to the power input port on the wall surface of the receiving space; the power modulating circuit modulating alternating current to direct current suitable for the main circuit; the switch selectively connecting the power output port to the battery or the power modulating circuit; wherein, if an alternating current is supplied to the power modulating circuit, the power output port is connected to the power modulating circuit with the switch and the battery is charged; if no alternating current is supplied to the power modulating circuit, the power output port is connected to the battery and a direct current is supplied instead.