From 0764252ebc7bd58ba1e9052a4747f3e5d32e561c Mon Sep 17 00:00:00 2001 From: Siddartha Mohanadoss Date: Fri, 31 Jan 2014 10:59:42 -0800 Subject: [PATCH] trepn: Auto start profiler_daemon Profiler daemon is used by trepn for providing battery, voltage, and current information. Change-Id: Ied1742323156e9779cc1fdcb0e0c212e3d9ff7ec --- rootdir/etc/init.qcom.sh | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/rootdir/etc/init.qcom.sh b/rootdir/etc/init.qcom.sh index 16d699c8..92e34d55 100644 --- a/rootdir/etc/init.qcom.sh +++ b/rootdir/etc/init.qcom.sh @@ -215,6 +215,15 @@ case "$target" in esac start_charger_monitor ;; + "apq8084") + platformvalue=`cat /sys/devices/soc0/hw_platform` + case "$platformvalue" in + "Fluid") + start profiler_daemon;; + "Liquid") + start profiler_daemon;; + esac + ;; "msm8226") start_charger_monitor ;;