Information processing apparatus, method and computer-readable storage medium for power control under a plurality of power modes including an unsupported power mode
An information processing apparatus includes an application program; a power control unit configured to switch power modes so as to control ON/OFF of power supply to each piece of hardware; and a function execution unit configured to execute control of a specified function based on an instruction from the application program. The function execution unit is configured to inquire at the power control unit for the power modes in response to an instruction from the application program. The power control unit is configured to return a power mode to the function execution unit. The function execution unit is configured to notify the power control unit of a recovery request for powering ON the hardware that has been powered OFF in the power mode not supported.