| CPC G06F 1/3243 (2013.01) | 4 Claims |

|
1. A power supply device comprising circuitry configured to:
supply power to an information processing apparatus;
acquire a detection result of a person by a sensor disposed at the information processing apparatus;
output a first determination result indicating whether a first condition is satisfied, the first condition being related to an operation receivable by the information processing apparatus;
output a second determination result indicating whether a second condition is satisfied, the second condition being related to a situation around the information processing apparatus;
in a case where the detection result indicates that a person is detected in a state where the information processing apparatus is in a power saving mode, the power saving mode performed based on the operation received from a user, the power saving mode being a mode in which the power supplied to the information processing apparatus is reduced as compared with a normal mode;
set the sensor to an inactive state when the information processing apparatus is switched to the power saving mode;
determine that the first condition is satisfied based on a determination result that an elapsed time from switching to the power saving mode exceeds a first length of time;
set the sensor to a conditional active state when the elapsed time from switching to the power saving mode exceeds the first length of time;
determine, after setting the sensor to the conditional active state and after starting to count a second length of time, that the second condition is satisfied based on a determination result that a number of times of detection of human movement detected by the sensor is greater than a threshold value, wherein the sensor is set to the inactive state when the number of times of detection of human movement detected by the sensor after starting the second length of time is less than or equal to the threshold value;
set the sensor to an active state when an elapsed time of the second length of time has exceeded a predetermined period in the conditional active state without detecting the person; and
cancel, after the sensor is set to the conditional active state, the power saving mode based on the first determination result outputted after the first length of time and the second determination result outputted during the second length of time, wherein the second length of time occurs after the first length of time is elapsed.
|