Patent ID: 8862012

Claim:
An image forming apparatus comprising: an image forming unit configured to form an image on a medium; a power source switch that switches between an on-state and an off-state by a user operation; a first control unit configured to control the image forming unit; a power supply unit that is supplied power from an external power source when the power supply unit is connected to the external power source; a first switching unit that switches between a conduction state and a non-conduction state, the first switching unit connecting the power supply unit and the external power source when the first switching unit is in the conduction state, and the first switching unit does not connect the power supply unit and the external power source when the first switching unit is in non-conduction state; a capacitor that stores power used by the first switching unit; a second switching unit that switches between a conduction state and a non-conduction state, the second switching unit connecting the power supply unit and the first control unit when the second switching unit is in the conduction state, and the second switching unit does not connect the power supply unit and the first control unit when the second switching unit is in the non-conduction state; and a second control unit that is connected to the power source switch and controls the first switching unit and the second switching unit, wherein the power supply unit charges the capacitor and supplies power to the second control unit when the first switching unit is in the conduction state and the power source switch is in the on-state, and the power supply unit supplies power to the first control unit when the second switching unit is in the conduction state.