yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] shinesthru:
Update, nope, it again started being killed by the OS. I tweaked with APN, and user present settings, but it didn't help. What confuses me is this problem only occurs in Liquid Smooth. I have the exact same setup on a couple other AOSP ROMs, and DS stays persistent without issues. Now that I am accustomed to the awesome benefits of this app, I am spoiled and have to have it working, so I am flashing back to another ROM. Thanks again.
[Android Apps and Games] streef:
Deep Sleep whitelist

I'm having a problem with the deep sleep whitelist. I have a single app CSipSimple on this list to prevent Deep Sleep when this app is running. I normally use this app for outgoing calls only, so it is not running most of the time. Occasionally, when I want to receive SIP calls, I change the settings of this app to keep it running in the background. My problem is that the whitelist entry sometimes prevents Deep Sleep even when CSipSimple is not running (checked in the Applications Manager). Here is a log file fragment showing three Screen Off events, of which only one results in Deep Sleep:

May 15, 2013 1:59:59 PM:273: Deep Sleep ( app com.csipsimple in whitelist DSleep has app running, not deepsleep)
May 15, 2013 1:59:57 PM:169: Deep Sleep ( DeepSleep [name=Gentle, frequence=30m, duration=1m, nightEnable=false, network=6, sync=0, weekday=weekday, profileType=0])
May 15, 2013 1:59:57 PM:77: Traffic ( Traffic: 3 4 30 1 )
May 15, 2013 1:59:57 PM:51: Prepare deepsleep ( DeepSleep prepare, status network wifi WIFI_STATE_ENABLED, data false)
May 15, 2013 1:59:26 PM:999: Screen Off( onScreenOff: 30s)
May 15, 2013 1:57:54 PM:373: Wifi On( Control wifi)
May 15, 2013 1:57:54 PM:352: Roll Back setting ( rollbackSettings)
May 15, 2013 1:57:54 PM:198: Screen On( onScreenOn)

May 15, 2013 1:57:05 PM:531: Wifi Off( Control wifi)
May 15, 2013 1:57:03 PM:282: Deep Sleep ( DeepSleep [name=Gentle, frequence=30m, duration=1m, nightEnable=false, network=6, sync=0, weekday=weekday, profileType=0])
May 15, 2013 1:57:03 PM:224: Traffic ( Traffic: 7 7 30 1 )
May 15, 2013 1:57:03 PM:197: Prepare deepsleep ( DeepSleep prepare, status network wifi WIFI_STATE_ENABLED, data false)
May 15, 2013 1:56:33 PM:160: Screen Off( onScreenOff: 30s)
May 15, 2013 1:55:59 PM:486: Roll Back setting ( rollbackSettings)
May 15, 2013 1:55:58 PM:980: Screen On( onScreenOn)

May 15, 2013 1:55:08 PM:979: Deep Sleep ( app com.csipsimple in whitelist DSleep has app running, not deepsleep)
May 15, 2013 1:55:06 PM:924: Deep Sleep ( DeepSleep [name=Gentle, frequence=30m, duration=1m, nightEnable=false, network=6, sync=0, weekday=weekday, profileType=0])
May 15, 2013 1:55:06 PM:830: Traffic ( Traffic: 2 3 30 1 )
May 15, 2013 1:55:06 PM:798: Prepare deepsleep ( DeepSleep prepare, status network wifi WIFI_STATE_ENABLED, data false)
May 15, 2013 1:54:36 PM:780: Screen Off( onScreenOff: 30s)

Why does DSBS think that CSipSimple is running, when it is not?
[Android Apps and Games] thegame2388:
Something is wrong with this application, it keeps randomly closing out on my phone (S3) and the only way to fix it is restarting it.

Then after a few minutes or hours, it happens again.

