Patent attributes
An image forming apparatus includes a user interface device, an image forming operation unit, a detection sensor having a two-dimensional structure including a plurality of sensor columns of sensors, a power supply to supply power to the user interface device and the image forming operation unit according to power modes including a sleep mode and a standby mode, in which the power supply is to supply more power in the standby mode than in the sleep mode, and a controller. The controller is to switch a power mode from the sleep mode to the stand-by mode, when a first condition is satisfied based on sensor data detected by the sensor columns, the first condition being a condition in which results of calculations performed on data, of the sensor data, corresponding to consecutive sensor columns among the plurality of sensor columns are each equal to or greater than a threshold value simultaneously for a period of time, to indicate detection of a human body, and to control the power supply to supply power corresponding to the switched power mode to the user interface device and the image forming operation unit.