Patent ID: 8527799

Claim:
An information processing apparatus which is able to communicate with an external apparatus, comprising: a power switch adapted to turn on or off power of the information processing apparatus; a reception unit adapted to receive a command for turning off the power of the information processing apparatus from the external apparatus; an execution unit adapted to execute shutdown of the information processing apparatus in response to turning off of the power switch or receiving of the command from the external apparatus; and a control unit adapted to control, in case that the execution unit executes shutdown of the information processing apparatus in response to turning off of the power switch, to restart the information processing apparatus when the power switch is on at completion of the shutdown of the information processing apparatus, and to turn off the power of the information processing apparatus when the power switch is off at completion of the shutdown of the information processing apparatus, and, in case that the execution unit executes shutdown of the information processing apparatus in response to receiving of the command from the external apparatus, to turn off the power of the information processing apparatus regardless of a state of the power switch at completion of the shutdown of the information processing apparatus.