How do I resolve this?
[Android Apps and Games] post-mortem:
Have you tried uninstalling & reinstalling? It works fine on my S3.
[Android Apps and Games] thegame2388:
Yeah I did. Apparently the guy on the previous page had the exact same problem. It's been ongoing for like 5 days now. Nothing changed.
[Android Apps and Games] cballin22:
seems like it happens on aosp roms that it does this i get same issue same thing happened when i used juice defender ...
[Android Apps and Games] thegame2388:
Then what do I do? If it's AOSP related.....what now?
[Android Apps and Games] cballin22:
im using it now im on deviantxone 2.0 beta b5 seems to be holding i made it a system app ........
[Android Apps and Games] cballin22:
It still shuts down on its own after some time
[Android Apps and Games] lrobberl:
Hey guys!

How can i set it up if i wanna receive Whatsapp, Facebook Messenger and Hangouts notifications often?

This is an awesome app, but the fact that turns off wifi and mobile data doesn't allow me, of course, to not receive those notifications often... Could you please help me to find a good setup for me? thanks a lot :)
[Android Apps and Games] HIGKILLER:
cool

Thats awsome!
[Android Apps and Games] stonew5082:
No, that would defeat the purpose of the app.
[Android Apps and Games] miatawnt2b:
I really like the app. I would like to know if It is possible to keep from going into deep sleep if I have WiFi tethering enabled.

Thanks!

