Add CM performance profiles
Change-Id: I9979c903d63d2638f12a0a5774fa2290d1181324
This commit is contained in:
parent
1c708f0110
commit
f0a445c957
@ -160,4 +160,8 @@
|
|||||||
|
|
||||||
<!-- Boolean to enable stk functionality on Samsung phones -->
|
<!-- Boolean to enable stk functionality on Samsung phones -->
|
||||||
<bool name="config_samsung_stk">true</bool>
|
<bool name="config_samsung_stk">true</bool>
|
||||||
|
|
||||||
|
<!-- Performance profiles -->
|
||||||
|
<string name="config_perf_profile_prop">sys.perf.profile</string>
|
||||||
|
<string name="config_perf_profile_default_entry">1</string>
|
||||||
</resources>
|
</resources>
|
||||||
|
@ -441,3 +441,16 @@ service fuse_sdcard1 /system/bin/sdcard -u 1023 -g 1023 -d /mnt/media_rw/sdcard1
|
|||||||
service fuse_usbdisk0 /system/bin/sdcard -u 1023 -g 1023 -d /mnt/media_rw/usbdisk0 /storage/usbdisk0
|
service fuse_usbdisk0 /system/bin/sdcard -u 1023 -g 1023 -d /mnt/media_rw/usbdisk0 /storage/usbdisk0
|
||||||
class late_start
|
class late_start
|
||||||
disabled
|
disabled
|
||||||
|
|
||||||
|
## CyanogenMod Performance Profiles
|
||||||
|
# Powersave
|
||||||
|
on property:sys.perf.profile=0
|
||||||
|
write /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor powersave
|
||||||
|
|
||||||
|
# Balanced
|
||||||
|
on property:sys.perf.profile=1
|
||||||
|
write /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor ondemand
|
||||||
|
|
||||||
|
# Performance
|
||||||
|
on property:sys.perf.profile=2
|
||||||
|
write /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor performance
|
||||||
|
Loading…
Reference in New Issue
Block a user