An electronic device comprising: a battery; a charging module; at least one sensor (230, 240); and a controller (180, 250), wherein the controller (180, 250) is configured to: acquire state information of the battery using the at least one sensor (230, 240), the state information of the battery comprising a temperature of the battery; characterized in that the controller (180, 250) is configured to: suspend charging of the battery when the temperature of the battery is out of a predetermined range, wherein the predetermined range is equal to or greater than a first reference temperature value and equal to or less than a second reference temperature value, and in a case in which the temperature of the battery is within the predetermined range: divide the temperature range into a predetermined number of sections based on a preset criterion, set an end of charge, EoC, current for each section, determine the end of charge EoC, current corresponding to the section including the temperature of the battery to be the EoC current of the battery; and control the charging module to charge the battery based on the determined EoC current. a battery; a charging module; at least one sensor (230, 240); and a controller (180, 250), wherein the controller (180, 250) is configured to: acquire state information of the battery using the at least one sensor (230, 240), the state information of the battery comprising a temperature of the battery; characterized in that the controller (180, 250) is configured to: suspend charging of the battery when the temperature of the battery is out of a predetermined range, wherein the predetermined range is equal to or greater than a first reference temperature value and equal to or less than a second reference temperature value, and in a case in which the temperature of the battery is within the predetermined range: divide the temperature range into a predetermined number of sections based on a preset criterion, set an end of charge, EoC, current for each section, determine the end of charge EoC, current corresponding to the section including the temperature of the battery to be the EoC current of the battery; and control the charging module to charge the battery based on the determined EoC current. acquire state information of the battery using the at least one sensor (230, 240), the state information of the battery comprising a temperature of the battery; characterized in that the controller (180, 250) is configured to: suspend charging of the battery when the temperature of the battery is out of a predetermined range, wherein the predetermined range is equal to or greater than a first reference temperature value and equal to or less than a second reference temperature value, and in a case in which the temperature of the battery is within the predetermined range: divide the temperature range into a predetermined number of sections based on a preset criterion, set an end of charge, EoC, current for each section, determine the end of charge EoC, current corresponding to the section including the temperature of the battery to be the EoC current of the battery; and control the charging module to charge the battery based on the determined EoC current. suspend charging of the battery when the temperature of the battery is out of a predetermined range, wherein the predetermined range is equal to or greater than a first reference temperature value and equal to or less than a second reference temperature value, and in a case in which the temperature of the battery is within the predetermined range: divide the temperature range into a predetermined number of sections based on a preset criterion, set an end of charge, EoC, current for each section, determine the end of charge EoC, current corresponding to the section including the temperature of the battery to be the EoC current of the battery; and control the charging module to charge the battery based on the determined EoC current. divide the temperature range into a predetermined number of sections based on a preset criterion, set an end of charge, EoC, current for each section, determine the end of charge EoC, current corresponding to the section including the temperature of the battery to be the EoC current of the battery; and control the charging module to charge the battery based on the determined EoC current.