-J
[Android Apps and Games] mishut:
excelent saver. thanx :good:
[Android Apps and Games] post-mortem:
If you're using a 3rd party app, you can add it to DSBS's whitelist. If your tethering is built in to the ROM, then you can set DSBS's settings to monitor background data usage. Set a low threshold, and it's not supposed to turn off your wifi (though it doesn't seem to work for me). Otherwise, maybe you can use Tasker to temporarily enable/disable DSBS.
[Android Apps and Games] neier24:
Short review: cpu spy shown about 9 hours to 10 of deep sleep; This app was set on 45 min, 1 min on, data off, air plane on.

Lost 1%. Amazing!

Right now i'm gonna try 5 min: 1 min on
[Android Apps and Games] miatawnt2b:
Same issue here with task650's latest AOKP. Any ideas?
[Android Apps and Games] Kyoraki:
I seem to be suffering from a rather irritating bug. Specifically, my device isn't able to connect to any wifi stations if the app is installed. Sometimes it works after I turn the screen on, but then it just drops out after 5 minutes or so. Is there a fix on the way? Or better yet, is there a way to fix this in the app?
[Android Apps and Games] post-mortem:
Are you sure the app isn't set to manage the wifi radio?
[Android Apps and Games] Kyoraki:
There are no such options in the free version. The only thing I've tried that works is toggling the 'user present' option, though it only works temporarily.
[Android Apps and Games] shinesthru:
I found a fix for app killed by OS / not sticking in memory! I have been testing this for over a week now, and it has worked for me perfectly.

Make sure you go to your data/app folder and verify the name of the DS app. Found this tip here: http://xdaforums.com/showthread.php?t=2032956.
[Android Apps and Games] mw86:
Awesome :highfive: glad the tip is being used. You can protect any app if you have the file name correct. Keep up the great work Shinesthru. The donator of the tip was happy to contribute which is greatly appreciated.
[Android Apps and Games] thegame2388:
Seems like this app isn't even toggling my WiFi. When I turn off my screen, and turn it back on after like 10 minutes, the WiFi is on...the milisecond that I turn it back on (meaning that the app never turned it off in the first place)

How do I fix this?
[Android Apps and Games] stonew5082:
Same here.
[Android Apps and Games] post-mortem:
Do you guys have it set to monitor for background data? Either that, or a whitelisted app could be preventing the phone from sleeping.
[Android Apps and Games] stonew5082:
No because it works with mobile data
[Android Apps and Games] thegame2388:
Yeah this is super annoying. I'm just considering using toggles to enable/disable WiFi and Data, I don't know what to do.

My WiFi sleep policy is set to "never" and everything is what it's supposed to be.
[Android Apps and Games] shinesthru:
Did you two try my suggestion I just posted to force the app into memory?
[Android Apps and Games] stonew5082:
too lazy. that thread's too long. :victory:
[Android Apps and Games] shinesthru:
You certainly are lazy. I just posted it one page back.
[Android Apps and Games] stonew5082:
Oh I started reading that whole thread hehe interesting thread though.
[Android Apps and Games] -=JK=-:
Manual airplane mode activation stops DSBS from working?

Hello everyone!

First of all I wanted to thank this great community that enabled me to root, unlock and flash my LG 4X HD to CM 10.1. I finally know why I've always been pro Android! Unfortunately I was experiencing immense battery drain (7-8%/h), so I tried out some custom CM mods, but to no avail. This app really worked great and got my battery drain down to less than 1%/h though, so thanks for developing and sharing it!

There's one thing that was not working as I expected it though: I was using the free version until yesterday (I only found out that there was an xda version today) and opted for the "slumberer" profile. After I set my alarm for the next day I manually activated airplane mode only to find out that after 7 hours my battery went down about 20 percent with "phone active" and a "52 MHZ" CPU state showing up in BBS for the same amount of time.

Has anyone else been experiencing this issue? I have just upgraded the app to the XDA version, rebooted my device and will give manual airplane mode another try tonight, but if there's a known solution to this I'd rather try that out instead. Thanks for any comment in advance!

Regards, JK
[Android Apps and Games] thegame2388:
You mean make it a system app or force what into memory?
[Android Apps and Games] shinesthru:
Keep it in memory.
[Android Apps and Games] tyvar1:
If I want my alarm clock to work do I just need to white list the clock app then? I am using the pro version btw! :D thanks for this awesome app!
[Android Apps and Games] thegame2388:
How do I do that?
[Android Apps and Games] shinesthru:
*Sigh* You have the short term memory of a fish. Read back to what I wrote a whole 2 pages ago.
[Android Apps and Games] thegame2388:
DSBS isn't even inside the folder of data/app
[Android Apps and Games] post-mortem:
It should be.

/data/app/com.rootuninstaller.batrsaverpro-?.apk
[Android Apps and Games] thegame2388:
It's not there....I'm using root explorer.
[Android Apps and Games] shinesthru:
That is where user apps are. What version of android are you on? Are there any other apps in that directory? Did you convert DSBS to a system app?
[Android Apps and Games] thegame2388:
I made it a system app like 2 weeks ago but then I ODIN/Restored a few days ago so everything should be back to normal. There are other normal apps there...just not DSBS. I'm on Android 4.1.2
[Android Apps and Games] shinesthru:
Ok, if it's installed as a user app (as it is set to as default when initially installing) it will be in the data/app directory. If, for some strange reason, it has remained a system app, then it would be in the system/app directory. If it is neither one of those places, then that means it is not installed on your device.
[Android Apps and Games] tyvar1:
I can't find it ether! :(

---------- Post added at 09:44 AM ---------- Previous post was at 09:44 AM ----------

I tried in data/app and system/app and it is not there!
[Android Apps and Games] shinesthru:
Then it's not installed.
[Android Apps and Games] stonew5082:
this app makes the process easy fyi

https://play.google.com/store/apps/...SwyLDEsImRlLmo0dmVsaW4uc3lzdGVtYXBwbW92ZXIiXQ..

its working with wifi for me after making it a system app
[Android Apps and Games] tyvar1:
I found it in mnt/asec because it's a paid app :)
[Android Apps and Games] hazedabeast:
Love this app
[Android Apps and Games] thegame2388:
okay but does the fix even work?
[Android Apps and Games] hazedabeast:
What fix
[Android Apps and Games] shinesthru:
Have you tried?!
[Android Apps and Games] thegame2388:
The fix on page 70 I believe about using Terminal to make the app work....
[Android Apps and Games] hazedabeast:
Nope worked without it

---------- Post added at 03:25 PM ---------- Previous post was at 03:24 PM ----------

For me
[Android Apps and Games] thegame2388:
Well my WiFi state isn't being on/off the right way according to what the app is supposed to do....
[Android Apps and Games] happycadaver:
I have a problem with light battery drain since the last update. I have set up the app customwise, DS with screen off, wakes up every 15 min for 1 min. Before the update i lost 2-3% battery after a good nights sleep, which ist approx. 7 hours with alarm clock active. Now i loose 7-8% over night with the same apps active. Is this a known/common problem? In the office i only check my mail and WhatsApp from time to time; the battery drain has almost doubled after the update. I'm using an up to date Nexus 4.
[Android Apps and Games] FC1032:
I don't know if it's a problem but I had the xda version installed and my phone was like yours: very little drain over night.

But it expired and now I use the free version and it seems to be draining more
[Android Apps and Games] grinder777:
Buy the full version... it's worth the money

SGS - Semaphore 2.9.25s - XYlon 2.7.3 - Cobalt Sam-X - Thnx2all
[Android Apps and Games] FC1032:
I was planning to, I was just wondering why this version doesn't seem to be effective. Will report back after a bit more testing
[Android Apps and Games] happycadaver:
I'm already using the paid version.
[Android Apps and Games] nurps:
Is this project dead? The alternative mode isn't disconnecting my data (according to the log) and the normal isn't always turning it on with the Xperia Z. :(
[Android Apps and Games] hazedabeast:
Is xda version not working
[Android Apps and Games] shinesthru:
Apps don't just stop working. Certain people may havr problems using the app because of device or ROM incompatibility, though.
[Android Apps and Games] hazedabeast:
I keep getting this any help?
[Android Apps and Games] hazedabeast:
I can't get past it and change the profile
[Android Apps and Games] gamepro602:
It means that the xda version of DSBS has expired, either get the free or paid version from the play store or decompile it and do things to it to make it stop :p
[Android Apps and Games] hazedabeast:
Nvm I found a fix around it just press back button then that appears
[Android Apps and Games] dimex:
Love the app. I'm using it for my Nexus 7 installed as a head unit in my truck. Tested it today with screen off from 10am to 9pm, and it was still at 100% when I turned the screen on.

Few quick questions. When I exit my truck, I have Tasker automate turning off WiFi, GPS, Bluetooth, and toggling airplane mode on. Then it shuts off the screen. That whole process takes roughly 30 seconds, so I set DSBS to a 2 minute screen off delay. If I set up a profile in DSBS with WiFi, GPS, Bluetooth, and Data selected, would DSBS toggle the radios on since Tasker just turned them off?

Also, I want no syncing whatsoever if the screen is off. Under trigger sync I deselected all accounts under custom settings which grayed out both Trigger and Auto sync on the previous screen. By doing that did I turn off all syncing when the screen is off?

Finally, I don't want the tablet coming out of deep sleep at all when the screen is off. Under Frequency I selected Until Screen On. The description is a little confusing but does that mean the tablet won't come out of deep sleep until the screen turns back on? Reason being is you can't deselect the times under Duration. I want NO duration.

Thanks for your help and loving the app.
[Android Apps and Games] binht611:
This app conflict with pdroid 2.0. It cant turn off data when screen off since i install pdroid
[Android Apps and Games] Scotlac:
First off, I apologize if this has been asked before (I did a search and looked back several pages) or if I'm just a total noob that doesn't understand the way this app functions. I've got DS Battery Saver set on Slumberer and my phone still seems to be spending a lot of time awake. It was my understanding that it would put the phone into deep sleep for all but 1 minute out of every hour but, as you will see from these screenies, that doesn't seem to be happening.

Does anyone have insights on what may be going on?

Thanks in advance!
[Android Apps and Games] post-mortem:
Since you're already using BetterBatteryStats, see which apps it says are causing your wakelocks. Your wifi is on way more than the screen is on, so also look at the Network tab (needs root). You can also drop a dump file, and post it in the BetterBatteryStats thread for advice.
[Android Apps and Games] dimex:
I had DSBS on Slumberer 1 day and on a Custom profile the next to test. Every time at midnight the tablet wakes up and the settings are reverted, causing battery drain. Can't seem to find any reason why. It always happens exactly at midnight. Will update this post with a log in a bit.
[Android Apps and Games] dimex:
Here is the log from yesterday/this morning. There were issues with DSBS turning on Airplane mode before sleep, but not reverting it upon screen on. So, I have Tasker take care of turning off WiFi, GPS, and Bluetooth, and turning on Airplane mode prior to screen off. DSBS is set to take care of Data and obviously putting the tablet in deepsleep. Nonetheless, every time at midnight, DSBS turns data back on, and the tablet is no longer deep sleeping. I've gone through the settings multiple times and cannot find the reason why it's doing this.

Jun 12, 2013 10:34:07 AM:481: Mobile network On( Control mobile data)

Jun 12, 2013 10:34:07 AM:445: Roll Back setting ( rollbackSettings)

Jun 12, 2013 10:34:07 AM:411: Screen On( onScreenOn)

Jun 12, 2013 12:01:55 AM:934: Service On( onCreate)

Jun 12, 2013 12:00:45 AM:716: Mobile network On( Control mobile data)

Jun 12, 2013 12:00:45 AM:595: Roll Back setting ( rollbackSettings)

Jun 12, 2013 12:00:45 AM:445: Service On( onCreate)

Jun 11, 2013 5:51:28 PM:957: Mobile network Off( Control mobile data)

Jun 11, 2013 5:51:28 PM:928: Deep Sleep On( DeepSleepOn ,(Now) status network wifi WIFI_STATE_DISABLED, data true)

Jun 11, 2013 5:51:26 PM:914: Deep Sleep ( DeepSleep [name=Custom, frequence=596h, duration=15s, nightEnable=false, network=2, sync=2, weekday=weekday, profileType=4])

Jun 11, 2013 5:51:26 PM:881: Prepare deepsleep ( DeepSleep prepare, status network wifi WIFI_STATE_DISABLED, data true)

Jun 11, 2013 5:50:56 PM:817: Screen Off( onScreenOff: 30s)
[Android Apps and Games] Scotlac:
Thanks for your input. I did a little research and figured out part of my problem. A big piece of the drain was "deleted_wake_locks" which I now understand and have fixed (I think). The main wakelock showing currently is PowerManagerServices which I understand to be a placeholder for all partial wakelocks. The main offender on there seems to be Maps so I have frozen that through TB. The amount of time that the phone is awake when the screen is off has now dramatically improved but it still does spend quite a bit of time awake.

Do most of you guys using DSBS see a straight 1:1 correlation of Awake time to Screen On time? My understanding was that the app basically forces your phone into deep sleep. Is that correct?
[Android Apps and Games] jdstrydom:
not a true one to one. I have about 30 minutes more awake than screen on with deep sleep when screen off during 8 hours at night. Drain of 9 percent during the period of no use during night.
[Android Apps and Games] RS050377:
Does not work if you are using S-View Cover on Samsung Galaxy S4. App soes not disconnect.
[Android Apps and Games] Martinhdk:
I have a strange issue on the pro version.

Whenever I turn of screen and ds is doing its thing it puts my phone into "Airplane on".... And no calls are recived.

Anyone have a solution?

Oh yeah, have tried several versions of pacman room and different kernels. Strange
[Android Apps and Games] post-mortem:
Are you using the "Custom" profile? If yes, tap on "Deepsleep weekday" or "Deepsleep weekend" & check the setting of the 1st option "Wireless & Network."
[Android Apps and Games] Picasso Lg:
These applications are very good but the fact that I never got results always create problems.
[Android Apps and Games] shinesthru:
I usually frown upon users being demanding of developers in any way, but I am pretty annoyed that I have paid for this app and I have gotten absolutely no feedback from the developer regarding my problem. Why did I pay for this app if it is killed in the background, rendering it useless? Can I get any insight from [MENTION=2363772]leducbao[/MENTION]? Please?
[Android Apps and Games] post-mortem:
I thought you figured it out?

http://xdaforums.com/showthread.php?p=41911018#post41911018
[Android Apps and Games] shinesthru:
It only worked temporarily. I've been working on it since then, tried everything I can think of, solicited help from other members, etc.
[Android Apps and Games] Martinhdk:
Thx for the input. I guess I solved my issue by a clean install.
[Android Apps and Games] GialanG:
Cannot turn off data connection

It works perfectly with wifi, but fails to turn off data connection on my Lenovo P770, both options at "Use APN settings" tried. Any suggestion?
[Android Apps and Games] Roland_SGN:
I have just installed, for testing and some questions:

1) The version here in XDA reports an expired version and wanna update via Google Play. But this is already installed, clicking on Open, then I get back the version and remain in the loop...

2) I have already some time schedule configured when my device switches into Airplane-Mode. Does the app interfere with already set Airplane-mode?
[Android Apps and Games] stonew5082:
an occasional update to the app would be nice.
[Android Apps and Games] rogxd:
[MENTION=2363772]leducbao[/MENTION]

