An electronic device (500, 700) comprising: a battery; at least two front electrodes located in a front side of the electronic device, including a first electrode (531, 721) and a second electrode (533, 723), wherein the front electrodes are suitable to be used for charging and are suitable to be used to acquire biometric information; at least two rear electrodes located in a rear side of the electronic device, including a third electrode (541, 731) and a fourth electrode (543, 733); a charging circuit for charging the battery; a sensor controller configured to measure biometric information through the electrodes, wherein the sensor controller is connected to the rear electrodes (541, 731; 543, 733); at least one switch for selectively connecting the front electrodes (531, 721; 533, 723) to the charging circuit or to the sensor controller; and a processor configured to: determine whether a charging module is mounted to the front electrodes (531, 721; 533, 723); if a charging module is not mounted to the front electrodes, connect the front electrodes (531, 721; 533, 723) to the sensor controller by using the at least one switch and acquire biometric information by using a first method; and if a charging module is mounted to the front electrodes, connect the front electrodes (531, 721; 533, 723) to the charging circuit by using the at least one switch and acquire the biometric information by using a second method. a battery; at least two front electrodes located in a front side of the electronic device, including a first electrode (531, 721) and a second electrode (533, 723), wherein the front electrodes are suitable to be used for charging and are suitable to be used to acquire biometric information; at least two rear electrodes located in a rear side of the electronic device, including a third electrode (541, 731) and a fourth electrode (543, 733); a charging circuit for charging the battery; a sensor controller configured to measure biometric information through the electrodes, wherein the sensor controller is connected to the rear electrodes (541, 731; 543, 733); at least one switch for selectively connecting the front electrodes (531, 721; 533, 723) to the charging circuit or to the sensor controller; and a processor configured to: determine whether a charging module is mounted to the front electrodes (531, 721; 533, 723); if a charging module is not mounted to the front electrodes, connect the front electrodes (531, 721; 533, 723) to the sensor controller by using the at least one switch and acquire biometric information by using a first method; and if a charging module is mounted to the front electrodes, connect the front electrodes (531, 721; 533, 723) to the charging circuit by using the at least one switch and acquire the biometric information by using a second method. determine whether a charging module is mounted to the front electrodes (531, 721; 533, 723); if a charging module is not mounted to the front electrodes, connect the front electrodes (531, 721; 533, 723) to the sensor controller by using the at least one switch and acquire biometric information by using a first method; and if a charging module is mounted to the front electrodes, connect the front electrodes (531, 721; 533, 723) to the charging circuit by using the at least one switch and acquire the biometric information by using a second method.