title: Kill processes from shell in Android
body: <p>I try to find some way to kill unnecessary services/processes in Android from shell.
  The problem is that after killing the process it starts again after few seconds!</p>
  
  <p>for example I tried to kill batterywarning, but it keep starting again:</p>
  
  <pre><code>root@w812a_kk:/ # ps  | grep batteryw
  shell     17986 1     1044   364   c00601dc b6e9f094 S /system/bin/batterywarning
  1|root@w812a_kk:/ # ps  | grep batteryw
  shell     17781 1     1044   364   c00601dc b6ee6094 S /system/bin/batterywarning
  root@w812a_kk:/ # busybox killall batterywarning
  root@w812a_kk:/ # ps  | grep batteryw
  1|root@w812a_kk:/ # ps  | grep batteryw
  shell     17986 1     1044   364   c00601dc b6e9f094 S /system/bin/batterywarning
  </code></pre>
  
  <p>I did find several methods to kill service/process in the following link, yet the process is starting again.</p>
  
  <p><a href="https://stackoverflow.com/questions/17829606/android-adb-stop-application-command-like-force-stop-for-non-rooted-device">Android ADB stop application command like &quot;force-stop&quot; for non rooted device</a>.</p>
  
  <p>Is it something that can only be done in init.rc ?</p>
  
  <p>Thanks,</p>