From c9c13bb8669cdedb6bc93b1c5afd400927a1af2e Mon Sep 17 00:00:00 2001 From: "Angelo G. Del Regno" Date: Thu, 18 May 2017 19:43:12 +0200 Subject: Migrate to new RQBalance-PowerHAL's XML configuration The new RQBalance-PowerHAL deprecates configuration through Android properties. Now the configuration is parsed from an XML, located at /system/etc/rqbalance_config.xml. Change-Id: Iebc85a4f420e9b471139063a03a3831f95be5e28 --- rootdir/system/etc/rqbalance_config.xml | 54 +++++++++++++++++++++++++++++++++ shinano.mk | 5 +++ system.prop | 16 ---------- 3 files changed, 59 insertions(+), 16 deletions(-) create mode 100644 rootdir/system/etc/rqbalance_config.xml diff --git a/rootdir/system/etc/rqbalance_config.xml b/rootdir/system/etc/rqbalance_config.xml new file mode 100644 index 0000000..ce43a99 --- /dev/null +++ b/rootdir/system/etc/rqbalance_config.xml @@ -0,0 +1,54 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/shinano.mk b/shinano.mk index 07fb1f8..011b6d3 100644 --- a/shinano.mk +++ b/shinano.mk @@ -106,6 +106,11 @@ PRODUCT_PACKAGES += \ com.qualcomm.location \ gps.msm8974 + +# RQBalance-PowerHAL configuration +PRODUCT_COPY_FILES += \ + $(COMMON_PATH)/rootdir/system/etc/rqbalance_config.xml:system/etc/rqbalance_config.xml + # IPC Security Config PRODUCT_COPY_FILES += \ $(COMMON_PATH)/rootdir/system/etc/sec_config:system/etc/sec_config diff --git a/system.prop b/system.prop index 52e2d67..0fe2f49 100644 --- a/system.prop +++ b/system.prop @@ -1,19 +1,3 @@ -# -# rqbalance specific values -# - -cpuquiet.low.min_cpus=1 -cpuquiet.low.max_cpus=2 -rqbalance.low.balance_level=80 -rqbalance.low.up_threshold=200 400 600 4294967295 -rqbalance.low.down_threshold=0 100 300 500 - -cpuquiet.normal.min_cpus=2 -cpuquiet.normal.max_cpus=4 -rqbalance.normal.balance_level=40 -rqbalance.normal.up_threshold=100 250 330 4294967295 -rqbalance.normal.down_threshold=0 130 220 300 - # Ril ro.use_data_netmgrd=true ro.ril.enable.amr.wideband=1 -- cgit v1.2.3