an electronic device is connected to the power source in this diagram, which shows how it works