#!/system/bin/sh

busybox="/data/data/com.paget96.lsandroid/files/binary/busybox"
log="/data/data/com.paget96.lsandroid/files/log/mainLog"
date="[$($busybox date +"%H:%M:%S %d-%m-%Y")]"

$busybox echo "$date Enabling CPU multicore power save..." >>$log

mcps="/sys/devices/system/cpu/sched_mc_power_savings"
if [ -e $mcps ]; then
  $busybox chmod 0644 $mcps
  $busybox echo "1" >$mcps
fi

$busybox echo "$date Multicore power save enabled" >>$log
