Information processing apparatus and control method
An information processing apparatus including a plurality of components, includes: a power circuit unit capable of switching between supplying and stopping operating power to the plurality of components; a first component of the plurality of components, the first component being related to external power supply, and being supplied with operating power directly from the power circuit unit; a second component of the plurality of components, the second component being not related to the external power supply; a switch unit connected between the power circuit unit and the second component, the switch unit being capable of switching between supplying and stopping the operating power supplied from the power circuit unit to the second component; and a sub-controller that is operable with power supply to a main controller stopped, the main controller executing information processing based on an operating system (OS).
1 . An information processing apparatus including a plurality of components, comprising:
a power circuit unit capable of switching between supplying and stopping operating power to the plurality of components;
a first component of the plurality of components, the first component being related to external power supply, and being supplied with operating power directly from the power circuit unit;
a second component of the plurality of components, the second component being not related to the external power supply;
a switch unit connected between the power circuit unit and the second component, the switch unit being capable of switching between supplying and stopping the operating power supplied from the power circuit unit to the second component;
a main controller that executes information processing based on an operating system (OS);
a sub-controller that is operable when the main controller is not supplied with operating power; and
a basic input output system (BIOS) memory configured to store setting information for a wake-up event, wherein
the sub-controller uses a first control signal to execute control of switching between supplying and stopping the operating power supplied from the power circuit unit,
the sub-controller uses a second control signal to execute control of switching between supplying and stopping of the operating power via the switch unit,
the information processing apparatus is configured with a first shutdown state that is a normal shutdown state and a second shutdown state that consumes less power than the first shutdown state, and
when transitioning to a shutdown state, the sub-controller
executes control to transition to the first shutdown state if the setting information for the wake-up event is stored in the BIOS memory, and
executes control to transition to the second shutdown state if the setting information for the wake-up event is not stored in the BIOS memory.
2 . The information processing apparatus according to claim 1 , wherein
in the second shutdown state, the sub-controller stops power supply to the main controller, uses the first control signal to supply the operating power from the power circuit unit to the first component, and uses the second control signal to stop supply of the operating power to the second component via the switch unit.
3 . The information processing apparatus according to claim 2 , wherein
in the first shutdown state, the sub-controller stops power supply to the main controller, uses the first control signal to supply the operating power from the power circuit unit to the first component, and uses the second control signal to supply the operating power to the second component via the switch unit.
4 . The information processing apparatus according to claim 1 ,
wherein the sub-controller includes a state information storage that stores state information indicating whether the first shutdown state or the second shutdown state is to be executed,
in response to a request to transition to a shutdown state, the main controller makes a determination whether or not the setting information for the wake-up event is stored in the BIOS memory, and stores the state information in the state information storage based on a result of the determination, and
the sub-controller executes control to transition to either the first shutdown state or the second shutdown state in accordance with the state information stored in the state information storage.
5 . The information processing apparatus according to claim 1 , wherein the first component includes a component to operate a universal serial bus (USB).
6 . A method for controlling an information processing apparatus including a plurality of components, and including a power circuit unit capable of switching between supplying and stopping operating power to the plurality of components; a first component of the plurality of components, the first component being related to external power supply, and being supplied with operating power directly from the power circuit unit; a second component of the plurality of components, the second component being not related to the external power supply; a switch unit connected between the power circuit unit and the second component, the switch unit being capable of switching between supplying and stopping the operating power supplied from the power circuit unit to the second component; a main controller that executes information processing based on an operating system (OS); a sub-controller that is operable when the main controller is not supplied with operating power; and a basic input output system (BIOS) memory configured to store setting information for a wake-up event, the method comprising:
when transitioning to a shutdown state selected from a first shutdown state that is a normal shutdown state and a second shutdown state that consumes less power than the first shutdown state,
executing, by the sub-controller, control to transition to the first shutdown state if the setting information for the wake-up event is stored in the BIOS memory, and
executing, by the sub-controller, control to transition to the second shutdown state if the setting information for the wake-up event is not stored in the BIOS memory, wherein
the sub-controller uses a first control signal to execute control of switching between supplying and stopping the operating power supplied from the power circuit unit, and
the sub-controller uses a second control signal to execute control of switching between supplying and stopping of the operating power via the switch unit.