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 <firstname.lastname@example.org>
Reviewed-by: Randall Spangler <email@example.com>
1 file changed