commit | 016ff14f12900a12499a434b297b2192b62ff2da | [log] [tgz] |
---|---|---|
author | Jeff Brown <jeffbrown@google.com> | Mon Oct 15 16:47:22 2012 -0700 |
committer | Jeff Brown <jeffbrown@google.com> | Mon Oct 15 16:56:20 2012 -0700 |
tree | 2845e23f8444acb2c6d86dcbcd8a75252526da3b | |
parent | ab887a09ad1a0e82d848a91c49449538377f075d [diff] |
Stop dreaming if the battery not charging effectively. If the user activity timeout expired and the battery appears to be draining faster than it is charging then stop dreaming and go to sleep. Bug: 7312455 Change-Id: I1b9d89e5b2647c72c455d2792e3778a2fe6a4e34