Help solve SOD [wifi variant] with DroidWall - Nook Color Android Development

Last Update: 8/6/2011
Basis:
Wifi always on causes SOD. There are numerous anecdotal reports that setting wifi to be off with screen off reduces/stops SOD.
Plan:
Utilize DroidWall to limit wifi use by applications and find out which applications appear to be safe by selecting specific applications and seeing if SOD occurs.
Why:
Even though turning off wifi with screen off saves battery, some people would like their nook to be pushing/updating with wifi when it is in sleep, getting emails, messages, etc.
What you can do:
1) Download/Install DroidWall
2) Using WHITELIST, check off one or two applications that you utilize the most.
3) Turn _ON_ firewall
4) Update the rules whenever you add or remove apps.
5) Change your wifi setting to always on (advanced options under wifi settings * need to hit menu button to see this option in cm7)
Apps so far tested without problems:
Email (stock)
Improved Email
Dolphin HD 6.0
Epocrates
Market
Amazon Appstore
Possible SOD related App
Downloads, Media Storage, DRM Protected Content Storage, Download Manager (this is one heading in DroidWall)
Apps so far tested that _might_ cause SOD:
*from posts, possibly Latitude.
Testing
K9 Mail
RoadMap
Rom Manager
Netflix
Executive Assistant+
Please post your findings.
I will update this post as we get more information.
Thanks.

DroidWall did not solve it for me... in fact it wouldn't even run on my Nook.

It works for me. At first, I forgot to turn on the firewall, then I forgot to update rules when I changed things.
So far, I have the following for access to wifi:
Market
Appstore(amazon)
Dolphin Browser HD
Epocrates RX
Email
Improved Email
I just turned on Appstore and Market for the first time tonight, so I'm not sure how well it will do.
I use my nook all the time at work, probably turn it on from lockscreen sleep about 15-20 times over 10 hours, so if I don't get a SOD by the next day, I will put market and amazon appstore on the safe side.

Interesting development:
I got my 1st SOD today.
Please note my active programs at this time.
Please note that it occured after I started the combined service noted in the OP:
Downloads, Media Storage, DRM protected Content storage, Download Manager in the Droidwall options.
I will remove this option (which makes it impossible to update market aps for that matter) and see if the SOD doesn't happen for the next 3 days. The restart it and see if I get SOD again.
If this is the cause, then I should be able to show that SOD occurs with it active.

nm
10chars.

Using white list and only allow full-time wifi access to "linux kernel" and "apps running as root"
Never have more than one or two other apps besides these access to wifi when in sleep mode. I never allow gapps full-time wifi access and that goes double for market.
Where did this idea come from? *ducks and runs*
I do believe drm checks are screwing with the nook.
Sent from my NookColor using XDA Premium App

Just wanted to pop in and say thanks for the very useful testing.

Okay, update - I left the downloads/media store etc on the last 3 days and haven't had another SOD. So I'm not sure what to think about that. I will move forward and enable K-9mail today and see how things go over the next couple days.

here's my take on it: it has to do with the router, or some configuration of it.
I have a wrt54gs v1.1 at home and a wrt54g v4 at work, both running tomato software, both with Cox internet.
I get CONSISTENT SODs at work, as a side note the router is a also crashing for an unknown reason. the two don't happen at the same time. I've been trying to grab logs for weeks can't explain it or the fact the nook NEVER SODs at home.
the nook can run at home for days perfect, once at work it can SOD 6 times a day or more.
there has to be more going on than an errant app.

Phatdawg said:
Last Update: 8/6/2011
Basis:
Wifi always on causes SOD. There are numerous anecdotal reports that setting wifi to be off with screen off reduces/stops SOD.
Click to expand...
Click to collapse
Can you clarify what you mean by "reduces/stops" ? Does it reduce it or does it stop it ?
Also, I've been away for awhile - is this the only SOD cause that is not fixed in the current CM7 nightlies code ?
Thanks !!

I've had SOD at home and at work. It's possible we both might have a problem.

