摘要 |
An electronic device includes an electronic device main body, a USB connection unit, a VBUS detecting unit, a USB control unit, a battery contained in the electronic device main body, a battery monitoring unit, a charging control unit, a switch, and, a system control unit that controls the switch and the charging control unit. The VBUS detecting unit detects connection of the USB device. If the USB control unit determines that D+ and D− terminals of the USB connection unit are not short-circuited, when a battery voltage obtained from the battery monitoring unit is a preset threshold value or less, the system control unit starts charging of the battery.
|