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:
Daniel Jacob Chittoor
2025-04-09 13:55:07 +00:00
committed by therealmharc
parent 459a1fbd6f
commit 72abec5589

View File

@@ -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