Device for adjusting path of power and operation method thereof

An electronic device according to various embodiments includes a battery, a power regulator electrically connected to the battery and including an input terminal and an output terminal, a connector electrically coupled to the input terminal, a wireless power transmission circuit A switch and a controller electrically connected between the connector and the wireless power transmission circuit, Identify requests related to accessing or wireless charging external electronic devices, And in response to the verifying operation, determining whether power is provided from an external power supply through the connector, and if the power is not provided from the external power supply, Supplies power output from the battery to the battery, and And may be configured to supply the power to the wireless power transfer circuit via the switch if the power is provided from the external power supply. Various other embodiments are possible.