aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--rootdir/etc/init.qcom.power.rc2
1 files changed, 2 insertions, 0 deletions
diff --git a/rootdir/etc/init.qcom.power.rc b/rootdir/etc/init.qcom.power.rc
index ea526d6..403e54f 100644
--- a/rootdir/etc/init.qcom.power.rc
+++ b/rootdir/etc/init.qcom.power.rc
@@ -41,6 +41,7 @@ on boot
write /dev/cpuset/background/cpus 0-3
write /dev/cpuset/system-background/cpus 0-3
write /dev/cpuset/top-app/cpus 0-3
+ write /dev/cpuset/restricted/cpus 0-3
# Add a cpuset for the camera daemon
# we want all cores for camera
@@ -183,6 +184,7 @@ on property:sys.boot_completed=1
write /dev/cpuset/foreground/cpus 0-2
write /dev/cpuset/background/cpus 0
write /dev/cpuset/system-background/cpus 0-1
+ write /dev/cpuset/restricted/cpus 0-1
on property:init.svc.recovery=running
trigger enable-low-power