主权项 |
1. A method for hibernating and resuming system software comprising:
before hibernating a computing device, notifying, via a processor of the computing device, system software components of an upcoming hibernation process; at least a portion of the system software components performing, via the processor, a pre-hibernation activity to place that system software component in a ready-to-resume state; and each system software component, indicating, via the processor, that that system software component is ready for hibernation; and, creating, via the processor, a snapshot of the system software components in the ready-to-resume state; wherein the ready-to-resume state is a state in which an initialization operation is executed upon resume with respect to an external component of the computing device; and wherein for at least one of the system software components, the ready-to-resume state is a state existing immediately before a variable linked to an external mechanical input component is determined, whereby the at least one system software component checks the mechanical input to determine a value of the variable based on a current state of the mechanical input upon resuming and before the variable is utilized or is attempted to be utilized by that system software component. |