hikey: Add schedtune init.rc changes am: 6a4721f2a1 am: 6ad1834953
am: 0bb1e6a0ec
Change-Id: I0ee87067226c9b6c49caa423575136ce5b953d55
diff --git a/init.hikey.rc b/init.hikey.rc
index ea344e8..5b53d6e 100644
--- a/init.hikey.rc
+++ b/init.hikey.rc
@@ -66,6 +66,15 @@
# little cores, not on bigs to be used only by init
write /dev/cpuset/system-background/cpus 0-4
+ #
+ # EAS stune boosting interfaces
+ #
+ chown system system /sys/fs/cgroup/stune/foreground/schedtune.boost
+ chown system system /sys/fs/cgroup/stune/schedtune.boost
+ write /sys/fs/cgroup/stune/foreground/schedtune.boost 10
+ write /sys/fs/cgroup/stune/schedtune.boost 0
+
+
# enable Google-specific location features,
# like NetworkLocationProvider and LocationCollector
setprop ro.com.google.locationfeatures 1