I'm currently sitting at 36 hours of up time with the below white listed items. Without droid wall enabled I would consistently get SOD. I am working towards white listing all items one by one to see what causes a SOD. I have discovered that if I white list Google Maps I will get a SOD. However, until I white list all other items I am not prepared to call Maps as the cause of my SOD.
Nightly#152
No undervolting, clocked to 1200mhz.
White listed:
Android system
appstore
BBC News
Browser
Calendar
Chrome to Phone
Chromemarkslite
Clocksync
Cyanogenmod Update Notifications
Dropbox
eBay
Email
Facebook
Feedly
Gallery
Gmail
Google Reader
Google Search
Google services framework
Google+
Listen
Market
Market feedback agent
Music
NYTimes
ROM Manager
Scrollable News
Talk
The Weather Channel
Titanium Backup
Twitter
UK & World News

guy2545 said:
I'm currently sitting at 36 hours of up time with the below white listed items. Without droid wall enabled I would consistently get SOD. I am working towards white listing all items one by one to see what causes a SOD. I have discovered that if I white list Google Maps I will get a SOD. However, until I white list all other items I am not prepared to call Maps as the cause of my SOD.
Nightly#152
No undervolting, clocked to 1200mhz.
White listed:
Android system
appstore
BBC News
Browser
Calendar
Chrome to Phone
Chromemarkslite
Clocksync
Cyanogenmod Update Notifications
Dropbox
eBay
Email
Facebook
Feedly
Gallery
Gmail
Google Reader
Google Search
Google services framework
Google+
Listen
Market
Market feedback agent
Music
NYTimes
ROM Manager
Scrollable News
Talk
The Weather Channel
Titanium Backup
Twitter
UK & World News
Click to expand...
Click to collapse
Thanks, if you go without SOD for 3 days straight like this, I will add these problems to the safe list.

I only get it once I run the Pandora app, close it, and after some time in background, sod.

My experience has been that using the Green Power app in Market keeps my NC alive for a week or more of light use and completely stops SOD. When I disabled Green Power last night, SOD happened, so I was happy to see this thread. It is definitely related to wifi.
For anyone that wants a quick workaround, I do recommend this app because it tells your NC to check wifi on regular intervals so I still get notifications / emails but wifi is not on all the time which saves battery.

WPA_SUPLICANT task
Hi,
I have been getting SOD. My workaround has been to manually turn off
WiFi before I turn screen off - this seems to have worked.
I didn't have them under CM7.03. I have been getting them on all
the nightlies I have tried since them, currently using N146
Mentioned above is an app called GreenPower, I thought I would try this.
I still get SOD with it. (I think I just used the default settings)
This time after powering back on, I looked at my SystemPanel app traces.
It looked like the (task?) WPA_SUPPLICANT was using 100% CPU sometime after
I turn off the display.
Attached are 2 screen captures from System Panel:
One with last 2 hours, showing recent 100% WPA_Supplicant CPU usage SOD
One showing 8 hours of apps running with most CPU usage.
Note System panel is showing device charge constant, but after reboot,
charge is much lower (last night it discharged totally)
Also attached are two alogcat captures - not sure if they have useful data
or not though.
One from SOD earlier in the day
One from recent SOD captured in screen SystemPanel capture above.
Hope this helps...
Peter

olm3ca said:
My experience has been that using the Green Power app in Market keeps my NC alive for a week or more of light use and completely stops SOD. When I disabled Green Power last night, SOD happened, so I was happy to see this thread. It is definitely related to wifi.
For anyone that wants a quick workaround, I do recommend this app because it tells your NC to check wifi on regular intervals so I still get notifications / emails but wifi is not on all the time which saves battery.
Click to expand...
Click to collapse
I tried Green Power and my nc hasn't had a SOD since you posted this. Thanks for the recommendation. I used to get SOD on a daily basis.

I used to get sod even with green power. So I set 2 profiles with tasker one for wifi off when screen is off and one for wifi on when screen is on. No sod for a week.
Sent from my NookColor using Tapatalk

ottoman1384 said:
I tried Green Power and my nc hasn't had a SOD since you posted this. Thanks for the recommendation. I used to get SOD on a daily basis.
Click to expand...
Click to collapse
Two questions. Using Green Power, my wifi does not connect when I wake it up with the nook button. Secondly, when I try to wake up my bluetooth Xoom keyboard by pressing the connect button several times, it will sometimes reboot. Anybody having similiar problems?
Sent from my NookColor using XDA App

