summaryrefslogtreecommitdiff
path: root/conf
diff options
context:
space:
mode:
authorAnanth Raghavan Subramanian <ananthrs@google.com>2022-07-18 15:16:53 -0700
committerAnanth Raghavan Subramanian <ananthrs@google.com>2022-08-02 16:43:51 +0000
commit423562d561f8bbbd50f138e5763d72f53c7baa2a (patch)
treed8354c3abb9b667c66e4ef49853196f0458e9d8e /conf
parent20c32a2874707d1bc8c85b44b7da28fabc7873ad (diff)
downloadgs201-423562d561f8bbbd50f138e5763d72f53c7baa2a.tar.gz
init: Change pm_freeze_timeout
Reduce /sys/power/pm_freeze_timeout to 1s from default of 20s. Data shows that the 20s timeout is rarely hit before suspend is aborted due to a wakeup/interrupt. Reducing the timeout will help with diagnosing task freezing issues and will reduce time spent attempting suspend. Bug: 239743579 Test: Successfuly boot to home, verify change in node Signed-off-by: Ananth Raghavan Subramanian <ananthrs@google.com> Change-Id: I839764dd06ebd66110c11953baf13c06e598dd80 Merged-In: I839764dd06ebd66110c11953baf13c06e598dd80 (cherry picked from commit e84f3603d1a29ce5d0f613db0c7ce9efa69c5abe)
Diffstat (limited to 'conf')
-rw-r--r--conf/init.gs201.rc3
1 files changed, 3 insertions, 0 deletions
diff --git a/conf/init.gs201.rc b/conf/init.gs201.rc
index f2a6815..27dca69 100644
--- a/conf/init.gs201.rc
+++ b/conf/init.gs201.rc
@@ -798,6 +798,9 @@ on property:sys.boot_completed=1
# write serialno to battery path for pairing
write /sys/class/power_supply/battery/dev_sn ${ro.boot.serialno}
+ # Reduce pm_freeze_timeout value
+ write /sys/power/pm_freeze_timeout 1000
+
# IMS WiFi Calling
service charonservice /system/vendor/bin/charon
class main