An electronic device, comprising: a battery having a rated charging voltage, a rated charging current, and a design capacity; a charging circuit configured to supply power to the battery; and a processor electrically connected to the battery and the charging circuit, wherein the processor is configured to: control the charging circuit to charge the battery in different ways based on a plurality of ranges determined based on a full charge capacity, FCC, of the battery, when the FCC of the battery is included in a first range from the design capacity to a first capacity lower than the design capacity, control the charging circuit to charge the battery by setting a first charging voltage lower than the rated charging voltage and setting a first charging current lower than the rated charging current, and when the FCC of the battery is included in a second range lower than the first capacity and higher than or equal to a second capacity lower than the first capacity, the processor is further configured to control the charging circuit to charge the battery by setting a second charging voltage lower than the first charging voltage and varying based on the FCC and setting a second charging current lower than the first charging current and varying based on the FCC. a battery having a rated charging voltage, a rated charging current, and a design capacity; a charging circuit configured to supply power to the battery; and a processor electrically connected to the battery and the charging circuit, wherein the processor is configured to: control the charging circuit to charge the battery in different ways based on a plurality of ranges determined based on a full charge capacity, FCC, of the battery, when the FCC of the battery is included in a first range from the design capacity to a first capacity lower than the design capacity, control the charging circuit to charge the battery by setting a first charging voltage lower than the rated charging voltage and setting a first charging current lower than the rated charging current, and when the FCC of the battery is included in a second range lower than the first capacity and higher than or equal to a second capacity lower than the first capacity, the processor is further configured to control the charging circuit to charge the battery by setting a second charging voltage lower than the first charging voltage and varying based on the FCC and setting a second charging current lower than the first charging current and varying based on the FCC. control the charging circuit to charge the battery in different ways based on a plurality of ranges determined based on a full charge capacity, FCC, of the battery, when the FCC of the battery is included in a first range from the design capacity to a first capacity lower than the design capacity, control the charging circuit to charge the battery by setting a first charging voltage lower than the rated charging voltage and setting a first charging current lower than the rated charging current, and when the FCC of the battery is included in a second range lower than the first capacity and higher than or equal to a second capacity lower than the first capacity, the processor is further configured to control the charging circuit to charge the battery by setting a second charging voltage lower than the first charging voltage and varying based on the FCC and setting a second charging current lower than the first charging current and varying based on the FCC.