From eba0f4ff6648a5dc52d61f2e8da1695608585fee Mon Sep 17 00:00:00 2001 From: Kelly Rossmoyer Date: Tue, 8 Jun 2021 23:19:54 -0700 Subject: [PATCH] Adaptive Suspend: configure first param set This CL configures the first set of experimental parameters for Adaptive Suspend on targeted devices, including: * dropping the max backoff from default 60 seconds down to 40 * changing the break-even threshold from 5 seconds (which was just for collecting data) to 2 * enabling backoff on short suspends BUG: 171433995 Test: ran on test device and observed suspend behavior Change-Id: Icebf50aeade713591f1641664df11570d184d352 --- device.mk | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/device.mk b/device.mk index 3ebba5b4..a971d7e1 100644 --- a/device.mk +++ b/device.mk @@ -1102,8 +1102,11 @@ PRODUCT_PROPERTY_OVERRIDES += \ zygote.critical_window.minute=10 # Suspend properties +# (b/171433995): Enable short suspend backoffs and reduce max backoff time PRODUCT_PROPERTY_OVERRIDES += \ - suspend.short_suspend_threshold_millis=5000 + suspend.short_suspend_threshold_millis=2000 \ + suspend.short_suspend_backoff_enabled=true \ + suspend.max_sleep_time_millis=40000 # (b/183612348): Enable skia reduceOpsTaskSplitting PRODUCT_PROPERTY_OVERRIDES += \