主权项 |
1. A method comprising:
receiving, by an electronic device, a voltage from an AC-DC adapter that is separate from the electronic device; detecting, by the electronic device, a change in the voltage from the AC-DC adapter; in response to detecting the change, determining, by the electronic device, an amount of current from the AC-DC adapter; and adjusting, by the electronic device, a power consumption of a load in the electronic device based on the determined current. |