Patent ID: 8694803

Claim:
A method for controlling power received through multiple bus interfaces in a portable computing device, comprising: sensing when power sources are plugged into first and second bus interfaces in the portable computing device, wherein the first bus interface is coupled to a first power manager, and the second bus interface is coupled to a second power manager; upon sensing that a first power source is plugged into the first bus interface in the portable computing device, determining whether the first power source is a host or a power adapter, and based upon whether the first power source is a host or a power adapter, using the first power manager coupled to the first bus interface to limit a first input current from the first power source to power the computing device, and to selectively provide a first charging current to a rechargeable battery for the portable computing device; and upon sensing that the first power source becomes unplugged from the first bus interface, determining whether a power source is plugged into the second bus interface, if no power source is plugged into the second bus interface, configuring the second power manager coupled to the second bus interface to perform switching over to using the rechargeable battery to provide power for the portable computing device.