Patent ID: 7174468

Claim:
A method for developing an application wherein a power management strategy for the application is implemented, the method comprising the steps of: a. building the application wherein a power management module is included with the application wherein the power management module is operable to provide one or more methods of power management selected from the group consisting of; causing a power-saving function to be executed when a digital system is booted, invoking application specific sleep modes, registering of a plurality of clients for notification of one or more power events and notifying the registered clients of power events for which the registered clients requested notification; and idling one or more specified clock domains; b. capturing power consumption data of each of a plurality of functions of the application as the application is executed on a target system; c. presenting the captured power consumption data to a user for analysis such that the user may analyze the power consumption of each of the plurality of functions; d. accepting modifications to one or more of the plurality of functions wherein the modifications are made to use one or more of the methods of power management provided by the power management module and to reduce power consumption of the functions responsive to the analysis of the power consumption data; and providing for repetition of steps aâ€“d; wherein the step of building further comprises including a power scaling library in the application and wherein the power scaling library is used by the power management module to cause a setpoint of a processor to be changed.