An electronic device according to an embodiment may, when instructions are executed, identify an external electronic device that is in contact with one surface of a housing on which a coil is disposed, by using a communication circuit. In a first state in which power is received by wire through an interface, the electronic device may, by using the communication circuit, request the external electronic device to display a screen for selective transmission of the power, which has been received by wire, to one of a battery and the external electronic device. The electronic device may transmit, on the basis of identification of a first input for selecting the battery in the screen using the external electronic device, the power to the battery among the battery and the external electronic device.