Patent ID: 11916425
Assignee: SAMSUNG ELECTRONICS CO., LTD.
Field: Electrical machinery, apparatus, energy (Electrical engineering)
Classification: CPC H | IPC H

Claim 13:
14. An electronic device comprising:
a housing;
a battery disposed inside the housing;
a power management circuit configured to control charging the battery; and
at least one processor operationally connected with the battery and the power management circuit,
wherein the at least one processor is configured to:
set a plurality of target voltages and a plurality of reference currents for a plurality of charging intervals, respectively,
identify whether a voltage of the battery reaches a first target voltage of the plurality of target voltages in a first charging interval of the plurality of charging intervals, while charging the battery in a first mode in which a first charging current of the battery reflecting a consumption load current used by the electronic device remains the same when a consumption load current of the electronic device is low, and in which the first charging current does not remain the same during the first charging interval when the consumption load current of the electronic device is high, and
maintain the first target voltage while gradually changing the first charging current to a second charging current that is less than the first charging current to switch the first mode to a second mode in which the first target voltage remains the same, in the second mode,

wherein, to switch from the first mode to the second mode, the at least one processor is configured to:
repeatedly obtain a first value of a strength of a charging current presently flowing into the battery, a second value of an average of the charging current flowing into the battery during the first charging interval, and an average value of the consumption load current during the first charging interval,
determine a greater value from among the first value and the second value,
based on the greater value exceeding a first reference current of the first charging interval, initialize an effective count to zero, wherein the first reference current is different from the charging current flowing into the battery that remains the same while charging the battery in the first mode,
based on a sum of the greater value and the average value of the consumption load current being less than or equal to the first reference current, increase the effective count by one, and
based on the effective count exceeding a specified number of a plurality of times, move from the first mode to the second mode, and

wherein the first mode is a constant current charging mode and the second mode is a constant voltage charging mode.