Related

Anyone else have a problem with Google maps constantly running

Its seems since the last ota ,every time i check my apps tab i see Google maps running, i close it out an 5 mins later it's there again , i have no other mapping software installed and only ran it once when i first got the tablet to see how my gps was working, i checked to see if some other app is calling it up, but for the life of me i couldn't see any of my installed apps needing it , i run a fairly lean system with maybe 12 apps installed beyond stock . Most of these being rss readers comic readers and a few various off line games and work tools , I'm not around wifi often so I'm a big fan of apps that store the data as opposed to just refreshing links. No Facebook apps or location check in style apps either, maybe my browser settings for searching local, but i would think that uses wifi info to establish that....
I've been using android since its inception but am a first time tablet owner barring a returned ipad 1 when those launched and a complete moron when compared to the level of knowledge displayed on this forum, so any ideas would be appreciated.
Tl;dr ver.
Read the thread title, any idea why constantly run? thnx
Sent from my Transformer Prime TF201 using Tapatalk
My guess is it has to do with location tracking, like if you gave google permission to use your location for whatever. I couldn't tell you how to disable it as it was an option that came up when first setting up the device...it also came up once when I signed into my google account on the google.com home page in the browser.
This is simply me guessing but I would try disabling anything that tracks your location and see if that helps. Maps is always running on my phone as well.
theizzardking said:
Its seems since the last ota ,every time i check my apps tab i see Google maps running, i close it out an 5 mins later it's there again , i have no other mapping software installed and only ran it once when i first got the tablet to see how my gps was working, i checked to see if some other app is calling it up, but for the life of me i couldn't see any of my installed apps needing it , i run a fairly lean system with maybe 12 apps installed beyond stock . Most of these being rss readers comic readers and a few various off line games and work tools , I'm not around wifi often so I'm a big fan of apps that store the data as opposed to just refreshing links. No Facebook apps or location check in style apps either, maybe my browser settings for searching local, but i would think that uses wifi info to establish that....
I've been using android since its inception but am a first time tablet owner barring a returned ipad 1 when those launched and a complete moron when compared to the level of knowledge displayed on this forum, so any ideas would be appreciated.
Tl;dr ver.
Read the thread title, any idea why constantly run? thnx
Sent from my Transformer Prime TF201 using Tapatalk
Click to expand...
Click to collapse
Google tracks location using the maps app on all devices with the Android market. The use it for delivering relevant ads and also for their traffic data. Remember, if something is free then you are the product.
Sent from my Transformer Prime TF201 using Tapatalk
Don't keep trying to close it. It will keep coming back automatically and you actually making the prime work a lil but harder by it having to relaunch it everytime. That will lead to faster battery drain. Just try cutting off Google locations in setting and see if that remedies it. Of not there's nothing you can do. If you try to disable it or get rid of it. It might cause issues with other apps.

[Q] Sygic stops GPS tracking in background after a while, yours too?

