A computer-useable medium storing computer-useable instructions for controlling an information processing system including an information processing system main body, a peripheral device and having a power management function which includes a plurality of suspension modes, said medium comprising:
- instructions for detecting whether a predetermined peripheral device is connected to the information processing system main body or not;
- instructions for detecting an event to instruct the start of one of the plurality of suspension modes;
- and
- instructions for setting the system into a mode from among the plurality of suspension modes in which the system can be resumed from a suspension state to an operational state when said event detecting instructions detect that an event is generated as a result of said connection state detecting instructions detecting that the predetermined peripheral device is connected.