CPC G06F 1/266 (2013.01) [G01R 31/382 (2019.01)] | 16 Claims |
1. An electronic device comprising:
a battery;
a connector comprising multiple pins;
at least one processor;
and
memory storing instructions that, when executed by the at least one processor, cause the electronic device to:
identify a connection with an external electronic device through the connector,
in case that an application related to the external electronic device is executed and a state of charging (SOC) of the battery is equal to or higher than a designated value, identify, among a first current value and a second current value higher than the first current value, the second current value as a current value of power to be supplied to the external electronic device, and
in case that the power corresponding to the second current value is supplied to the external electronic device, limit a luminance of a display of the electronic device,
wherein the electronic device is configured to manage a data flow between the electronic device and the external electronic device.
|