Hi,
recently I tried out Sygic which works really nice except for one thing:
when Sygic is running in background after a while (seems randomly) the GPS message disappears (upper message in attached pic), the Sygic message remains (lower message in attached pic).
When I click the Sygic message, the app behaves as if I restarted it (says "initializing" on top right). Luckily, it remembers the old route.
Yet sometimes I don't drive myself and would like to do other stuff and have Sygic tracking in the background.
It works fine with Google maps.Yet not with Sygic. Especially when I launch any other app (even the browser, a video or something), Sygic stops tracking immediately (not always but often) or some time later.
GPS is set to never turn off in Sygic and all settings are set to "optimal".
Could that be the Android OS turning something off for Sygic as it might believe it's no longer used or something?
Sygic is more sophisticated than Google maps and uses more ram. If you start opening other apps after Sygic then they will get higher priority in ram. Sygic doesn't really stop so much as get pushed out of memory until it gets switched to again. Not much you can do about it really.
Sent from my GT-I9300 using Tapatalk 2
Ah that explains the issue, already feared something like that.
The only annoying part is that it no longer tells me where to go when that happens.
Does anyone know whether this happens with other apps such as Navigon as well?
Since the newest update (at least I didn't notice it before) Sygic has an option "Run navigation in back..." under Battery management.
Haven't tested it yet but that supposedly sets the oom_adj values low enough for the app not to get killed.
Ah thanks, that is new indeed.
Yet I tried this and eventually the same thing happens sooner or later. :/
Open Sygic.... go to SETTINGS than go to BATTERY MANAGEMENT (i don't know witch is the correct option in english as my SYGIC is in ITALIAN)... the first setting that is show to you is the opportunity to deactivate the GPS signal after a definite time.... change it!
Yeah that option is now replaced, you can only check/uncheck it. I checked it so it keeps running in background but still shuts off after a while when using other apps.
You're right. I have the same problem. This is ridiculous. You are running navigation and expect it to give you the directions at the right moment, but you don't know that in the meantime, while you got a phone call and checked your messages it was turned off silently and no longer working.
Without an option to guarantee it's working and can't be stopped in the background, you're as if you have no navigation at all.
If this can not be fixed it's better not to even install Sygic, cause this takes away a major part of what this app is meant to do. So stupid.
I have tried Igo and it was the same. How serious is that?! To have a navigation, which can stop while you're using it and need it, without warning!
Did anybody find a solution to this?
Not really.
Either simply leave Sygic running in foreground / don't leave it running in background for a while or use a different app.
After I purchased it I also noticed some other annoying issues, e.g. voice says "take exit number 24" instead of how we navigate here "take next exit to A2" (our motorway navvigation signs do not show the exit numbers anyway), forcing me to look at the app way more often when there is an exit leading to 2 different motorways.
Due to such issues as well as this annoying "I die if you leave me running in background" I decided to switch to Navigon. Nicely, this app even tells you which motorway to take AND where it leads to, so I don't even need to look at it.
I haven't run a full test yet. Yet I left a video running in full screen and Navigon kept running in background navigating. Once I know more, I report back (if I don't forget). In any case, I wished I didn't have spent the money for Sygic after all. What do free map updates any good when the app isn't suiting oneself.
P.S.: I did inform Sygic support about the background issue and they requested more information as they didn't experience this issue yet. I provided that but didn't get another reply, the thread was then archived.
Landorin said:
Not really.
Either simply leave Sygic running in foreground / don't leave it running in background for a while or use a different app.
After I purchased it I also noticed some other annoying issues, e.g. voice says "take exit number 24" instead of how we navigate here "take next exit to A2" (our motorway navvigation signs do not show the exit numbers anyway), forcing me to look at the app way more often when there is an exit leading to 2 different motorways.
Due to such issues as well as this annoying "I die if you leave me running in background" I decided to switch to Navigon. Nicely, this app even tells you which motorway to take AND where it leads to, so I don't even need to look at it.
I haven't run a full test yet. Yet I left a video running in full screen and Navigon kept running in background navigating. Once I know more, I report back (if I don't forget). In any case, I wished I didn't have spent the money for Sygic after all. What do free map updates any good when the app isn't suiting oneself.
P.S.: I did inform Sygic support about the background issue and they requested more information as they didn't experience this issue yet. I provided that but didn't get another reply, the thread was then archived.
Click to expand...
Click to collapse
I agree with you also for the way Sygic works. It's s not that great. Thanks for sharing about Navigon. Please, test it and post here if the situation with "silent background death" is the same. I would appreciate it if you let me know and will be checking to see how you feel about it when you post your comments.
tiho5 said:
I agree with you also for the way Sygic works. It's s not that great. Thanks for sharing about Navigon. Please, test it and post here if the situation with "silent background death" is the same. I would appreciate it if you let me know and will be checking to see how you feel about it when you post your comments.
Click to expand...
Click to collapse
I have been using Sygic for quite a long time and noticed that on my Galaxy Captivate, after initialization, if you switch to some other app then return to Sygic (either from the app icon, or from the task bar) it always restart.
However on my Galaxy S3 after switch back to Sygic it just continues wherever it left off. I guess that my Captivate had less memory to run Sygic while I have plenty on the S3.
Also in Sygic, go to Settings / Notifications and Sounds / Advanced and turn "Sound always on" would let Sygic to continue to turn-by-turn announcement even if it is not in the foreground, even when the screen is off.
I have plenty of free memory (using HTC one x) and still it's killed. But this is not a problem of sygic. it's a problem of Android. Or may be indrrd sygic didn't make the right settings for the memory registration of this app (if that's something that they could do). As I see the oom values of this app are pretty high usually when I check.
Also about the voice: I have this option checked. But I never had an occasion when it spoke to me when it was killed. I'll check again. May be I didn't notice it...
Thanks for your comment on that. I'm surely going to test this.
tiho5 said:
I have plenty of free memory (using HTC one x) and still it's killed. But this is not a problem of sygic. it's a problem of Android. Or may be indrrd sygic didn't make the right settings for the memory registration of this app (if that's something that they could do). As I see the oom values of this app are pretty high usually when I check.
Also about the voice: I have this option checked. But I never had an occasion when it spoke to me when it was killed. I'll check again. May be I didn't notice it...
Thanks for your comment on that. I'm surely going to test this.
Click to expand...
Click to collapse
You probably you haven't set the option to switch off GPS after a certain amount of time. Go to Settings /Battery management / Switch GPS off after... then move the slider until you see "never".
pentel1954 said:
You probably you haven't set the option to switch off GPS after a certain amount of time. Go to Settings /Battery management / Switch GPS off after... then move the slider until you see "never".
Click to expand...
Click to collapse
Thanks for trying to help. This option is set properly to "never" with me.
Hey all,
sorry for the late reply.
Sad news: Navigon dies in background as well. Just like Sygic, it doesn't always happen. But once you start using other apps actively it will eventually kill Sygic and Navigon silently. As someone already pointed out, it's likely an issue due to how Android works.
I had the relevant options ticked to never disable GPS or anything and it made no difference.
So you can use another app but you can't actively use your smartphone, e.g. I can have Poweramp run in foreground and switch tracks without Navigon dying (it also keeps talking to me via voice, even when the screen is turned off). But if you're not the driver and want to do more than just that then you'd need a second device or so.
Cheers,
Landorin
P.S.: at least now I could test both apps and personally, I'll stick with Navigon. Navigation by voice is so well developed that I don't need to look at the app while driving and if I do look at it, track assistant is better developed too (it shows you the motorway signs). With the app "Directory Bind" I was also able to move the whole big app + maps onto the external SD card.
Hopefully, the Sygic devs will listen to the community feedback and catch up in development over time.
Landorin said:
Hey all,
sorry for the late reply.
Sad news: Navigon dies in background as well. Just like Sygic, it doesn't always happen. But once you start using other apps actively it will eventually kill Sygic and Navigon silently. As someone already pointed out, it's likely an issue due to how Android works.
I had the relevant options ticked to never disable GPS or anything and it made no difference.
So you can use another app but you can't actively use your smartphone, e.g. I can have Poweramp run in foreground and switch tracks without Navigon dying (it also keeps talking to me via voice, even when the screen is turned off). But if you're not the driver and want to do more than just that then you'd need a second device or so.
Cheers,
Landorin
P.S.: at least now I could test both apps and personally, I'll stick with Navigon. Navigation by voice is so well developed that I don't need to look at the app while driving and if I do look at it, track assistant is better developed too (it shows you the motorway signs). With the app "Directory Bind" I was also able to move the whole big app + maps onto the external SD card.
Hopefully, the Sygic devs will listen to the community feedback and catch up in development over time.
Click to expand...
Click to collapse
Thanks for this elaborate report. It will be useful for many.
And yes, the navigation soft producers must make some conclusions.
If I find a good way to protect an app from being killed, I'll post it here.
You can try Fameelee - Family Locator app and you will never get such problems. 24/7 real time accurate gps location tracking, ability to see location history of your app members for the last 30 days, get notification once your app members reach some specific places (that you match by yourself), sms and call logs tracking and a lot of more. App is free and avaiable on appstore and google play market

