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?
已解决! 转到解答。
Try
halt now
it forces the system to shut down, but it does not save or takes care about anything.
在原帖中查看解决方案