From 1b8d05fa78d0e883a0c168f6d690e4efa00577f0 Mon Sep 17 00:00:00 2001 From: Mao Jinlong Date: Fri, 18 Aug 2017 16:41:09 +0800 Subject: [PATCH] common: Add power off alarm service Add power off alarm service for power off alarm feature to reboot device when power off alarm is up in some special mode like power off charging mode. CRs-Fixed: 2095984 Change-Id: Ib8d82e63e92a85a7f60d5559064a1f19e0de5a22 --- rootdir/etc/init.qcom.rc | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/rootdir/etc/init.qcom.rc b/rootdir/etc/init.qcom.rc index 1c58f95f..472e4979 100644 --- a/rootdir/etc/init.qcom.rc +++ b/rootdir/etc/init.qcom.rc @@ -1162,3 +1162,9 @@ service seemp_healthd /vendor/bin/seemp_healthd class late_start user system group system + +service power_off_alarm /vendor/bin/power_off_alarm + class core + group system + disabled + oneshot