Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

what is the difference between Sleep mode and Deep sleep mode?

Tags:

android

I would like to know what is the difference between Sleep mode and Deep sleep mode in android phone and what will be the impact of when phone goes to sleep mode and deep sleep mode.

Please provide me the answer in details.

regards, Piks

like image 752
piks Avatar asked Apr 12 '12 07:04

piks


3 Answers

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

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.

More info about the android sleep here: http://developer.android.com/reference/android/os/PowerManager.html

like image 191
thiagolr Avatar answered Nov 13 '22 06:11

thiagolr


You can use WAKE_LOCK to prevent device going to deep sleep. But you must take into account battery drain. More info: http://developer.android.com/reference/android/os/PowerManager.html

like image 33
wwawrzy Avatar answered Nov 13 '22 06:11

wwawrzy


Deep sleep: turns your phone CPU central processing unit ie brain to the lowest clock cycle speed. On mine it is 200mhz, where max is 1600mhz.

it also disables some sensors it figures you might not be using, such as dependin on phone camera, gyro, etc. some of it gets shut off to save power.

When you wake up your phone depending on governer, it rams cpu clock cycle up to 500mhz, or 800mhz, or 1600mhz, and re activates the sensors, sending power back to the camera, cyro, magnet, etc that your phone may have proxi sensor

This is more or less what deep sleep really IS. program, to save power, by disableing unused sensors, and clocking cpu way down to minimum.

Credits: vrigil kellogg http://forums.androidcentral.com/sprint-galaxy-s-iii/247066-what-deep-sleep.html post#14

like image 21
Sahil Malik Avatar answered Nov 13 '22 07:11

Sahil Malik