Provided is an image forming apparatus that shortens the waiting time of a user when returning from a power saving state to an operating state while suppressing power consumption. A return control unit switches a specific device from the power saving state to the operating state when a person is detected by a motion sensor in a situation where the specific device is in the power saving state. A performance recording unit records data of an actual start-up time, which represents a time required to start a specific program when the specific device switches from the power saving state to the operating state, in a non-volatile storage device. A sensitivity setting unit sets the sensitivity of the motion sensor according to the actual start-up time when the specific device is in the power saving state.
展开▼