commit | 21db94d56ba6d69261720cd81d095f1794022bdd | [log] [tgz] |
---|---|---|
author | Jia <jiameng@chromium.org> | Mon Feb 26 01:47:09 2018 |
committer | Commit Bot <commit-bot@chromium.org> | Mon Feb 26 01:47:09 2018 |
tree | cc35c4148c1cb33eca503d06ba643a63c0b21af3 | |
parent | f399d1719a46c625bd8182e6aaddf8d82ef1c05c [diff] |
[Power ML] Only reset fields for recent activity on idle event. In this cl 1. Timestamps for mouse, key, last activity, last user activity will not be reset when an idle event is generated. Only timestamps used to measure recent time active will be reset. 2. When SuspendDone is received, if sleep_duration is longer than idle delay, we regard it as an idle event, hence we reset recent-time-active-related timestamps. Change-Id: Ife2ad702ce64edd28f842014a5745124a9c30a31 Bug: 784232 Reviewed-on: https://chromium-review.googlesource.com/936504 Commit-Queue: Jia Meng <jiameng@chromium.org> Reviewed-by: Dan Erat <derat@chromium.org> Cr-Commit-Position: refs/heads/master@{#539056}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .