mirror of
https://github.com/PixelExperience-Devices/device_xiaomi_sm6250-common.git
synced 2025-05-08 06:47:17 +09:00
sm6250-common: rootdir: Enable s2idle
Test: build and check the suspend_resume trace Bug: 142553453 Change-Id: I176c0e1adbe3c6a90b9da90dd10ad664024bf164
This commit is contained in:
parent
aff1d9eb0b
commit
b037c145f5
@ -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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user