Patent ID: 8224497

Claim:
An electronic system comprising: a memory device storing: an energy limit method that: receives as input an energy limit, comprising an energy limit value; receives as input a sliding window size for a sliding window, wherein said sliding window is defined as a fixed size temporal window that slides along time; receives as input a power consumption history of the electronic system of a previous sliding window ended at the current time; and returns power management decisions that have a plurality of optimization goals with the energy limit as a constraint; and the history of power consumption of the electronic system; a processor device, said processor device comprising: a parameter setter that receives inputs to define energy limit parameters; a decision maker that receives the energy limit parameters from the parameter setter and invokes an energy limit algorithm to determine energy consumption of the electronic system, wherein said energy consumption is an accumulated power consumption within the fixed size temporal windows; and a power controller that takes input from the decision maker and uses power management technologies to adjust the power usage of the electronic device by applying a threshold that limits a sum of the energy consumption within the sliding window instead of limiting the power consumption at any instant, thus allowing said power consumption to fluctuate within said sliding window, wherein said threshold is applied to a current sliding window as any unused energy in said current sliding window.