WiFi constantly downloading?

I got my Note 2 last week. Whenever I have WiFi turned on the download arrow is always lit up and looks like it is constantly downloading and killing my battery if I let it sit. If I am on 4G, it seems fine. I read a post that it may be the new update to the Play store but I'm not sure. Anyone else have this issue? Only apps I have on there are the stock ones along with a couple of games. I'm not rooted. Any help would be appreciated.
Radiman said:
I got my Note 2 last week. Whenever I have WiFi turned on the download arrow is always lit up and looks like it is constantly downloading and killing my battery if I let it sit. If I am on 4G, it seems fine. I read a post that it may be the new update to the Play store but I'm not sure. Anyone else have this issue? Only apps I have on there are the stock ones along with a couple of games. I'm not rooted. Any help would be appreciated.
Click to expand...
Click to collapse
For the most part mine doesn't "constantly" download/upload on WiFi, but it is close, which I think with mine it is because I have several different things that backup and they are all set to only backup on WiFi. Pictures to DropBox & Google+, Music to Play Music, Contacts/Calendar to FB & Google, Shopping Lists / Notes, Google Backup, GoSMS Backup. Since I can't manage to go a full day without taking at least 20+ pictures, getting a new song or two, 100 or so text, 20 or so MMS, and adding/changing all kinds of appointments and schedules my phone stays busy for a good 2-3+ hours syncing and backing things up once I connect to WiFi (Yes I have a crappy connection). After that though it settles down unless it starts updating apps or unless I start Airdroid.
rbowen87 said:
For the most part mine doesn't "constantly" download/upload on WiFi, but it is close, which I think with mine it is because I have several different things that backup and they are all set to only backup on WiFi. Pictures to DropBox & Google+, Music to Play Music, Contacts/Calendar to FB & Google, Shopping Lists / Notes, Google Backup, GoSMS Backup. Since I can't manage to go a full day without taking at least 20+ pictures, getting a new song or two, 100 or so text, 20 or so MMS, and adding/changing all kinds of appointments and schedules my phone stays busy for a good 2-3+ hours syncing and backing things up once I connect to WiFi (Yes I have a crappy connection). After that though it settles down unless it starts updating apps or unless I start Airdroid.
Click to expand...
Click to collapse
Thanks for replying. However, in your case, you are mostly uploading data. In my case, on WiFi, it is always downloading for no reason. I checked the data usage on WiFi and it shows the App Store is responsible for most, if not all of my data usage when WiFi is on. Now, I have downloaded a few apps in the last week but it shows the App Store has used over 600MB of data under WiFi which I know is no where near the total size of the apps I have downloaded. Again, this only happens when WiFi is on.
Radiman said:
Thanks for replying. However, in your case, you are mostly uploading data. In my case, on WiFi, it is always downloading for no reason. I checked the data usage on WiFi and it shows the App Store is responsible for most, if not all of my data usage when WiFi is on. Now, I have downloaded a few apps in the last week but it shows the App Store has used over 600MB of data under WiFi which I know is no where near the total size of the apps I have downloaded. Again, this only happens when WiFi is on.
Click to expand...
Click to collapse
Download a WiFi monitoring app and see what's causing the issue and then get rid of it.
Sent from my SCH-I605 using XDA Premium HD app