Can you add an option to activate deep sleep and switch off 3G/wifi also during charge? Thanks ;)
[Android Apps and Games] GialanG:
No way. It's the default action of android to keep your device awake during charge.
[Android Apps and Games] rogxd:
Ok, but we can switch off 3G/wifi!

Inviato dal mio GT-I8150 con Tapatalk 2
[Android Apps and Games] GialanG:
Of course they can, but I guess they won't do such a "weird" thing :D. If you want that, you can turn off wifi manually.
[Android Apps and Games] tiniwings:
1A) Press the back / return key when the app showing expire message, the message will be discarded and settings will be shown. This applies whenever you open the app.

2A) You can de select the airplane mode in settings (by default its not selected), so it won't interfere. (I haven't checked this option, just try it for some time) :)
[Android Apps and Games] aeonix_05:
I just want to know why the status hides when the screen is off? Is there any setting to disable this?
[Android Apps and Games] Burginthorn:
I have the pro version and a bit of a noob question I hope someone could be kind enough to answer - When my phone is "sleeping" and I go to use the phone this app has turned off my wifi and data. I try to send SMS and txt and I get a message saying that data/wifi is turned off and message will be sent when it is turned on.

Is this normal?

I am a bit worried someone may be trying to contact me but can't because data/wifi is turned off. Is this a fault with the app?

