An electronic device comprising: a housing comprising; a first battery; a second battery; a battery charging circuit; a booster circuit; a first switch electrically connected with the first battery; a second switch electrically connected with the second battery; and a control circuit, characterized in that it further comprises a power management integrated circuit (PMIC); wherein the first and second switches (461, 462) are three-point switches having an open node, a boost node and a power node (Vbat node), in which the open node is a node in which no electrical route is formed with any circuit, the boost node is a node connected to the booster circuit and the input of the charging circuit, and the power node is a node connected the PMIC and the output of the charging circuit, wherein the control circuit is configured to provide at least using the first switch and the second switch, one of: a first state in which the first battery is electrically connected with the PMIC and the output of the battery charging circuit when the second battery forms an open circuit, and in which the first battery is used as a main power source for the electronic device; a second state in which the first battery is electrically connected with the booster circuit and the input of the battery charging circuit, and the second battery is connected to the output of the battery charging circuit, and in which the first battery is used as a main power source for the electronic device; and a third state in which the first battery forms the open circuit; and a fourth state in which the second battery is electrically connected with the PMIC and the output of the battery charging circuit when the first battery forms the open circuit, and in which the second battery is used as a main power source for the electronic device; a fifth state in which the second battery is electrically connected with the booster circuit and the input of the battery charging circuit and in which the second battery is used as a main power source for the electronic device; and a sixth state in which the second battery forms the open circuit. a first state in which the first battery is electrically connected with the PMIC and the output of the battery charging circuit when the second battery forms an open circuit, and in which the first battery is used as a main power source for the electronic device; a second state in which the first battery is electrically connected with the booster circuit and the input of the battery charging circuit, and the second battery is connected to the output of the battery charging circuit, and in which the first battery is used as a main power source for the electronic device; and a third state in which the first battery forms the open circuit; and a fourth state in which the second battery is electrically connected with the PMIC and the output of the battery charging circuit when the first battery forms the open circuit, and in which the second battery is used as a main power source for the electronic device; a fifth state in which the second battery is electrically connected with the booster circuit and the input of the battery charging circuit and in which the second battery is used as a main power source for the electronic device; and a sixth state in which the second battery forms the open circuit.