Patent attributes
According to an embodiment of the present disclosure, a method for operating an electronic device may include receiving information related to a second battery from an external electronic device having the second battery by an electronic device having a first battery and a charger for charging the first battery; and identify at least one operation of: 1) receiving an electric power from the external electronic device to the electronic device, 2) supplying an electric power from the electronic device to the external electronic device, or 3) not transferring an electric power between the electronic device and the external electronic device, by the electronic device based at least one of the information related to the second battery or information related to the first battery. Further, various embodiments can be implemented.