Thx.
[Android Apps and Games] post-mortem:
Are you sure it's data/wifi, or is the phone in airplane mode?
[Android Apps and Games] Burginthorn:
Its definitely data/wifi.

When the phone goes into sleep mode and I hit the home button to wake it, and then hit settings and check wifi, it is turned off.
[Android Apps and Games] post-mortem:
I think you should double-check your settings, and experiment with changing the settings.
[Android Apps and Games] DanaSTL:
Perhaps I am missing something - I have the pro version, I have added Google Voice to the whitelist. But it still only gets the update from Google Voice on the timed "wake up". Is that because I am having it disable mobile data?
[Android Apps and Games] stonew5082:
Yes, white list only works then the app is active, like streaming media. Voice polls periodically so it won't work, also that would defeat the point of the app because data would always be on because voice is always on.
[Android Apps and Games] DanaSTL:
That's sort of what I was thinking. Bummer. :(
[Android Apps and Games] Maddinuser:
Working now! I was just not waiting long enough to test it :D
[Android Apps and Games] Martinhdk:
Could be awesome if you integrate some kind of service task killer. Some apps still wake up my device, or even make it completely impossible to wake up the device when in deepsleep. For example Wordfeud. It keeps waking my phone.
[Android Apps and Games] leducbao:
Is "Battery" settings in app's preference what you need?