Back to Top

After downloading episodes, the phone does NOT enter in deep sleep mode.

7 posts / 0 new
Last post
cboluda
Offline
Last seen: 9 years 11 months ago
Joined: 08/07/2009 - 07:57
After downloading episodes, the phone does NOT enter in deep sleep mode.

I use a galaxy nexus, and for some weeks I noticed that after downloading episodes (no matter how many), the phone does NOT enter in deep sleep mode.
Either using scheduled downloads or manually downloading episodes.
I used 'cpu spy' to check out the cpu mode.
The only way I found to re-enable deep sleep mode has been restarting the phone.
I isolated the issue this way.
Turn on the phone, let it rest a minute, check deep sleep -> OK, download episode, let it rest a minute, check deep sleep -> NOT OK, restart phone, check deep sleep -> OK.

Thanks.

eric
Offline
Last seen: 2 years 3 months ago
Joined: 11/06/2008 - 22:02
Are you using presto?

Are you using presto?

cboluda
Offline
Last seen: 9 years 11 months ago
Joined: 08/07/2009 - 07:57
Negative. I'm using a Galaxy

Negative.
I'm using a Galaxy Nexus on Android 4.04

eric
Offline
Last seen: 2 years 3 months ago
Joined: 11/06/2008 - 22:02
There might be something else

There might be something else on your device that is keeping a wake lock (what keeps the device awake). I just did a comparison of the open wake locks before/during/after a download and everything that DC is acquiring is getting released during both successful and failed downloads. It looks like we're cleaning up after ourselves correctly.

eric
Offline
Last seen: 2 years 3 months ago
Joined: 11/06/2008 - 22:02
Also, if you're device is

Also, if you're device is rooted, you may be able get more info. If you open a console and do 'dumpsys power', you can see what locks are acquired. It will look something like this:

mLocks.size=2:
PARTIAL_WAKE_LOCK 'SyncManagerSyncWakeLock' activated (minState=0)
SCREEN_DIM_WAKE_LOCK 'DownloadThread' activated (minState=1)

The 'downloadthread' is DC while it's downloading, but that'll go away once it's finished.

cboluda
Offline
Last seen: 9 years 11 months ago
Joined: 08/07/2009 - 07:57
My device is rooted. I'll

My device is rooted.
I'll open a console and do 'dumpsys power'.
You're right. It must me something else. Deep Sleep has been broken again after returning from airplane mode.

THANKS!!! for your support and time.

Thanks again.
Charles,

eric
Offline
Last seen: 2 years 3 months ago
Joined: 11/06/2008 - 22:02
No problem, and thanks for

No problem, and thanks for posting.