Patent ID: 8281169

Claim:
A method of power management for a handheld mobile electronic device having a processor, execute-in-place non-volatile memory (XIP NVM), and dynamic random access memory (DRAM), comprising the steps of: executing-in-place an application kernel from the XIP NVM, wherein the application kernel is a subset of a main application code; selectively disabling the DRAM to reduce current drain on the handheld mobile electronic device, wherein the application kernel from the XIP NVM maintains control of the system while a main application code loads to the DRAM in a background process; detect a low power mode for the handheld mobile electronic device; store the application kernel in the XIP NVM; executing-in-place the application kernel from the XIP NVM upon dectecting the low power mode; store and share a state and a context between the application kernel and the main application code in one of the XIP NVM or an internal memory of the processor that is shared between the XIP NVM and the DRAM; and dynamic frequency shifting of a system clock or a bus clock based on a profile of the application.