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 e84f3603d1
)
This commit is contained in:
parent
20c32a2874
commit
423562d561
1 changed files with 3 additions and 0 deletions
|
@ -798,6 +798,9 @@ on property:sys.boot_completed=1
|
||||||
# write serialno to battery path for pairing
|
# write serialno to battery path for pairing
|
||||||
write /sys/class/power_supply/battery/dev_sn ${ro.boot.serialno}
|
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
|
# IMS WiFi Calling
|
||||||
service charonservice /system/vendor/bin/charon
|
service charonservice /system/vendor/bin/charon
|
||||||
class main
|
class main
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue