diff options
Diffstat (limited to 'common/motion_lid.c')
-rw-r--r-- | common/motion_lid.c | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/common/motion_lid.c b/common/motion_lid.c index 8d150e3b65..d737046c53 100644 --- a/common/motion_lid.c +++ b/common/motion_lid.c @@ -135,18 +135,18 @@ __attribute__((weak)) int board_is_lid_angle_tablet_mode(void) * - when lid is closed while the hinge is perpendicular to the floor, we will * stay in tablet mode. * - * Tablet mode is defined as the base being behind the lid. We use 2 threshold - * to calculate tablet mode: + * Tablet mode is defined as the lid angle being greater than 180 degree. We use + * 2 threshold to calculate tablet mode: * tablet_mode: - * 1 | +-----<----+---------- - * | \/ /\ - * | | | - * 0 |------------------------>----+ - * +------------------+----------+----------+ lid angle - * 0 240 300 360 + * 1 | +-----<----+---------- + * | \/ /\ + * | | | + * 0 |------------------>----+ + * +------------+----------+----------+ lid angle + * 0 160 200 360 */ -#define TABLET_ZONE_LID_ANGLE FLOAT_TO_FP(300) -#define LAPTOP_ZONE_LID_ANGLE FLOAT_TO_FP(240) +#define TABLET_ZONE_LID_ANGLE FLOAT_TO_FP(200) +#define LAPTOP_ZONE_LID_ANGLE FLOAT_TO_FP(160) /* * We will change our tablet mode status when we are "convinced" that it has |