sapphire: 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.

from https://android.googlesource.com/device/google/gs201/+/refs/heads/main/device.mk#1114

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
committed by kibria5
parent 57c1c592cd
commit bdd913983f

View File

@@ -499,6 +499,12 @@ PRODUCT_PACKAGES += \
librmnetctl \
libsqlite.vendor
# Suspend properties
PRODUCT_PROPERTY_OVERRIDES += \
suspend.short_suspend_threshold_millis=2000 \
suspend.max_sleep_time_millis=40000 \
suspend.short_suspend_backoff_enabled=true
# Sensors
PRODUCT_PACKAGES += \
sensors.xiaomi