摘要 |
Before hibernating a computing device (102), system software components (116) are notified of an upcoming hibernation process. The notifications are conveyed through an application program interface (API) (114). At least a portion of the system software components (116) can perform one or more pre-hibernation activities to place that system software component (116) in a ready-to-resume state. Each system software component indicates when it is ready for hibernation. Responsive to receiving the indication from each of the system software components (116), the hibernation process can complete. The completed hibernation process creates a snapshot (122) in nonvolatile memory. The snapshot (122) saves state information (124) for each of the system software components (116). The state information (124) is for the ready-to-resume state of the system software components (116). The computing device (102) can be restored after hibernation using a resume process (130), which reads the state (124) information from the snapshot (122). |