How to use linux cmd shutdown the Android system?

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

How to use linux cmd shutdown the Android system?

跳至解决方案
1,893 次查看
Danial
Contributor II

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?

标签 (1)
0 项奖励
回复
1 解答
1,449 次查看
4guin4g4
Contributor IV

Try

halt now

it forces the system to shut down, but it does not save or takes care about anything.

在原帖中查看解决方案

0 项奖励
回复
1 回复
1,450 次查看
4guin4g4
Contributor IV

Try

halt now

it forces the system to shut down, but it does not save or takes care about anything.

0 项奖励
回复