Patent ID: 8793086

Claim:
A method for determining a power supply electrical current capacity, the method comprising: performing the following with a processor: placing an operating circuit into an operating mode that causes the operating circuit to have a determined electrical current consumption; configuring a charging circuit to provide a maximum charging current to a power pack, wherein the charging circuit is electrically connected in parallel with the operating circuit; receiving from a current meter, subsequent to the configuring, a measured value of charging current flowing through the power pack, wherein the current meter is electrically connected in series with the power pack; calculating, subsequent to the receiving, a fixed maximum electrical current able to be produced by an external power supply, the fixed maximum electrical current able to be produced by the external power supply being a maximum output electrical current able to be produced by the external power supply in any configuration of the external power supply, the calculating the maximum electrical current able to be produced by the external power supply comprising calculating a sum of the determined electrical current consumption and the measured value of charging current flowing through the power pack; detecting the operating circuit is in a second operating mode; determining that the second operating mode has an electrical current consumption greater than the maximum electrical current able to be produced by the external power supply; and configuring, in response to determining the second operating mode has an electrical current consumption greater than the maximum electrical current able to be produced by the external power supply, a charging circuit of an electronic device to supply the operating circuits with power from both the power pack and the external power supply.