Patent ID: 8898490

Claim:
An information processing apparatus comprising an interface unit that controls communication with an external apparatus and having a first power state and a second power state in which power consumption is lower than in the first power state and power is supplied to at least the interface unit, the apparatus comprising: a generation unit that generates, in the first power state, a prohibition condition for prohibiting the information processing apparatus from returning from the second power state to the first power state even if the interface unit receives data from the external apparatus in the second power state and the received data matches a return condition for causing the information processing apparatus to return from the second power state to the first power state; a notification unit that notifies, in the first power state, the interface unit of the prohibition condition generated by the generation unit; and a power control unit that, upon receiving a return command indicating a return from the second power state to the first power state from the interface unit after the information processing apparatus transits from the first power state to the second power state, causes the information processing apparatus to return from the second power state to the first power state, wherein in a case where data is received from the external apparatus in the second power state and the received data matches the return condition, if the received data matches the prohibition condition, the interface unit does not transmit the return command to the power control unit, and if the received data does not match the return condition, the interface unit transmits the return command to the power control unit.