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.
TEST=tested by using a magnet to simulate lid closed and pressing power
Signed-off-by: David Hendricks <email@example.com>
Reviewed-by: Randall Spangler <firstname.lastname@example.org>
1 file changed