CROSS REFERENCE TO RELATED APPLICATIONS

This application is a National Phase Entry of PCT International Application No. PCT/KR2018/002087, which was filed on Feb. 21, 2018, and claims a priority to Korean Patent Application No. 10-2017-0039874, which was filed on Mar. 29, 2017, the contents of which are incorporated herein by reference.

BACKGROUND ART

Various embodiments of the disclosure relate to an apparatus and method for preventing overcharging of a battery in an electronic device.

With the advance of information communication techniques and semiconductor techniques, a variety of electronic devices provide various functions. For example, a multimedia service may be various such as a voice call service, a message service, a broadcasting service, a wireless Internet service, a camera service, and a music playback service.

An electronic device such as a portable terminal, a tablet computer, a smartphone, or the like may use a battery as a power supply means to provide mobility. Accordingly, a user of the electronic device may use the electronic device more conveniently, beyond a wired environment for supplying power of the electronic device.

DISCLOSURE OF INVENTION

Technical Problem

When an electronic device is coupled with an external power device in a wired or wireless manner, a battery of the electronic device may be charged with power supplied from the external power device. When the electronic device is coupled with the external electronic device, a charging stability time may be set to prevent overcharging of the battery. The electronic device may cut off the charging of the battery when the charging stability time elapses even if the battery is not fully charged.

The charging stability time may include a fixed time. Accordingly, when current supplied to the battery varies due to a change in current consumed in the electronic device, the electronic device may have a problem in that the charging of the battery is randomly cut off before the battery is fully charged.

Various embodiments of the disclosure may provide an apparatus and method for adaptively controlling a charging stability time to correspond to a system change in an electronic device.

According to various embodiments of the disclosure, an electronic device includes a battery, at least one processor, and a memory electrically coupled to the at least one processor. The memory may store instructions, when executed, allowing the at least one processor to set a charging stability time corresponding to an external device upon connection with the external power device, charge the battery, based at least in part on power of the external power device, and update the charging stability time, based on a change of at least one of charging current and discharging current of the battery.

According to various embodiments of the disclosure, a method of operating an electronic device may include setting a charging stability time corresponding to an external device upon connection with the external power device, charging the battery, based at least in part on power of the external power device, and updating the charging stability time, based on a change of at least one of charging current and discharging current of the battery.

