Han
Han

Reputation: 650

How to adjust the time length for getting into a deep sleep

I am not sure if I had understood it correctly.. but it seems that android has a sleep mode where everything is paused except the background services and a deep sleep mode that turns off everything even the CPU.

So I wonder if there is there a way to control the time before getting into a deep sleep mode. Couldn't find any official documentation about the sleep modes.. Any help is appreciated!

Thanks

Upvotes: 1

Views: 4326

Answers (1)

CommonsWare
CommonsWare

Reputation: 1006859

but it seems that android has a sleep mode where everything is paused except the background services and a deep sleep mode that turns off everything even the CPU.

AFAIK, there is only one sleep mode, corresponding to what you describe as "deep sleep". Certainly, from an SDK developer standpoint, either the device is awake, asleep, or off.

So I wonder if there is there a way to control the time before getting into a deep sleep mode.

Not really. You control how long the screen is on via the Settings app. How long before the device falls asleep after that will range from milliseconds to centuries depending upon what is going on with the device (e.g., is anything holding a WakeLock).

Upvotes: 3

Related Questions