Patent ID: 9110650
Filing Date: 2015-08-18
Classification: G06F,H02J

Abstract:
1. An electronic device having a USB interface, the electronic device comprising a power management chip and a baseband chip, wherein a communication interface of the baseband chip is connected to a communication interface of the power management chip, the power management chip comprises a charging voltage pin VCHG configured for connection to a positive terminal of an external charger, and a General Purpose Input/Output port GPIO of the baseband chip is connected to a USB-bus-power-supply positive terminal pin USB_VBUS of a USB interface of the baseband chip, wherein the power management chip is configured for: detecting a state of pluqqinq-in-or-pullinq-out of the charger, generating an interrupt request corresponding to the state of plugging-in-or-pulling-out of the charger, and sending the interrupt request to the baseband chip; and the baseband chip is configured for: receiving the interrupt request sent by the power management chip, controlling a General Purpose Input/Output port GPIO to output a level corresponding to the interrupt request to the pin USB VBUS, and controlling start of USB communication according to the level output to the pin USB VBUS by the GPIO.