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 shipped (and remains active) on gs101-based devices.

Experimentation with these settings is being tracked on the bug,
and this CL is being prepared now so we can start to soak in
dogfood and observe the real-world behavior.

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

Change-Id: Ia0fd3b08058390ea9e70926455c7c6d460320d8a
This commit is contained in:
Kelly Rossmoyer 2023-06-07 19:25:38 +00:00
parent 012b3340ad
commit 371e5f7222

View file

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