gaia: Lid should be open for power button press to take effect
Due to the way the machine is constructed, the power button can still
be pressed if the lid is closed. This can cause TPM failures.
Ignore power button presses that occur when the lid is not open.
BUG=chromium:431360
BRANCH=firmware-snow
TEST=tested by using a magnet to simulate lid closed and pressing power
Change-Id: Ida9acd728f49caae4ed63f6c067d27c9b458a679
Signed-off-by: David Hendricks <dhendrix@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/299548
Reviewed-by: Randall Spangler <rspangler@chromium.org>
1 file changed