sdm710-common: rootdir: Enable suspend to RAM

Improves idle drain considerably.

Change-Id: Iacef170a0f58ec74e6d82b89b3ae5ef60026ed07
Signed-off-by: helliscloser <mrumais@gmail.com>
Signed-off-by: onettboots <blackcocopet@gmail.com>
Signed-off-by: Sageofd6path <mail2anirban95@gmail.com>
This commit is contained in:
Daniel Jacob Chittoor 2022-10-27 22:15:51 +05:30 committed by CakesTwix
parent 12a4b9a046
commit 6c04c44704
Signed by: CakesTwix
GPG key ID: 7B11051D5CE19825

View file

@ -78,6 +78,10 @@ on post-fs-data
mkdir /data/vendor/hbtp 0750 system system
mkdir /data/vendor/nnhal 0700 system system
on early-boot
# Enable suspend to RAM
write /sys/power/mem_sleep "deep"
# For cpusets initialize for Silver Only first and then Silver + Gold
# Silver Only configuration cannot work with 0-7
on boot