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:
parent
12a4b9a046
commit
6c04c44704
1 changed files with 4 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue