yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] 1afly:
I agree and yes this is correct. ANYONE have any ideas as to how to get Spotify and DSBS to play together? Seems the DEV isn't able to help us for some reason or another... in theory his has the right options built in... they just don't work however.
[Android Apps and Games] SpyroDazee:
Looking to test this out. Hopefully can solve some kernel wakelocks that prevent my phone from sleeping.
[Android Apps and Games] tommybbee:
In deep sleep, will system keeps services alive?
[Android Apps and Games] GTOJim:
Aggressive works for me when not charging. However Slumber and Custom both state: Stop running apps, Aggressive setting does not have that statement. Although I checked the box for Spotify, Apps that will be ignored in the killing process, under the Stop Apps Whitelist. Seems to me Spotify is being killed even though it's listed as being ignored in the killing process.

Anyway for me it's ok as it is now, custom works with Spotify again while charging which it didn't for awhile. I really only listen to music on my device when charging in my vehicle. On a rare occasion I want to use it some place other than my vehicle I can change from Custom to Aggressive setting. Not sure this is how DSBS is intended to work but at least this work around works for me.

1afly Does your device work with Spotify while charging? Wondering if charging helps you.
[Android Apps and Games] post-mortem:
You guys who are using Spotify, are you sure DSBS is killing the app, or is it killing the data connection?
[Android Apps and Games] GTOJim:
I guess it depends on what services. With MMS receiving pictures doesn't seem to work, which it shouldn't when data is turned off. Data and screen on use the most battery on smart phones, DSBS can save a lot of juice, extending battery life. DSBS has options for how often data can be turned on and for how long. Example having an app check for e-mail every 30 minutes, DSBS can be setup to allow data every 30 minutes.

Hope this helps.

---------- Post added at 10:01 PM ---------- Previous post was at 09:15 PM ----------

A very good question. Data is off when first turning the screen on when Spotify should be running. Was data was turned off or was data off because Spotify was killed when the screen is off?

Turning the screen on, data connects, Spotify repeats the last song played.

If the screen is on, manually turning data off Spotify continued to play for 2+ minutes then stopped, after turning data back on Spotify finishes playing the song.
[Android Apps and Games] 1afly:
Yes indeed it will NOT cut the data when the phone is plugged in. If you go into settings/deepsleep/battery and look at recharge it will say "force deepsleep off when battery greater than. I have "always" selected which means that DS will NOT occur at any point when the phone is charging, thus why Spotify will work when recharging. This does not help me when I"m at the gym however!

I don't think it is the fact the app is being stopped. If you notice, DSBS will not resume data operations unless you unlock the screen. So since Spotify buffers the song and downloads the song at the beginning, if you are towards the middle or end of the song and simply turn the screen on without unlocking it you SHOULD see the 3G/4G/Wifi icons showing that data is available. If you don't see this then the phone is in deep sleep, and once that song ends it won't have an active data connection to stream and buffer the next song. So... you must repeat the process by unlocking the phone and then data is available for the next song and the cycle will repeat.

Now with that said you can add Spotify to the "deep sleep white list apps" (NOT the stop apps white list) and then Spotify will NOT enter deep sleep whenever Spotify is playing... the problem with this however is that once you are done with the music DSBS will NOT resume normal operations unless you remove Spotify from the white list and/or end the app which defeats the purpose of the app.

Understanding the app somewhat more... the check background data is where we should be focusing on. We should set the threshold to a small amount (I have mine at .001) (small packet of data) and then set the traffic sampling frequency to 6 min (most songs less than 6 min) and once DSBS sees the next song buffer the 6 min clock should start again and the process repeat UNTIL you are done listening and 6 min after the last buffer DSBS should go back into deep sleep. Interesting enough if you set the traffic threshold 0 Spotify will play all night long (no white list needed). So I'm guessing that DSBS isn't seeing the data draw to buffer in the 6 minute period and thus forcing deep sleep which cuts the data thus stopping the music. So setting the threshold to .001 KB still doesn't do the trick.

Your thoughts?
[Android Apps and Games] pcmanager:
Re: [APP] [2.1+] Deep Sleep Battery Saver (Ver 1.9)

