Patent ID: 9362769
Filing Date: 2016-06-07
CPC Classification: G06F,H01M,H02J,Y02E

Claim Text:
1. An apparatus for power supply control for a first device, the first device including a first physical interface and having an unconnected state in which the first device is not connected with a second device via the first physical interface and a first connected state in which the first device is connected with the second device via the first physical interface so as to actively transmit a control command to the second device via the first physical interface, the apparatus configured to: detect that the first device is connected with the second device via the first physical interface, when the first device is in the unconnected state; determine whether the connection between the first device and the second device via the first physical interface satisfies a first predetermined condition or not, so as to obtain a first determination result; switch the first device from the unconnected state to the first connected state when the first determination result indicates that the connection between the first device and the second device via the first physical interface satisfies the first predetermined condition; obtain power supply requirement information of the second device that indicates whether the first device is required to supply power to the second device or not; control power supply to the second device via the first physical interface based on the power supply requirement information of the second device; wherein the apparatus is further configured to control to supply power to the second device via the first physical interface when the power supply requirement information indicates that the first device is required to supply power to the second device; control not to supply power to the second device via the first physical interface when the power supply requirement information indicates that the first device is not required to supply power to the second device; wherein the apparatus is further configured to obtain charging capability information of the second device, control not to supply power to the second device via the first physical interface when the power supply requirement information indicates that the first device is not required to supply power to the second device, transmit a charging request to the second device when the charging capability information indicates that the second device is capable of charging the first device, and receive power from the second device for charging the first device via the first physical interface.