From 7e8cebb785e4b3acf27eac1ea1f2acb35fa22a6e Mon Sep 17 00:00:00 2001 From: Davide Garberi Date: Sun, 20 Jan 2019 11:17:15 +0100 Subject: msm8996-common: rootdir: Move the powerhal chowns Signed-off-by: Davide Garberi Change-Id: If78decdd3b94b023f3331f77d75cd114ada1ad2f Signed-off-by: Davide Garberi --- rootdir/etc/init.qcom.power.rc | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'rootdir') diff --git a/rootdir/etc/init.qcom.power.rc b/rootdir/etc/init.qcom.power.rc index cac97a2..ea526d6 100644 --- a/rootdir/etc/init.qcom.power.rc +++ b/rootdir/etc/init.qcom.power.rc @@ -72,6 +72,12 @@ on charger write /sys/module/msm_thermal/parameters/enabled "N" start thermal-engine +on property:sys.post_boot.parsed=1 + # Setup permission for powerHAL + chown system system /sys/devices/soc/soc:qcom,cpubw/devfreq/soc:qcom,cpubw/bw_hwmon/hyst_trigger_count + chown system system /sys/devices/soc/soc:qcom,cpubw/devfreq/soc:qcom,cpubw/bw_hwmon/hist_memory + chown system system /sys/devices/soc/soc:qcom,cpubw/devfreq/soc:qcom,cpubw/bw_hwmon/hyst_length + on enable-low-power # Disable thermal hotplug to switch governor write /sys/module/msm_thermal/core_control/enabled 0 -- cgit v1.2.3