sm6250-common: rootdir: Enable s2idle

Test: build and check the suspend_resume trace
Bug: 142553453
Change-Id: I176c0e1adbe3c6a90b9da90dd10ad664024bf164
This commit is contained in:
Kyle Lin 2021-07-16 11:27:38 +02:00 committed by Alexander Winkowski
parent aff1d9eb0b
commit b037c145f5
No known key found for this signature in database
GPG Key ID: 72762A66704CDE44

View File

@ -121,6 +121,10 @@ on enable-low-power
# Enable PowerHAL hint processing
setprop vendor.powerhal.init 1
on boot
# Enable suspend to idle mode to reduce latency during suspend/resume
write /sys/power/mem_sleep "s2idle"
on property:sys.boot_completed=1
trigger enable-low-power