mirror of
https://github.com/Evolution-X-Devices/device_xiaomi_sm6150-common
synced 2026-01-27 12:07:36 +00:00
sm6150-common: rootdir: Enable suspend to RAM
* Reference - https://www.kernel.org/doc/html/v4.18/admin-guide/pm/sleep-states.html * Improves idle drain considerably. Change-Id: I3f2d3a8dadf2ff2e26b70839ce0bfde9002cf36e Signed-off-by: Daniel Jacob Chittoor <djchittoor47@gmail.com> Signed-off-by: therealmharc <therealmharc@gmail.com>
This commit is contained in:
committed by
therealmharc
parent
459a1fbd6f
commit
72abec5589
@@ -122,6 +122,9 @@ on property:sys.boot_completed=1
|
||||
# Stop Statsd
|
||||
stop statsd
|
||||
|
||||
# Enable suspend to RAM
|
||||
write /sys/power/mem_sleep "deep"
|
||||
|
||||
service vendor.pd_mapper /vendor/bin/pd-mapper
|
||||
class core
|
||||
user system
|
||||
|
||||
Reference in New Issue
Block a user