1

This question already has an answer here:

Is there any toolbox or app that will support issuing shutdown command via ssh to a rooted android smartphone?

marked as duplicate by Izzy, Matthew Read Jun 4 '15 at 20:45

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

  • 2
    This is NOT a duplicate question of that marked above. This question asks specifically how to "SHUTDOWN", not reboot and not anything else. – Sean Lee Jan 1 '16 at 23:28
3

reboot -p

was mentioned here which works for me on a rooted device. But someone mentioned here (see comments as well) that it's a bit harsh to simply shutdown without notice. So try something like this:

su -c 'am broadcast android.intent.action.ACTION_SHUTDOWN && sleep 5 && reboot -p'
  • No issues known for turning off the device with reboot -p, then? – Sopalajo de Arrierez Sep 19 '15 at 11:12
  • 1
    Works well here so far :) – acy Sep 19 '15 at 12:04

Not the answer you're looking for? Browse other questions tagged or ask your own question.