A head-mounted-type electronic device comprising: a first interface unit configured to be connected to an external device; a second interface unit configured to be connected to an external charger; and a main controller configured to: detect whether the external charger is connected to the head-mounted type electronic device, if the second interface unit is connected to the external charger, control to receive a power from the external charger, operate the head-mounted-type electronic device by using the received power from the external charger; and while the first interface unit is connected to the external device and the second interface unit is connected to the external charger, control a transfer of the received power from the external charger to the external device, wherein the head-mounted-type electronic device further comprises: a sensor and a switch unit, wherein the main controller is further configured to determine whether the head-mounted-type electronic device is worn based on a signal detected by the sensor, and if the head-mounted-type electronic device is worn, the main controller is further configured to turn on the switch unit to operate the head-mounted-type electronic device by using a power supplied from the external charger, and transfer the power supplied from the external charger to the external device. a first interface unit configured to be connected to an external device; a second interface unit configured to be connected to an external charger; and a main controller configured to: detect whether the external charger is connected to the head-mounted type electronic device, if the second interface unit is connected to the external charger, control to receive a power from the external charger, operate the head-mounted-type electronic device by using the received power from the external charger; and while the first interface unit is connected to the external device and the second interface unit is connected to the external charger, control a transfer of the received power from the external charger to the external device, detect whether the external charger is connected to the head-mounted type electronic device, if the second interface unit is connected to the external charger, control to receive a power from the external charger, operate the head-mounted-type electronic device by using the received power from the external charger; and while the first interface unit is connected to the external device and the second interface unit is connected to the external charger, control a transfer of the received power from the external charger to the external device, wherein the head-mounted-type electronic device further comprises: a sensor and a switch unit, wherein the main controller is further configured to determine whether the head-mounted-type electronic device is worn based on a signal detected by the sensor, and if the head-mounted-type electronic device is worn, the main controller is further configured to turn on the switch unit to operate the head-mounted-type electronic device by using a power supplied from the external charger, and transfer the power supplied from the external charger to the external device. a sensor and a switch unit, wherein the main controller is further configured to determine whether the head-mounted-type electronic device is worn based on a signal detected by the sensor, and if the head-mounted-type electronic device is worn, the main controller is further configured to turn on the switch unit to operate the head-mounted-type electronic device by using a power supplied from the external charger, and transfer the power supplied from the external charger to the external device.