I'm having same issues streaming slacker... I have used whitelist, 1kb Traffic sampling and 6 minute. But main reason I don't leave DSBS running is my 3g data usually won't reconnect when I unlock, I have to go to settings and tick enable mobile data.
[Android Apps and Games] 1afly:
1) So which white list are you using? 2) Have you tried using the APN data settings to see if 3g/4g data can be twisted together so that your data will work once you unlock the phone? 3) To confirm, even with your settings Slacker will not play another song after the first song right?
[Android Apps and Games] GTOJim:
What I've found with my device the problem is the data connection is being turned off. Traffic Sampling frequency doesn't seem make a difference with Spotify. I find no difference between 30 seconds or 6 minutes.

What I did find turning on the screen very shortly after a song ends is no data connection, unlocking the screen data connects and the next song plays. I turned DSBS off, let the phone sleep for a bit, then turning screen on I have a data connection before unlocking the phone as would be expected.

Before someone suggests, I have the box checked for Check Background Data: Useful when listening to online music, downloading files from the internet.
[Android Apps and Games] mw86:
Re: [APP] [2.1+] Deep Sleep Battery Saver (Ver 1.9)

One thing to complicate things GTOjim is the two aspects discussed of is DS killing app or data on screen off for spotify. What I noticed is some setups Jim on our kernel if we use a desperate screen off and on I/o scheduler it can break stream of audio even if file exists on phone. It has happened on mp3 I've played and without greenify and ds turned on. So there are a few possibilities. You may be using same scheduler on screen off as on and if so disregard this possibility. I used mp3 to test using ES file explorer to test a little bit ago. Its hard to say ;) maybe media scanner or server is being closed, I am not sure.

Also buddy could it be the option for who often to check traffic may I suggest the 1min or beyond?
[Android Apps and Games] GTOJim:
Thanks Mark for your suggestions. As for I/O scheduler I'm using noop, basic as it gets. I haven't even seen the option of desperate screen on and off. I'm curious, what scheduler as you using?

The Tunein app works fine, the problem is between DSBS and Spotify, turn off DSBS and Spotify works fine which should rule out a Kernel related problem. In my opinion DSBS is turning data off which is the problem. In Spotify settings, changing to extreme quality seems to be playing song after song. This uses more bandwidth so it would appear that there is less buffering, closer to a continuous stream.

I'm thinking the Spotify buffer is so large that DSBS turns off the data connection before the buffer gets depleted when using either the normal or high quality setting. Assuming this is correct there isn't much us end users can do to fix the problem. Seems the best work around is to disable DSBS using Spotify when not charging.
[Android Apps and Games] 1afly:
Agree with all of the above except that even with extreme quality the first song plays and buffers and then the data is cut off. However I'm curious if the I/O could have some affect with the streaming? I'm still so confused as to why Spotify worked as advertised with DSBS on Friday and Saturday once the 1.9 update was released and then now it won't work. I can't remember if I changed the K Tweaker settings or not. I changed from noop to SIO and ROW and data still cuts off after the first song buffers.

In my opinion DSBS is turning data off which is the problem.. If you change the background traffic threshold to 0 you will notice that data is never turned off... so I'm assuming that the threshold parameters work fine he just needs to adjust the sampling frequency as Jim mentioned changing it from 30s to 6 minutes doesn't appear to change a thing. This parameter isn't running the traffic sampler for a full 6 min. If just 1 KB of data is exchanged in 6 min than the clock should start over and the process is repeated. I wish the DEV would read this thread and give us an idea of what is going on here with the traffic sampling frequency. It appears as if all of the 4 choices are set to 30 seconds.

Any thoughts?
[Android Apps and Games] pcmanager:
Re: [APP] [2.1+] Deep Sleep Battery Saver (Ver 1.9)

I just now ticked the APN data box, then set Slacker up in the deep sleep whitelist, online data sampling to 6 minutes. Slacker played several songs without pause. Played fine with lock screen or screen off by timeout. Thanks for the help.

I use the greenify app to put slacker to sleep or hibernate when closed so all background services stop. DSBS should then sleep phone... Good!
[Android Apps and Games] 1afly:
It worked... well for about 45 min at least

So, I was at work, testing all sorts of options within the app (namely traffic frequency) and believe it or not, it worked as advertised playing song after song after song via 4G LTE for about 45 min until... I simply turned on the screen (did not unlock it) for 2 seconds and then turned it off and bam... after that song it stopped playing. Very random!!!

Spotify stream quality set to normal

Slumberer Mode

Settings were WiFi Off 4G LTE on

Screen off delay 15 seconds

Screen on delay no delay

User present checked