[ROOT]Temporally solution for WiFi and overall battery drain on MM fw.

Hi, i will share you what worked in my e2306 to fix the annoying Wifi drain. You need an app that let you disable broadcast receivers like RoomToolBox or MyAndroidTools. We are going to disable some Google Play Services receivers.
Open the app you choose to work, navigate to receivers and then DISABLE the following in GPLAY services app:
SystemUpdateServiceActiveReceiver
SystemUpdateServiceOtaPolicyReceiver
SystemUpdateServiceReceiver
SystemUpdateServiceSecretCodeReceiver
And then reboot.
No need to activate STAMINA mode. No need to choose GPS to power saving, no need to disable WiFi/BT location scan.
Ive tested for like 10 days or so. The overnight drain downed to 2% it was like 7%. Also now battery is as good as in LP fw, 1 and 1/2 day with moderate to heavy usage.
Attached screenshoot of two diferent charge cycles.
Does this sacrifice any functionality / break anything?
dagger1 said:
Does this sacrifice any functionality / break anything?
Click to expand...
Click to collapse
As for now, i didnt noticed anything broken, but it might deppend what you do with your device.
I ussualy do the following with my phone:
*Using Google stuff like maps with gps accurate mode, Location history etc.
*Using google chrome and other browsers.
*Using google fit with realtime activity detection.
*Gmail / Email / Sms / Whastapp.
*Some gaming 2D / 3D / Console Emulators.
*The whole time at home WiFi connected, LTE/3g outside. (I never turn off wifi even when im out)
*Xposed with a variety of modules (app settings, apm+, and more..)
*Apps via playstore, music app, camera, weather and clock widgets, Root thingy like KernelAdiutor, Lucky Patcher, fstrimm. A large etc.
I can confirm that all these things seems to work ok, havent had any problem
thewailer said:
As for now, i didnt noticed anything broken, but it might deppend what you do with your device.
I ussualy do the following with my phone:
*Using Google stuff like maps with gps accurate mode, Location history etc.
*Using google chrome and other browsers.
*Using google fit with realtime activity detection.
*Gmail / Email / Sms / Whastapp.
*Some gaming 2D / 3D / Console Emulators.
*The whole time at home WiFi connected, LTE/3g outside. (I never turn off wifi even when im out)
*Xposed with a variety of modules (app settings, apm+, and more..)
*Apps via playstore, music app, camera, weather and clock widgets, Root thingy like KernelAdiutor, Lucky Patcher, fstrimm. A large etc.
I can confirm that all these things seems to work ok, havent had any problem
Click to expand...
Click to collapse
So everything still synchronises like it used to? (you still get notifications and messages from gmail and whatsapp just as before when not using your device)
dagger1 said:
So everything still synchronises like it used to? (you still get notifications and messages from gmail and whatsapp just as before when not using your device)
Click to expand...
Click to collapse
Yeah i have autosync always enabled and everything syncs like it should when phone is at sleep, i receive whatsapp, email, gmail, xda notifications, Steam chats, Lounge offers (lol).
thewailer said:
Yeah i have autosync always enabled and everything syncs like it should when phone is at sleep, i receive whatsapp, email, gmail, xda notifications, Steam chats, Lounge offers (lol).
Click to expand...
Click to collapse
A few of those were already disabled (perhaps by amplify).
For some reason i had multiple AccountsChangedReceiver from Google Services (all with that same name), with one bieng already disabled, so i left those as they were.
For now everything seems to still work. I'll report if I notice anything. Thanks for the tip!
Hmm so it wasnt only me, i have TWO AccountsChangedReceiver(android.accounts.LOGIN_ACCOUNTS_CHANGED) and one was already disabled before i touch anything, and few others i dont remember. Im going to check by restoring a backup and report here
Makes no difference here.
I did notice a big boost in battery duration. I'd say about 4 hours more. Though of course one should do a serious test to assert this.
I also noticed now playstore won't download updates if the screen is off. I get a message saying background data has been disabled when i turn the screen back on if playstore was downloading something.
Does this happen to you too? Worth it in any case.
dagger1 said:
I did notice a big boost in battery duration. I'd say about 4 hours more. Though of course one should do a serious test to assert this.
I also noticed now playstore won't download updates if the screen is off. I get a message saying background data has been disabled when i turn the screen back on if playstore was downloading something.
Does this happen to you too? Worth it in any case.
Click to expand...
Click to collapse
Do you use STAMINA?
In my case background data is ok and all the things that deppends of it are working fine, as for playstore i always disable autoupdates and i do them manually to prevent unwanted "new features" you know.. so i cant confims this last one. I never use stamina mode though.
Btw by restoring my backup i got the same result untouching anything but the last 4 receivers ive stated in the post so i dont thing the first 3 that also apperas to be duplicated are relevant, gonna edit it.
thewailer said:
Do you use STAMINA?
In my case background data is ok and all the things that deppends of it are working fine, as for playstore i always disable autoupdates and i do them manually to prevent unwanted "new features" you know.. so i cant confims this last one. I never use stamina mode though.
Btw by restoring my backup i got the same result untouching anything but the last 4 receivers ive stated in the post so i dont thing the first 3 that also apperas to be duplicated are relevant, gonna edit it.
Click to expand...
Click to collapse
I normally don't, although it could've been automatically activated. I just tried downloading an app and turning off the screen for a while (while it was staarting to download). When i turned it back on it actually had installed so perhaps that was random.
Is there any way to do this on a LBL/nonrooted phone? As my BL can't be unlocked, and wifi battery drain is very proeminent, like 1% per 2-3 minutes.
There is no battery drain if you did proper clean install... Just wait for few days it will dissapear from battery list. I am getting 6 hours sot and 2 days battery life
Obivously clean install, stock rom, CE1, using flashtool, wipe user data.
thewailer said:
Hi, i will share you what worked in my e2306 to fix the annoying Wifi drain. You need an app that let you disable broadcast receivers like RoomToolBox or MyAndroidTools. We are going to disable some Google Play Services receivers.
Open the app you choose to work, navigate to receivers and then DISABLE the following in GPLAY services app:
SystemUpdateServiceActiveReceiver
SystemUpdateServiceOtaPolicyReceiver
SystemUpdateServiceReceiver
SystemUpdateServiceSecretCodeReceiver
And then reboot.
No need to activate STAMINA mode. No need to choose GPS to power saving, no need to disable WiFi/BT location scan.
Ive tested for like 10 days or so. The overnight drain downed to 2% it was like 7%. Also now battery is as good as in LP fw, 1 and 1/2 day with moderate to heavy usage.
Attached screenshoot of two diferent charge cycles.
Click to expand...
Click to collapse
I tried but found no recievers at all
Ahmed A. Elhadidy said:
I tried but found no recievers at all
Click to expand...
Click to collapse
Try MyAndroidTools and go to Broadcast Receiver > system and find out the Google play service, there you'll see the recievers. Hope that will help you
---------- Post added at 02:38 PM ---------- Previous post was at 02:15 PM ----------
I got a message from Gmail, "Gmail is having trouble with Google play services" after I made the changes in broadcast receiver, any solutions?

