Patent ID: 8560868

Claim:
A computer implemented method for managing power supply to system resources, the computer implemented method comprising: identifying an application to be executed after a system restart; identifying system resources for reconfiguration for a different application workload of the application to be executed after the system restart; retrieving a power profile for the application to be executed after the system restart, wherein the power profile for the application to be executed after the system restart is an optimized energy specifying which hardware elements are required to be powered on and which hardware elements should be powered off for execution of the application to be executed after the system restart; responsive to identifying system resources for reconfiguration, updating a present power profile in a non-volatile memory to correspond to the power profile for the application to be executed, wherein the present power profile is updated according to the different application workload; during the system restart, retrieving the present power profile in the non-volatile memory; and applying power to system resources through a hardware hook based on the present power profile.