Comment #13 on issue 221228 by
bugdro...@chromium.org: Consider making
power manager ignore user activity for the purpose of idle detection while
lid is closed
http://code.google.com/p/chromium/issues/detail?id=221228#c13
Project: chromiumos/platform/power_manager
Branch : master
Author : Daniel Erat <
de...@chromium.org>
Commit : cc7da4e2d1fff8e10ceb603250d5b6179a6fc946
Code Review +2: Benson Leung
Verified +1: Daniel Erat
Change-Id : I5a70e136d8879ede79a3b9c11572719b8a72093a
Reviewed-at :
https://gerrit.chromium.org/gerrit/56341
power: Ignore user activity while lid is closed.
This updates the StateController class to ignore user
activity for the purposes of idle detection while the lid is
closed (unless the system is in docked mode). Spurious
events can be generated while closing the lid; these events
were already ignored by the Suspender class.
BUG=chromium:221228
TEST=added unit tests
Commit-Queue: Daniel Erat <
de...@chromium.org>
M powerd/policy/state_controller.cc
M powerd/policy/state_controller.h
M powerd/policy/state_controller_unittest.cc