How to keep an app from "Dozing"? - Nexus 6 Q&A, Help & Troubleshooting

I wish to keep my Gmail app from Dozing so under Battery Optimization I configured it to not be optimized. That doesn't work. After an hour or so (maybe less) I am not alerted to any incoming emails (and Gmail doesn't sync) until I wake up the phone. Gmail works fine except when Dozing. Totally stock unrooted Android 6.0 on Tmo. Phone and all apps work great. I wonder if I need to configure any of the other system apps to not Doze in order to allow Gmail to not Doze?
Any ideas?

sure, write an app that doze, or ask the developer of that app not to let it doze. other than that, keep waking your phone up.

Related

Using K-9 mail on Nexus One for the first time

What settings are good in order to save as much battery as possible? I am using it only for IMAP idle for my school email. But it seems that this app is draining slightly more battery than I have expected.
I set folder poll frequencey to never.
Push fodlers to Only 1st class folders (whatever that means)
Sync server deletions checked
Download headers checked
Poll when connecting for push - checked (<- do I need it?)
Refresh IDLE connection (<-every 24 minutes [what does it do??])
Background sync: When "background data" and "auto-sync" are checked.
Any other settings that I should turn off? I simply need this app to get instant emails. No fancy sync'ing needed.
If you only want to keep your Inbox synced, it should basically default to that. The rest will be set to 2, and by default won't sync. Just compare the default Folder settings to the settings in the Options to see what's push (idle) and what's pull/poll.
K9 is no different than any other client in this regard, just gives you options to set lots of things.
If you're going from NO data being online and active to K9, sure, you're going to see quite a bit more battery usage. This is simply due to the phone not sleeping as much, data connection up, and the data being periodically active. IMAP Idle will go to sleep for up to 24 minutes by default, you can try to make it longer but your server might disconnect you. If you already had something else up, like an IM program that isn't using the Push method in Android or such, I doubt you'd see much increase.

Calendar in cm7: no "visible, not sync" option?

