commit | d33c7cd87a8ca6ede8622392601f8ce9df7694ad | [log] [tgz] |
---|---|---|
author | Dianne Hackborn <hackbod@google.com> | Tue Oct 25 17:13:24 2016 -0700 |
committer | Dianne Hackborn <hackbod@google.com> | Fri Oct 28 11:20:19 2016 -0700 |
tree | d60f83e2f3abaf6ea5e9156c29f60a0e3830a4c7 | |
parent | fa4c311438dc174df7acac822a9aa91ae91e9879 [diff] |
Power manager now prevents wake locks from idle uids. The activity manager now pushes the idle/active state down in to the power manager. The power manager now tracks a structure of data about each uid: how many wake locks it holds, whether it is active, and (as before) its current process state. Now when apps are inactive, we always disable wake locks they hold, regardless of the system's device idle or other state. Test: none Change-Id: I2cd4077e4d8a8572525406ae9747f0a2435764da