I want to use api shutdown the Android system, but I can't.
When I use the api shutdown the Android system, it reboot,
I find there isn't shutdown cmd in kernel. I need this function,
what should I do?
Solved! Go to Solution.
Try
halt now
it forces the system to shut down, but it does not save or takes care about anything.
Try
halt now
it forces the system to shut down, but it does not save or takes care about anything.