suspend: enable adaptive suspend

This CL adds build properties enabling Adaptive Suspend's short
suspend backoff with a short suspend threshold of 2 seconds and
a max backoff time of 40s.  This is the same configuration that
was deployed on the previous generation of devices.

The plan is to monitor suspend behavior, screen-off uptime,
wakeup rates, and the distribution of screen-off mA on
these devices in comparison to those same attributes on late
UDC builds, which will inform whether we ship or revert.

Bug: 208947015
Test: booted with a test kernel and used alarmtimer mods to
exercise high-frequency wakeup behavior

Change-Id: Icf75c4dd705050833df5e48aaf0c28afa5754adb
This commit is contained in:
Kelly Rossmoyer 2023-07-27 22:06:17 +00:00
parent 6ba21169aa
commit 6ea9de413c

View file

@ -1112,7 +1112,9 @@ PRODUCT_PROPERTY_OVERRIDES += \
# Suspend properties
PRODUCT_PROPERTY_OVERRIDES += \
suspend.short_suspend_threshold_millis=2000
suspend.short_suspend_threshold_millis=2000 \
suspend.max_sleep_time_millis=40000 \
suspend.short_suspend_backoff_enabled=true
# Enable Incremental on the device
PRODUCT_PROPERTY_OVERRIDES += \