Use APN settings unchecked

Check background data checked

Traffic threshold .0000000001 (no kidding)

Traffic sampling frequency to 6 min

No white list either

Screen off I/O = SIO

Very random indeed at worked as advertised just like last weekend except that today turning on the screen killed the music. Last weekend however, I was able to turn the screen on and it would still play.

Drawing from the this... any conflicts we can deduce between the screen off profile in DSBS and other screen controllers?
[Android Apps and Games] GTOJim:
Glad your making progress. After reading your previous post regarding extreme quality I tested it again and 5 out of 6 times Spotify played song after song. Wonder if extreme quality would work ok for you at your office with 4G. I was only using extreme quality for testing purposes to help trouble shoot.

DSBS and Spotify work fine for my needs as I normally use Spotify in my vehicle while charging.

I like DSBS a lot, it works great for my needs, I like it better than Juice Defender.
[Android Apps and Games] 1afly:
I'll try it an see... problem is that in 3G world extreme quality causes the music to sputter...

Do you have Spotify added to any of the "white lists?"
[Android Apps and Games] mw86:
Re: [APP] [2.1+] Deep Sleep Battery Saver (Ver 1.9)

After reading your posts this direction seems most probable to be closest to the answer. Seems the thresholds and getting spotify buffer to be detected when it streams again... 6min and ultra low KB threshold seems good. Keep up the great research guys.

Yeah I use Zen screen on and noop screen off. I forgot I think Ktoonsez may have removed screen of scheduler from the touch wiz build of his kernel. It may be back in on future versions he's been hard at work. He has it in Extras section.

What I was saying having a different screen on and off scheduler when it switches may effect regular audio play back off of SD card... But this seems to be a non issue on this subject here :good: nice research :)
[Android Apps and Games] 1afly:
So last night while at work I was playing around to see if the sampling threshold would change the time at which data would be cut off. And from 30s-6m I noticed no appreciable change at which the data cut off with the lock screen on.

