发明名称 Thread management based on device power state
摘要 Managing threads for executing on a computing device based on a power state of the computing device. A power priority value corresponding to each of the threads is compared to a threshold value associated with the power state. The threads having an assigned power priority value that violates the threshold value are suspended from executing, while the remaining threads are scheduled for execution. When the power state of the computing device changes, the threads are re-evaluated for suspension or execution. In an embodiment, the threads on a mobile computing device are managed to maintain the processor in a low power state to reduce power consumption.
申请公布号 US9027027(B2) 申请公布日期 2015.05.05
申请号 US200812135213 申请日期 2008.06.09
申请人 Microsoft Technology Licensing, LLC 发明人 Vals Angelo Renato;Laughlin Chetley T.
分类号 G06F9/46;G06F9/48 主分类号 G06F9/46
代理机构 代理人 Jardine John;Drakos Kate;Minhas Micky
主权项 1. A system comprising: a memory area for storing a list of active threads being executed by a mobile computing device and a list of suspended threads, said memory area further storing a power priority value for each of the active threads and the suspended threads, said memory area storing a default power priority value for each of the active threads and suspended threads if a power profile does not exist, wherein the default power priority value prevents the threads from running in any power state other than an active power state, wherein the power state comprises at least one of the following: ON, IDLE, ACTIVE, STANDBY, RECHARGING, BATTERY POWER LEVEL, or BACKLIGHT OFF; and a processor programmed to: determine a power state of the mobile computing device upon detection of a change in the power state, the determined power state representing one of a plurality of power states each mapped to one of a plurality of threshold values;identify one of the plurality of threshold values corresponding to the determined power state;compare the identified threshold value to the power priority value for each of the active threads and suspended threads individually; andalter the list of active threads and the list of suspended threads by moving at least one thread between the list of active threads and the list of suspended threads based on the comparison to manage the power state of the mobile computing device.
地址 Redmond WA US