From 921b5c3606ac1d1fed38cbc67f5ce1f41e1536b3 Mon Sep 17 00:00:00 2001 From: Benjamin Schwartz Date: Thu, 18 Mar 2021 10:38:11 -0700 Subject: [PATCH] Set short suspend threshold to 5 seconds Bug: 171433995 Test: getprop suspend.short_suspend_threshold_millis Test: dumpsys suspend_control_internal Change-Id: Ic32ac59784e40307a29d5ab240475572356124dc --- device.mk | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/device.mk b/device.mk index 97922d28..26939a00 100644 --- a/device.mk +++ b/device.mk @@ -1132,5 +1132,9 @@ PRODUCT_PROPERTY_OVERRIDES += \ PRODUCT_PROPERTY_OVERRIDES += \ zygote.critical_window.minute=10 +# Suspend properties +PRODUCT_PROPERTY_OVERRIDES += \ + suspend.short_suspend_threshold_millis=5000 + # Project include hardware/google/pixel/common/pixel-common-device.mk