1. A method for power management, comprising: receiving a request to enter a first sleep state for a system, as defined by the Advanced Configuration and Power Interface (ACPI) specification; performing one or more processes to enter the first sleep state in response to the request to enter the first sleep state; storing a system memory image in a portion of a nonvolatile memory (NVM) in response to the request to enter the first sleep state in order to enter a second sleep state as defined by the ACPI specification, wherein the portion of the nonvolatile memory where the system memory image is stored is not accessible by an operating system of the system, and wherein the first sleep state requires the system memory of the system to be periodically refreshed while in the first sleep state and the second sleep state does not require the system memory to be periodically refreshed while in the second sleep state, and wherein the system memory image comprises an L2 configuration context; removing power to a system memory after said storing the system memory image in the NVM in response to the request to enter the first sleep state, wherein after said removing power to the system memory, the system is in the second sleep state; receiving a request to resume the system; providing power to the system memory in response to the request to resume the system; restoring the system memory image from the NVM using demand paging after said providing power to the system memory; and performing a second one or more processes to resume the system after said restoring and in response to the request to resume the system.