摘要 |
A computing device is arranged to include a resource manager that controls access to all power resources on the device. The resource manager detects unused devices by counting the components that have requested usage and powers down unused resources, and for those resources offering multiple power levels, it guarantees that the operating level is no higher than is needed. The methods may be applied to a binary shared power resource having an on state and an off state, and a multilevel power resource having an off state and an on state that supports multiple power output levels. Preferably, if a request is not immediately satisfied then a thread of execution containing the requesting component is suspended, or caused to sleep, for a period of time sufficient to enable the request to be satisfied. |