summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMao Jinlong <jinlmao@codeaurora.org>2017-09-25 17:00:53 +0800
committerGerrit - the friendly Code Review server <code-review@localhost>2017-09-27 23:26:49 -0700
commit2181cd7b730baf889811ec8d1802e29cb084994a (patch)
treebae53217b2ae889689f7e445c5e228e290527a92
parent5724bf1295af5fcdeb47681484198f7a4275a95d (diff)
SDM660_64: Start power off alarm when on charger
Start power off alarm when on charger to reboot device when power off alarm is up. CRs-Fixed: 2109766 Change-Id: I123f1f02578ad227e6ba7baf0ee180ca5098e8fa
-rw-r--r--init.target.rc1
1 files changed, 1 insertions, 0 deletions
diff --git a/init.target.rc b/init.target.rc
index 8d5938b..6521de3 100644
--- a/init.target.rc
+++ b/init.target.rc
@@ -406,6 +406,7 @@ on charger
start qcom-post-boot
start hvdcp_opti
setprop sys.usb.configfs 1
+ start power_off_alarm
#
#service nqs /system/bin/nqs