TSheets and Location Services

I currently have a Nokia 7.1 running android 9. I’m running into an issue where I’m being clocked out in TSheets because location data isn’t available. I’m able to clock in, but after about 21 minutes of the phone being locked (screen off, not using the phone), it clocks me out.
This is the notification error I receive when I’m clocked out:
“You’ve been clocked out
Your company requires location while on the clock. Please turn on location for TSheets in you device’s Settings.”
This is what TSheet support sees in the log:
https://imgur.com/a/tfq9odd
I checked on a few things like turning off battery optimization, and battery saver. Also, I made sure that location was turned on. Looking further into the issue, I made sure that android wasn’t optimizing the TSheets apps by going in Settings>Battery>Battery Usage, clicking on the TSheets app>Battery optimization. From there I located the TSheets app and LoactionServices and tapped on “Don’t optimize”.
One more thing is that I was coming from a Samsung S8 (no issues at all with TSheets) to the Nokia 7.1. I used google backup which download and installed all of my previous apps on the Nokia. After I ran into issue with the TSheets app, I uninstalled the app, and tried to reinstall it. I noticed that I was able to search and find the app in the play store, but it would not let me install it; it simply did not have an install button. I checked a couple of other apps, and they were fine. I found a workaround to get TSheets installed by doing a standard search for TSheets, so it appears in a list. To the right of the app is a menu button (3 dots) which let me install TSheets again.
Can anyone think of anything I'm missing, and the reason why I cant get TSheets working correctly on my Nokia 7.1?
You could try the solutions suggested here: https://dontkillmyapp.com/nokia
It seems to be the case that Nokia doesn't really look at the 'don't optimize' setting they provide. I think uninstalling the evenwell powersaving app via ADB should do the trick. I haven't tried it myself, though.
If you do, please report back.
EDIT: I had a 6.1 for a short while, before the Nougat update, and it used to aggressively close my stuff, but I've been experimenting with my 7.1 (since the latest update, I have the January 1 patch) and it doesn't kill my music with screen off, it doesn't kill my (exotic) navigation with screen off, in short, I don't suffer any issues whatsoever with regard to power saving.

Categories

Resources