Android 设备一进入挂起状态就会重新启动

Android Device reboots as soon as it goes in suspend state

我正在 x86_64 上移植 Android Lollipop,从设备上看到一个奇怪的行为。

一旦设备进入挂起状态,它就会重新启动设备。

请帮助我调查其背后的原因,在不使用电源按钮的情况下重启设备的所有可能方法是什么(即从内核代码,android 框架)。

经过大量研究,我可以得出的结论是,此问题是由 ACPI 提供的不支持的睡眠状态引起的。

自动重启可以归结为(但不限于)几个不同的事情:

  1. WiFi相关
  2. 锁屏相关
  3. 存储相关 - 一些用户报告内部存储空间不足是造成这种情况的原因,只需释放一些 space 即可解决此问题
  4. 电池相关 - 电池故障或充电不足
  5. 电源按钮 相关 - 许多报告说脏东西会卡在电源按钮下面,随机触发按钮。用力按压可以解决这个问题

除了这些已知原因之外,这似乎是 Lollipop 更新的公认问题。

来自以下 Google Product Forums 页面的用户 Nitin Dhage 写道:

I'm also facing the same issue (restart when phone locks, red.) however if I set the other security type except pattern the problem is solved. If we use PIN or NONE then the problem will solve, the problem is with Pattern security type only.

您可能想加入以下关于更新到 Lollipop 后频繁从锁屏重启

主题的讨论

https://productforums.google.com/forum/#!msg/nexus/X6ZjAAauATc/MmPqyAay3UMJ