According to an embodiment, the processor 110 may perform an operation disclosed herein or control other components for performing a relevant operation. For example, the processor 110 may turn on or turn off a component in the electronic device 100. The turn-on may include activating the component or activating at least some functions of the component. The turn-off may include deactivating the component or deactivating at least some functions of the component. For example, an operation in which the processor 110 turns on the booster 142 may be understood as activating or turning on a VBUS function of the booster 142. For example, an operation of turning on a charger (e.g., a second charger 180 of