As many of us know, the google calendar sync process can be huge headache that results in battery drain in the form of the ambiguous "Android OS." Interestingly, even if we choose to manually sync entries, there is no option within the calendar for "visible, not sync." Thus we are forced to keep sync running if we want to see calendar entries. Terrible design. I tried a few third party calendar apps but when you sync them, the stock calendar syncs as well and shows up as "synced, visible" once again. I would like to have my data visible and sync when I please. Seems like this should be easy to do. Perhaps this option hasn't been important for CM7 on other devices because those using phones rather than tablets have access to data transfers almost always, whereas we have to rely on WIFI to sync. How have others worked around this issue? Is there a way to submit a CM7 request for future builds?
In the meantime, you can try ShutUp Battery Saver to schedule syncing. Makes the automatic syncing alot more bearable.
Sincitybronze said:
As many of us know, the google calendar sync process can be huge headache that results in battery drain in the form of the ambiguous "Android OS." Interestingly, even if we choose to manually sync entries, there is no option within the calendar for "visible, not sync." Thus we are forced to keep sync running if we want to see calendar entries. Terrible design.
How have others worked around this issue?
Click to expand...
Click to collapse
See my response to your request in the CM7 general thread. I use Calengoo and turn off autosync and use "Synker" to set up a manual calendar sync widget.
Thanks for the ideas, guys. I'm not really concerned about having auto-sync. I'm happy to sync manually. I did purchase calengoo and this seems to be a nice alternative to the stock calendar. It has a manual sync feature built into the primary menu. I set it up so that it pulls calendar info from the Google calendar directly rather than going through the Android interface (which I disabled). When I set up an appointment, the sync button is right there to manually integrate the data with the Google server. Works great and hopefully there will be no more headaches with the syncing and battery drain.
Also, the popup reminders in calengoo are really great to have. The reminder on a homescreen rather than the status bar is cool.
You are right. I didn't know what capabilities Calengoo even had. I too completely disabled my Android calendar and set Calengoo up for google calendar only. Turned off completely the google android calendar sync. The sync button on the menu makes it so I don't have to use "Synker" either. You can even set Calengoo to sync on a schedule you set manually if you want.
I even went so far add to "freeze" the google calendar and calendar storage apps with Titanium Backup so that they do not load or run. So far no issues for having done that.
leapinlar said:
I even went so far add to "freeze" the google calendar and calendar storage apps with Titanium Backup so that they do not load or run. So far no issues for having done that.
Click to expand...
Click to collapse
I thought about doing that, too, but I finally stopped freezing apps as a last attempt to improve battery life because some unidentified frozen app was indirectly related to the failure of the device to suspend properly. With no frozen apps (I just hide them with launcherpro so I don't have to think about them!), wifi enabled and set to off with screen off, and the crappy stock calendar turned off, I'm at 23 hours on battery, with 3 1/2 hours display time, and 46% battery left. This is much more acceptable.

[Q] mail sync

I am using the simple email app included, Gmail is disabled. Using arhd 10.1 but this problem was here long before with original stock.
I guess I have already tried all possible combinations to have the mail sync, maybe someone else has an idea on how this works if at all.
In settings I tried the smart sync, then each number of minutes, whatever I put in there, the only way to have the mail query the server is to manually open the application. For instance, I send myself an email from desktop, my ipad picks it up in a matter of seconds, I mean the fu$#er is in sleep mode, cover on, then I almost instantly hear that notification sound. The One however, I could wait all day, no sign it knows about it.
I have 2 email accounts configured, yahoo and Gmail, I also tried to add one at a time, nothing seems to help.
Thanks for any idea on how to make it work or any suggestions on a third party app?
Sent from a pizza
Smartsync takes time to build a database of data about your usage and when to check for email. For Gmail the best bet is the Gmail app, which will get almost instant push notifications.
cschmitt said:
Smartsync takes time to build a database of data about your usage and when to check for email. For Gmail the best bet is the Gmail app, which will get almost instant push notifications.
Click to expand...
Click to collapse
I'd rather be using only one app for my email accounts - - the stock mail for instance.
It's just that no sync mode seems to work, be it smart or not
Sent from a pizza
millicent said:
I'd rather be using only one app for my email accounts - - the stock mail for instance.
It's just that no sync mode seems to work, be it smart or not
Sent from a pizza
Click to expand...
Click to collapse
like the guy said above. smart sync needs to build a repour before it will know when to check. its not having information pushed to it like the gmail app is. your best bet is to use the 2 separate apps since each individual app has the ability to push emails immediately while HTC's smart sync or manual sync is just basically timed sync-ing. its just that smart sync is timed to how the phone learns your usage?
syaoran68 said:
like the guy said above. smart sync needs to build a repour before it will know when to check. its not having information pushed to it like the gmail app is. your best bet is to use the 2 separate apps since each individual app has the ability to push emails immediately while HTC's smart sync or manual sync is just basically timed sync-ing. its just that smart sync is timed to how the phone learns your usage?
Click to expand...
Click to collapse
As I said the manual mode doesn't work either.
I am going to try k9 for now..
Sent from a pizza
Okay, I think the problem might be elsewhere: the k9,same as mail doesn't seem to sync either. I have tried this over wifi and data, in power settings the sleep mode is disabled, I even disabled power saver.
Does email synchronization works for anyone excepting gmail users?
I am going to enable gmail, see how that behaves with sync..
Sent from a pizza
Manual mode as in your in the mail app and request it to refresh? And the email still doesn't come through? Not sure then.. I used smart sync for a while then I found it to not update fast enough for my needs. But it did always work.
Sent from my Nexus 7 using Tapatalk 4 Beta
The mail app syncs over wifi, I found out. Yes, it took a while (set it up to check at 5 minutes.). However, it still doesn't work when screen is off.
While on data only, the whole sync is very conservative. Unless I open up myself the mail thing it doesn't bother to refresh. In fact, the only thing synchronizing over data is weather from BW widget, but even then I am afraid it only refreshes itself when opening the screen. Ah, and Google play, I get notifications over mobile data as well.
I mean I used to want this conservative data behavior when on 100mb data plan, however now I have 3gb to spend and having trouble with email notifications?
I suspect there might be a misbehaving app will try reinstalling everything and one app at a time..
Sent from a pizza
Does this help?
http://forum.xda-developers.com/showthread.php?t=2267281
penultimate post.

Battery drain

Hello,
My battery drains crazy fast (see screenshot) what can be the cause of this??
Well can you provide the advanced settings -> battery manager -> consumption level statistics?
Here ya go
Well, looks like Facebook is draining a lot. I see it right that it drained the battery from 100% to 50% in 4 hours, 14 min without using the phone much? What is your SOT (Screen on time)? And did you change the Protected App list?
I would suggest uninstall facebook and try if it gets better.
I use Swipe instead of the official Facebook app.
It works great and saves battery.
Try unprotecting FB in battery manager settings, ive left FB messenger protected, seems to work for me.
Some of the things I have done to reduce battery drain
1. All apps are kept in protected mode. As long as i don't kill any app, the notifications for whatsapp and facebook still come through. From my experience,it better to not kill any app and let it run in the background in protected mode.
2. Switch off the huawei backup app
3. Google photos/Flickr : change option to sync only when charging.
4. Google location history : switch to off
5. Security: Apps with usage access: off google play
6. Google sync: off the auto sync apps I don't use: I have switched off Chrome(i feel its a security risk), Drive, Google fit data, play books, movies and tv,play music, people details.
7. Use a different default browser : I use Yandex with Adguard
8. Disable the built in Email app and use the Gmail app for your exchange accounts.
9. Advanced Data management: Stop access for some apps like Google play store, backup translate, Emui updater, photos,videos etc. These apps have frequent wakelocks if allowed mobile data access.

Question CN version in US: minor problems

Google Play was installed out of the box. i downloaded all apps through there.
-google contacts not syncing.
-i get no push notifications like from the Ring app, youtube or ESPN. i did tap on allow when i first opened the apps.
-is there any way to get google news to appear when i swipe left on home screen?
google photos, maps, play store, stadia all seem right.
maybe there’s a solution. i read through older threads and didn’t find one.
any help appreciated.
I noticed that the preinstalled play store sometimes does not work properly. I had to reset device completely. Play services are part of the rom and available right after reset, I just had to download and install the play store itself.
Google Play Store 25.5.27-21 [0] [PR] 375135971 (nodpi)
43.43 MB (45,537,921 bytes)
As for notifications, you might wanna disable or delete the power save app from vivo and enable staying connected all time.
If you factory reset your phone, the first app to download from the vivo appstore is Gboard, which will prompt you to download Google play. I logged in to my google account afterwards and have no issues syncing to all my contacts, calendars etc
For notifications not appearing, a lot of users experience problems with the vivo provided power management app (com.vivo.pem) cause it interferes with how your apps sends notifications or frequency of push notifications to save power. You may use adb to disable it or uninstall. Hope this workaround addresses your push notification issue
i fixed the contacts and calendar (also had no calendar entries) sync issues. i went to APKMirror.com through chrome and downloaded the latest Google Play Store. I had version 24... on my phone and the latest was 26... I installed it through chrome and it installed over the existing app. I uninstalled calendar and contacts and re-installed them. calendar worked immediately on opening. but contacts didn’t. i went back to APKMirror.com and downloaded and installed Google Contacts Sync. I now have my contacts.
to get the push notifications working I went to Settings -> Applications and Permissions -> Permission management -> Permission - Background pop-ups and none of my installed apps were toggled on. since enabling them, I have received a couple of notifications with the phone in my pocket. maybe the vivo power management app is still causing problems because im not getting most notifications.
can someone point me to learn about "adb". I've seen that in a few places here and i don’t know what it is. im a long long time android user since google's first t-mobile phone but ive never had a need to tweak.
thanks for the help so far. just need to get my notifications and im pretty much all set.
so my only goal today was to install adb on my mac and "learn" how to use it and hopefully disable com.vivo.pem
installed on mac, enabled developer mode on x60, have access to device...
using: adb shell pm disable com.vivo.pem I got an error message
using: adb shell pm disable-user com.vivo.pem i got a successful prompt
when charging my phone and having the apps opened in the background (ESPN, Ring, Fast Mail) I do get push notifications. also get them while using the phone with the apps open in background. but with phone sleeping and in my pocket i get nothing. any ideas?
my issues are basically resolved. hopefully this will help others. I read in another thread to enable "mobile data always on" in the developer settings. as long as i have the apps open in the background, i now get push notifications when the phone is sleeping and in my pocket.
Which carrier are you using in the states? And do you have volte or vowifi?
im using it with tmobile. i don’t know how to check for volte or vowifi. i don’t actually use for phone calls. maybe make 1 or 2 calls a year. lol
Hi
I have a problem with google message. I can't send photos over 300kb
And now with encrypted RCS I can't send photos at all to a person using google RCS message too.
Any clues

Categories

Resources