Power adapter and electronic device
AssigneeHon Hai Precision Industry Co., Ltd.
InventorJia-Ciao Jhong
Life of this patent
Estimating the term…
Abstract
An electronic device includes a battery, a detecting unit, a comparing unit, a control unit and a charging circuit. The detecting unit is electronically connected to a universal serial bus (USB) interface to detect and determine whether or not the connecting device is a power adapter. The comparing unit outputs a level signal depending upon the comparing unit comparing a input signal received by the USB interface with a voltage threshold. The control unit controls the battery either to be charged by the connecting device through the charging circuit or the battery to supply power to the connecting device through the USB interface according to the level signal.
Claims9
An electronic device comprising:
- a first universal serial bus (USB) interface electrically connected to a connecting device, configured to receive an input signal from the connecting device, wherein the connecting device is a power adapter or a peripheral device including a general USB interface;
- a battery;
- a charging circuit electrically connected to the battery and the first USB interface;
- a detecting unit electrically connected to the first USB interface, configured to detect and determine whether the connecting device is the power adapter;
- a comparing unit electrically connected to the first USB interface, configured to output a level signal depending upon comparing the input signal received by the first USB interface with a voltage threshold;
- and
- a control unit electrically connected to the detecting unit, the comparing unit, and the charging circuit, and configured to control the battery to be charged by the connecting device through the charging circuit or to supply power to the connecting device through the first USB interface, depending on the signal level output by the comparing unit;
- a first switch comprising a first port, a second port, and a control port, wherein the first port is electronically connected to the first USB interface, the second port is electronically connected to the detecting unit, the control port is electronically connected to the control unit;
- wherein in response to the detecting unit determining that the connecting device is the power adapter, the control unit controls the first port of the first switch to connect to the second port.
Dependencies are inferred from the claim text.