Claims
- 1. A method for managing power consumption in a digital system comprising the steps of:
registering a plurality of clients for notification of power events; receiving a request for a power event from a first client; notifying each of the registered clients of the power event; and causing the power event to occur.
- 2. The method of claim 1 further comprising the step of unregistering a client of the plurality of clients when the client no longer wants notification of power events.
- 3. The method of claim 1 wherein the step of notifying further comprises notifying each of the registered clients that the power event has been requested before the power event occurs if the registered client requested to be notified before the occurrence of the power event; and
the method further comprises the step of notifying each of the registered clients after the power event occurs that the power event has occurred if the registered client requested to be notified after the occurrence of the power event.
- 4. The method of claim 3 further comprising the step of:
receiving a response from at least a second client that the second client is not ready for the power event to occur; and wherein the steps of causing the power event to occur and notifying each of the registered clients after the power event are delayed until the second client indicates that the second client is ready for the power event to occur; and wherein the notification of any remaining registered clients prior to causing the power event to occur is not delayed by the response of the second client.
- 5. The method of claim 4 wherein
the step of receiving a request further comprises receiving a notification timeout period; and wherein if the second client does not indicate that the second client is ready for the power event to occur within the notification timeout period, the first client is notified that the timeout period has elapsed.
- 6. The method of claim 1 wherein
the requested power event comprises a setpoint change; and the method further comprises the step of verifying that each of the registered clients can operate at a setpoint requested by the first client; and the steps of notifying the registered clients and causing the power event to occur are executed only if all registered clients can operate at the requested setpoint.
- 7. The method of claim 1 wherein the power events are selected from a group comprising: setpoint change, enter deep sleep mode, enter snooze mode, change to power supply status, and a developer defined event.
- 8. The method of claim 1 wherein
the step of registering further comprises each client of the plurality of clients registering for notification of only the power events for which the client desires notification; and the step of notifying further comprises notifying each of the registered clients of the power event if the registered client registered for notification of the power event.
- 9. A digital system in which power consumption is dynamically managed during the operation of the digital system comprising:
a processor; one or more peripheral devices coupled to the processor; an operating system executable by the processor; an application executable on the operating system; and a power management module incorporated in the digital system wherein the power management module is an adjunct to the operating system and provides power management functionality for the digital system.
- 10. The digital system of claim 9 wherein the operating system is a real-time operating system.
- 11. The digital system of claim 9 wherein the processor is comprised of multiple processing cores and multiple clocks.
- 12. The digital system of claim 9 wherein the power management module is operable to provide a method for managing power consumption comprising the steps of:
registering a plurality of clients for notification of power events; receiving a request for a power event from a first client; notifying each of the registered clients of the power event; and causing the power event to occur.
- 13. The digital system of claim 9 wherein the power management module comprises a power scaling library providing functionality to change a setpoint of the processor.
- 14. The digital system of claim 9 wherein the power management module provides one or more methods for power management selected from the group consisting of: causing a power-saving function to be called when the digital system is booted, invoking application specific sleep modes, registering 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.
- 15. The digital system of claim 14 wherein the methods for power management further consist of: changing a setpoint of the processor during operation of the digital system.
- 16. A method for managing power consumption in a digital system comprising providing a power management module wherein the power management module may be incorporated into an application to be executed on the digital system as an adjunct to an operating system and the application software and wherein the power management module is operable to provide one or more methods of power management selected from the group consisting of:
accepting a user-specified power-saving function and causing the power-saving function to be called when the digital system is booted, accepting application-specific sleep modes and invoking the application-specific sleep modes upon request, registering 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.
- 17. The method of claim 16 wherein the methods for power management further consist of: changing a setpoint of the processor during operation of the digital system upon request by a client of the power module.
- 18. The method of claim 17 wherein the method of changing a setpoint further comprises if changing the setpoint requires raising a voltage of a voltage regulator of the digital system, not returning control to the requesting client until the voltage is raised, and if changing the setpoint requires lowering a voltage of the voltage regulator, returning control to the requesting client so that execution may continue while the voltage is lowered.
- 19. The method of claim 16 wherein idling of one or more specified clock domains further comprises prohibiting idling of an invalid combination of clock domains if more than one clock domain is specified.
- 20. The method of claim 16 further comprising the step of providing a graphic interface operable to configure the power management module.
Parent Case Info
[0001] This application claims priority to provisional application Serial No. 60/400,426 (TI-34977PS). This application is related to copending applications Ser. No. xx/xxx,xxx entitled Methodology for Coordinating and Tuning Application Power (TI-35526) and Ser. No. xx/xxx,xxx entitled Methods and Systems for Performing Dynamic Power Management Via Frequency and Voltage Scaling (TI-34977).
Provisional Applications (1)
|
Number |
Date |
Country |
|
60400426 |
Aug 2002 |
US |