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
This commit is contained in:
parent
456bf1cb47
commit
e84f3603d1
1 changed files with 3 additions and 0 deletions
|
@ -788,6 +788,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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue