且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

什么是睡眠模式和深度睡眠模式之间的区别?

更新时间:2021-10-27 22:31:49

深度睡眠模式没有任何与Hibernate和开机时间,因为有人在删除答案写道。

Deep sleep mode doesn't have anything to do with hibernate and boot time, as somebody wrote in deleted answer.

您不应该回避的手机睡觉,这样会很快耗尽你的电池。若要从服务器接收邮件,你应该使用 [C2DM] GCM 具有相同的基本特征作为老牌时装德precated C2DM

You should not avoid the phone sleep, this will drain your battery very fast. To receive messages from server, you should use [C2DM] GCM which has the same basic characteristics as old fashion deprecated C2DM.

更多信息:
http://developer.android.com/reference/android/os/PowerManager.html