With that said. I was able to get it to work last night JUST one time... I fiddled around for another 30 min and it wouldn't stream after that one time. Heeding GTOjim's advice I changed the streaming data back to extreme and gave it a change on my drive home with bluetooth stream. Right out of the box it streamed 3 songs in a row. I then checked to see if data was on (it was via 3G) with a quick screen on (didn't unlock) check and then back off and after I did that the music stopped streaming. After a few more tries I was able to get the streaming to work once again. And again with a quick screen on check the music stopped streaming again but I was able to get it to stream song after song once again.

So the quality seems to make a difference (higher data draw) but why it will stop once you check the screen on is confusing to me. I'll mess around today and see if it will continue to stream normally once I unlock the phone and turn the screen back off.
[Android Apps and Games] GTOJim:
Yes I have it checked in the Stop Apps White List "Apps that will be ignored in the killing process"
[Android Apps and Games] cruel91:
Will I received real-time calls, messages (e.g. Viber, Whatsapp) when my phone is forced into deepsleep mode, assuming I put these apps in the whitelist? Or it must depend on the app?
[Android Apps and Games] hemantkarandikar:
DS Battery saver can't turnoff mobile data

I am on Galaxy SL I9003 \ CM10 (alpha 4 release) . I tried DS Battery saver. It doesn't turnoff mobile data. I tried screen on delay (it has no effect) . I tried user presence settings. Even without unlocking screen I see mobile data turned on. Any solution?
[Android Apps and Games] mykimouse:
Re: [APP] [2.1+] Deep Sleep Battery Saver (Ver 1.9)

A few days back I had reported an issue where my phone goes to deep sleep even when screen is on and I am using some app. But this affects only the stock launcher and not other apps. It seems only the twlauncher is killed when the phone goes to deep sleep(even when screen is on). I have mailed the log. Please see attachment. I was using the phone when it went to deep sleep at 12:35:58

Please let me know what more info would help you in verifying the issue.
[Android Apps and Games] Cyclu:
Re: [APP] [2.1+] Deep Sleep Battery Saver (Ver 1.9)

Disable via sms for device tracking app, this function exists in your application?
[Android Apps and Games] f3tus:
I second this. How is this compatible with anti-theft apps like Avast? You can force mobile and wifi data on in anti-theft apps, but DSBS forces them off. So what happens?
[Android Apps and Games] f3tus:
Another question. If I setup my email app to sync every 1 hour, starting with 08:59 (01:00 - 08:58 are "quiet hours"), and set DSBS's "night mode" to 01:00 - 08:58, with a wake up every 1 hour for 2 minutes, I would expect my email app to sync every 1 hour from 08:59 to 00:59. But what happens when I manually turn the phone on at a random time, like 09:34, to make a call or browse the internet? Does the wake time reset and the next time DSBS wakes up the phone is 10:34, not 10:58, thus my email app would not sync for the whole day?
[Android Apps and Games] Cyclu:
I have Avast anti_theft and Juice Defender (No longer developed:( )send sms with a custom word disable JD
[Android Apps and Games] avd:
Quiet.... Everyone must be in a deep sleep...
[Android Apps and Games] mykimouse:
Bumping the post since this issue is driving me nuts. I have whitelisted twlauncher in both whitelists.

Dev please help.
[Android Apps and Games] shinesthru:
I have a Sprint GS3 running the latest LiquidSmooth Android version 4.2.2 bouncing between BMS, KT747, and lean kernel. I was recently on AOKP, but since flashing LiquidSmooth, DS will not stay persistent, even with persistent notification enabled. I am running the latest DS Pro. Anyone have the same problem, poor any ideas at a solution?
[Android Apps and Games] nurps:
Disabling Data Connection is not working for the Xperia Z, well it is, but its not turning it back on when i start using it again. It's also forcing Sync when they are actually disabled in android google settings (calendar and contacts). This is actually causing "google services" to run which i have completely disabled otherwise.
[Android Apps and Games] Lobster$:
Notification Drawer.

Sorry if this has been mentioned but I tried to search the thread and couldn't find an answer.

Is there a way to remove this app from always being in the notification drawer?
[Android Apps and Games] nurps:
Its in the options but it says its not recommended because Android might shut it down without it.
[Android Apps and Games] post-mortem:
If it's not in the notification drawer, Android might kill/suspend it to free RAM.
[Android Apps and Games] nurps:
Maybe if it has to be in the notification bar, it could be made smaller? :)

BTW: this makes Greenify obsolete, right?
[Android Apps and Games] xordos:
First of all, This app greatly improved my battery life, Thanks.

Yes, I think I saw the same thing. ( probably this start to happen from some recent update, but really not sure)

In above example, from 5:27pm it turn off wifi and goes to DS, then after 30min, at 6pm, it briefly turn on then goes to DS, this time, the wifi does not turn off. When I check this further in my case, the wifi will turn off successfully every other time. Means, instead of turn on 1 min for every 30min, it actually turn on ~30min, then turn off ~30min.

My phone is LG Nitro HD, running CM10.1 M3, with Wind 1.8 Kernel.
[Android Apps and Games] nurps:
After further testing with the special APN setting off again it seems to work some times. But often i turn it back on and my data connection stays disconnected and i have to engage it manually. Of course i don't know if the other times it was even off in the first place. Guess i should activate logging. :)

Happening on an Xperia Z.
[Android Apps and Games] rmrajm1:
Great............extends almost 40% more battery life..........:)
[Android Apps and Games] Memethecat:
Great app, it's added hours to my phone;)

ty
[Android Apps and Games] davant155:
i experience a little lag...

with "Deep Sleep Battery Saver" the keyboard (swiftkey) is alot slower and lags

