summaryrefslogtreecommitdiffstats
path: root/healthd
diff options
context:
space:
mode:
Diffstat (limited to 'healthd')
-rw-r--r--healthd/Android.bp1
-rw-r--r--healthd/healthd.rc4
2 files changed, 5 insertions, 0 deletions
diff --git a/healthd/Android.bp b/healthd/Android.bp
index c70278af3..a28544e6c 100644
--- a/healthd/Android.bp
+++ b/healthd/Android.bp
@@ -56,6 +56,7 @@ cc_binary {
cc_binary {
name: "healthd",
+ init_rc: ["healthd.rc"],
srcs: [
"HealthServiceHealthd.cpp",
],
diff --git a/healthd/healthd.rc b/healthd/healthd.rc
new file mode 100644
index 000000000..8e2ebb609
--- /dev/null
+++ b/healthd/healthd.rc
@@ -0,0 +1,4 @@
+service healthd /system/bin/healthd
+ class hal
+ critical
+ group root system wakelock