does anybody know help`?
[Android Apps and Games] NatsuPower:
Thanks you for this app it saved my S+ :D

My battery was suffering from no deep sleep with CM10 from Invendor and with K Kernel 1.7 so I ma keeping this rom thanks to you :D

keep the good work up :D
[Android Apps and Games] maelfilk:
Hey, good app, got pro version. But battery percent in notification does not update unless i open app and it for some reason does not control mobile data, i tried checking second variant in settings, both don't work (newman n1 4.0.4 / 4.1.1). Any update soon?
[Android Apps and Games] microcens:
which profile is better for xperia J JB?
[Android Apps and Games] xordos:
Today, I checked the logs carefully, and noticed following, everytime the wifi off is skipped, the wifi state is "ENABLING" instead of "ENABLED", for example:

Mar 12, 2013 6:00:58 PM:473: Screen Off( onScreenOff: 15s)
//[B]here, wifi off is skipped, because the wifi status is WIFI_STATE_ENABLING[/B]
Mar 12, 2013 6:00:57 PM:759: Deep Sleep On( DeepSleepOn ,(Now) status network wifi [B]WIFI_STATE_ENABLING[/B], data false)

Mar 12, 2013 6:00:55 PM:3: Wifi On( Control wifi)

Mar 12, 2013 5:55:45 PM:47: Roll Back setting ( rollbackSettings)

Mar 12, 2013 5:54:45 PM:196: Deep Sleep Off( Deepsleep off)

Mar 12, 2013 5:27:17 PM:343: Screen Off( onScreenOff: 15s)
//[B]here, wifi turn off correctly and we can see the wifi status is WIFI_STATE_ENABLED[/B]
Mar 12, 2013 5:27:15 PM:995: Wifi Off( Control wifi)

Mar 12, 2013 5:25:45 PM:198: Deep Sleep On( DeepSleepOn ,(Now) status network wifi [B]WIFI_STATE_ENABLED[/B], data false)

So, I think maybe due to the wifi signal issue or some other reason, the wifi didn't fully enabled in the 1min window, and cause the wifi off got skipped.

Thanks.
[Android Apps and Games] zeli9:
Thanks!!

I've tried many battery savers, including JD Ultimate... (JD was not bad, but my problem with it is confusing options and non-existent development, seems the project is dead). DS is probably the best, extends the battery substantially! Bought the Pro version to help with development. Keep up the good work!
[Android Apps and Games] kalvinlou:
I am using the xda version on my mt6589 cpu machine, it seems thats the machine does not wake up to receive message, but when i switch on the screen, the data back, it does not happen in jd, does this mean the app not support my cpu?
[Android Apps and Games] kalvinlou:
I just found that the screen does not turn on periodically.
[Android Apps and Games] nurps:
Why should it?
[Android Apps and Games] zeratos:
why would you want that? it would kill the purpose of this app D:
[Android Apps and Games] kalvinlou:
I just wonder why my phone does not receive whatsapp, I think if the reason is my phone wont turn on...
[Android Apps and Games] lou2s:
Try to use custom profile in DS battery saver and set it to turn on for 30s to 1min every 10 to 15min to allow the phone to sync what needed. Cheers!

Sent from my Boeffla I9300
[Android Apps and Games] owenlee:
so how many percent power can be saved by deeply sleep?
[Android Apps and Games] post-mortem:
That depends on how much is currently being wasted.
[Android Apps and Games] Malle_eppie:
Alarm not working

Hi,

I bought this app because I find it to be very useful, but lately I have a little problem.

Whatever profile (even custom) I use, the app does not come out of deep-sleep in the morning to sound the alarm.

I white-listed the alarm app I use, but I have to press the Home button to get the phone out of deep-sleep, so I overslept a several times this week.

Is there anything I can do to let the alarm sound in the morning.

Thanks in advance for an solution.
[Android Apps and Games] post-mortem:
Does your alarm app have a persistence feature (will always show an icon in the notification bar)?
[Android Apps and Games] Malle_eppie:
No it does not have that. I use "sleep as android" and it used to work before, but for a strange reason it stopped to wake up the phone out of deep-sleep.

It shows the alarm time in "quick settings" though !!

Thanks for your reply anyway ;)
[Android Apps and Games] post-mortem:
Try to set an alarm or two during the day, when the phone may not be in deep sleep, and see if the same thing happens.
[Android Apps and Games] Malle_eppie:
Thanks for the quick reply and the solid thinking you did for me, but I already tried that and the alarm just sounds like it should.

That's the strange thing, I cannot think of a reason as to why it would sound when not in deep-sleep and not when deep-sleep is active other than that deep-sleep is keeping the phone from waking up when an alarm should sound.

:confused:
[Android Apps and Games] shinesthru:
Just wanted to report a problem I was having along with a solution. On my GS3 I am running an AOSP 4.2.2 ROM (the latest LiquidSmooth release), KT747 kernel, with Ktoonservative governor and Noop scheduler. DS kept getting killed by the OS even with persistent notification selected. I converted it to a system app, and it no longer gets killed. I'm happy now. Hopefully the same will work for someone else if they run into that issue. Thanks for the wonderful app!
[Android Apps and Games] roytam1:
I wonder if new XDA edition will available some time.
[Android Apps and Games] All Day On XDA:
How is this app different to Stamina Mode on the Xperia Z?

Sent from my C6603 using Xparent Skyblue Tapatalk 2
[Android Apps and Games] nurps:
The notification LED keeps working and you have control over the settings. ;)