Disable Battery Optimization - OnePlus 6T Questions & Answers

So it looks like there are many people having issues with the battery optimization feature, which lets me guess oneplus is already aware of the problem. My question is if there is a way to disable the optimization completely for now until oneplus has sorted things out.
Since the last update it is so aggressive, it kills youtube's connection to my chromecast every few minutes, rendering all control features unuseable as I always have to reconnect before I can do anything. This also makes my wearOS watch unuseable as it also depends on the phone keeping the connections alive.

You can turn off Optimization for YouTube and WearOS
Settings > Apps & Notifications > Special app access
You can turn off optimization for any app, and see the advanced in the 3 dot menu. I had the same problem with my watch, turned off the watch app and helper, now works great. I also turned off messenger, no problems now.
Sent from my iPad using Tapatalk

I also would like to know if this is possible in an easy way. I don't want to disable it for 256 apps independently.

Aircraft800 said:
You can turn off Optimization for YouTube and WearOS
Settings > Apps & Notifications > Special app access
You can turn off optimization for any app, and see the advanced in the 3 dot menu. I had the same problem with my watch, turned off the watch app and helper, now works great. I also turned off messenger, no problems now.
Sent from my iPad using Tapatalk
Click to expand...
Click to collapse
Thanks for the reply!
That setting was the first thing I checked and already disabled optimization for the wearOS and cast apps which work fine now. Unfortunately it won't let me disable it for the youtube app as it handles that one as a system app. As long as youtube is not allowed in the background wearOS has nothing to communicate with so I still can't control it.
That's why my next thought was if I can't disable it for system apps maybe there is a way to completely disable it until oneplus has the problem solved. I know that solution would suck but at the moment I am forced to use another phone to use youtube properly which sucks even more imo.

boelze said:
Thanks for the reply!
That setting was the first thing I checked and already disabled optimization for the wearOS and cast apps which work fine now. Unfortunately it won't let me disable it for the youtube app as it handles that one as a system app. As long as youtube is not allowed in the background wearOS has nothing to communicate with so I still can't control it.
That's why my next thought was if I can't disable it for system apps maybe there is a way to completely disable it until oneplus has the problem solved. I know that solution would suck but at the moment I am forced to use another phone to use youtube properly which sucks even more imo.
Click to expand...
Click to collapse
I wonder if the system mover app works on Pie and YouTube? I didn't realize YouTube was a system app since it's from the play store.
https://play.google.com/store/apps/details?id=de.j4velin.systemappmover

Aircraft800 said:
I wonder if the system mover app works on Pie and YouTube? I didn't realize YouTube was a system app since it's from the play store.
https://play.google.com/store/apps/details?id=de.j4velin.systemappmover
Click to expand...
Click to collapse
I would love to try this but I am unrooted. Youtube should be on the list but it is not, I am guessing that is because it comes preinstalled, the playstore app isn't there as well for example.

I know this is an old thread, but the more I use my new phone, the more I believe this to be the issue with my Gmail app constantly putting my Exchange accounts back to 30 minute fetch. And, I cannot disable battery optimization on Gmail because it's a system app (and I do not want to root). For now, every other day, I have to tell the device that it really is OK for Gmail to remain constantly connected to my Exchange account, that I actually prefer it to be. I've made it to 54 hours with my normal use (OVER 7 HRS S.O.T), not trying to stretch it at all, no battery saving features on whatsoever. So it's safe to say I can afford for Gmail to stay connected with Exchange. The optimization is a bit too aggressive for not allowing system apps to be excluded.
I've also had issues with Google Assistant not reminding me about reminders that are clearly in the list of her reminders, and I think this to be the culprit as well, and again, can't disable it because it's not on the list.

cannothas said:
I know this is an old thread, but the more I use my new phone, the more I believe this to be the issue with my Gmail app constantly putting my Exchange accounts back to 30 minute fetch. And, I cannot disable battery optimization on Gmail because it's a system app (and I do not want to root). For now, every other day, I have to tell the device that it really is OK for Gmail to remain constantly connected to my Exchange account, that I actually prefer it to be. I've made it to 54 hours with my normal use (OVER 7 HRS S.O.T), not trying to stretch it at all, no battery saving features on whatsoever. So it's safe to say I can afford for Gmail to stay connected with Exchange. The optimization is a bit too aggressive for not allowing system apps to be excluded.
I've also had issues with Google Assistant not reminding me about reminders that are clearly in the list of her reminders, and I think this to be the culprit as well, and again, can't disable it because it's not on the list.
Click to expand...
Click to collapse
Having exactly same problems with gmail and chrome (html5 push notifications). I am rooted. So I am considering to mark those apps as non system apps, but still not sure if this won't brake future updates or something.

Related

always running service: Media > DownloadService

hi guys, I always see Media > DownloadService in running apps.. why it is running all the time? and, being running all the time, is it supposed to drain my battery faster?
I have always lived with that, but if it drains my battery faster I would like to get rid of it..
EDIT: it seems to me it is related to GMAIL.. in fact, after a reinstall, download service process was not there until I started gmail for the first time.. now it is always there again..
can you guys using gmail confirm you have media download service always running?
and people who has not gmail installed can confirm they don't see that process always running? thanks!
moly82 said:
hi guys, just a question.. is that normal that I always see maps in running apps? I use maps once per month or even less, so why it should be running all the time? (maps > PrefetcherService)
and, being running all the time, is it supposed to drain my battery faster?
I have always lived with that, but if it drains my battery faster I would like to get rid of it..
the same happens also for "media" (media > DownlodService..... what is that? can I remove it?) and google play music (MusicPlaybackService)
it is really annoying for me to see them always running even when I am not using them....
any suggestion? thanks in advance!!
Click to expand...
Click to collapse
It happens with me too. I used Greenify and it stopped appearing until the 4.1.6 play store update. Now maps opens automatically almost every 2 minutes. You might not get a significant change in battery life. You can remove google play music though. I don't know about the media download service, might be related to browser or google play music (I recommend not removing it).
thanks for the answer. I tried greenify too and it seems to correctly remove maps here.. (I too have play store 4.1.6, will update to 4.1.10 in a short time btw )
about play music.. I use it, so I can't remove it! btw I greenified it too, so it shouldn't bother anymore
so the only pending problems are media service and also play store (pendingnotification service) that is appearing sometimes in running apps.. unfortunately they are system apps so I can not greenify them
The pendingnotification service might have appeared because of the option to notify you of an update. And yes, the pro version has that feature of hibernating system apps (but its experimental) and god knows what might happen if you do.
of course I disabled the notification and auto update via WiFi options and rebooted but the service kept appearing in running apps sometimes..
as x the media running service, it seems I fixed it removing mediauploader.apk it has not appeared again so far after removing that package!
so all seems good now thanks all!
Sent from my MB526 using Tapatalk 2
EDIT: media downloadservice is back again so it was not related to mediauploader... what the hell can be that??
it seems to me it appeared after running gmail for the first time.. but I will have to confirm that after some more investigations..
after some more attempts, i found out the process: media > DownlodService is related to both gapps and Downloadprovider.apk
if I remove Downloadprovider.apk, that process doesn't appear anymore, but I get gapps FC's (and very probably will not be possible to download anymore things from the browser and/or play store)
so in conclusion it seems to me we have to live with that process running, and that is not possible to really get rid of it safely..
Yup, made that mistake of deleting Downloadservice.apk... Drove me nuts with FCs
so nobody could get rid of that process? you too have it always running?
moly82 said:
so nobody could get rid of that process? you too have it always running?
Click to expand...
Click to collapse
:silly: Strangely, no, its not always running for me.
It seems to run when I download something in a browser and then disappears after 15 minutes or so
after a reinstall it seems to me it is related to gmail.. in fact download service process was not there until I started gmail for the first time.. now it is always there again..
can you guys using gmail confirm you have media download service always running?
and people who has not gmail installed can confirm they don't see that process always running? :fingers-crossed:
thanks
it seems to me after I installed latest maps 7.x the media > download process is not appearing anymore in running processes.. maybe it was related to sh*tty maps??? :fingers-crossed: :fingers-crossed:

battery drains very fast with Google Services, Android Apps and Android Core System

Hey guys, me again, I have a problem over here one day my phone starts to consume a lot of battery, at first it was the contacts application, then logsprovider, then contact manager, finder application provider and in some cases the android application system, all that I consume the phone, one day is a day other which I can do, since I heated phone use and the battery runs out very quickly.
I have already installed the firmware twice with odin and after a few hours back the same, I've done factory reset and nothing working.
Andr3s said:
Hey guys, me again, I have a problem over here one day my phone starts to consume a lot of battery, at first it was the contacts application, then logsprovider, then contact manager, finder application provider and in some cases the android application system, all that I consume the phone, one day is a day other which I can do, since I heated phone use and the battery runs out very quickly.
I have already installed the firmware twice with odin and after a few hours back the same, I've done factory reset and nothing working.
Click to expand...
Click to collapse
Go to Maps settings and turn off location reporting in Google locations setting. Also in Google+. Then go to your Gmail account in settings, long press on your email and uncheck all services you don't want to sync.
xuser said:
Go to Maps settings and turn off location reporting in Google locations setting. Also in Google+. Then go to your Gmail account in settings, long press on your email and uncheck all services you don't want to sync.
Click to expand...
Click to collapse
Fine thanks, also use the application Greenify
The new Android Device Manager location finder seems to be the culprit a lot of time now. If you are in a low signal area or have bad gps reception this new app that was pushed to the phone can suck down your battery. You have to disable this feature through the Google settings app in your app drawer.
cruise350 said:
The new Android Device Manager location finder seems to be the culprit a lot of time now. If you are in a low signal area or have bad gps reception this new app that was pushed to the phone can suck down your battery. You have to disable this feature through the Google settings app in your app drawer.
Click to expand...
Click to collapse
Has anyone found a solution to this problem? I'm still getting major battery drain from Google Services even with location reporting unchecked and device manager turned off. I don't have this problem on CM10.2, only TW (currently on stock MF9), even though I use the same setup on both roms. Any other tips?
Sent from my SPH-L720 using XDA Premium 4 mobile app
http://forum.xda-developers.com/showthread.php?t=2357417
This is a way to lower usage from Google framework
Sent from my SPH-L720 using Tapatalk 4
I was finally able to take care of the problem. If you force stop Google Play Services and clear the app's data, then force stop the Play Store and clear the app's data, then reboot, it seems to take care of it.
Sent from my SPH-L720 using XDA Premium 4 mobile app
thanks maxpower7, your reply helped. I was also having battery drain problems suddenly. I cleared the Google Play Services cache en some other things, like disabling location services. Now all is ok.
I did have these services enabled before without any problems.

Calendar notifications not working

So my calendar notifications have been weird since the day I got my S8, they only seem to work when it feels like working..
I've just missed an appointment because I didn't get a notifications (I set 3), is there a solution?
Two things I found online, first one worked for a day or two, second one apparently did the trick:
Disable battery saving per app - you have to do this for each app you don't get notifications from
https://android.gadgethacks.com/how-to/fix-delayed-notifications-your-galaxy-s8-s8-0177437/
Disable Google app - apparently Google app causes problems, so you have to disable it. Just the Google app, nothing else by Google.
Also you have to check enabled notifications: Settings - Notifications - Calendar
WM_Rizzo said:
Two things I found online, first one worked for a day or two, second one apparently did the trick:
Disable battery saving per app - you have to do this for each app you don't get notifications from
cannot quote this because of forum rules
Disable Google app - apparently Google app causes problems, so you have to disable it. Just the Google app, nothing else by Google.
Click to expand...
Click to collapse
I've started a new thread about this one.
Do you mean disable google in settings->applications->application manager->google app (it is now saying disabled on my device).
I'm curious if this is gonna do the trick. I'll try and come bazck if it does not.
I't is strange that there are not MORE people complaining about this, maybe no one uses calendar apps.
I have the same issue on my note 8, I try everything to make the calendar notifications working but nothing seems to work.
I've search for a solution all around the web but there's no way...
I'm having the same problem from day one! I hoped Oreo fw wouldn't have this problem anymore but unfortunately it's still there. It's driving me nuts!
How the hell did Samsung not fix this already? Calendar application should be one of the most important apps in a smartphone. Yet it's totally unreliable and there is no solution for this! It probably has something to do with aggressive power saving.
Anyone found a way to fix this?
Sent from my SM-G950F using Tapatalk
My solution to this and whole lot of other notifications is disabling Doze through adb:
Code:
adb shell dumpsys deviceidle disable
Mehmedalija said:
I'm having the same problem from day one! I hoped Oreo fw wouldn't have this problem anymore but unfortunately it's still there. It's driving me nuts!
How the hell did Samsung not fix this already? Calendar application should be one of the most important apps in a smartphone. Yet it's totally unreliable and there is no solution for this! It probably has something to do with aggressive power saving.
Anyone found a way to fix this?
Sent from my SM-G950F using Tapatalk
Click to expand...
Click to collapse
macBart said:
I've started a new thread about this one.
Do you mean disable google in settings->applications->application manager->google app (it is now saying disabled on my device).
I'm curious if this is gonna do the trick. I'll try and come bazck if it does not.
I't is strange that there are not MORE people complaining about this, maybe no one uses calendar apps.
Click to expand...
Click to collapse
Well, I have the same problem, and I tried everything with samsung center, because I have J5 (2017) android 7.0 OS, but they did not help in any way. I found solution on forums, that works for me, and it is app on google play named "calendar notifier". It automaticly sinc with your calendar, and it plays any sound you choose for alarming, until you dissmiss it. It may happend that you hear 2 sounds, one from calendar it selfe, and one from calenad notifier, but you will not miss the appointment....
Any updates?
Has anyone heard of a forthcoming solution on this?
My only "fix" has been to disable the Google App except that app is how I launch commands for Google Home. Without it I cannot use my phone to take actions for my smart home devices. So it's a bit of an inconvenience for me. Plus surely there are people out there that like using the native google search capability on their phone while still getting notifications from apps.
I say from apps by the way as it's not just an issue exclusive to my calendar. When I have Google enabled it works for a while, but then will stop and many things stop. Text notification indicators, facebook notification indicators, calendar appointment notifications etc.
Do we need to be contacting Samsung support through their website or have people done this and it just doesn't help?
It's a bug in Android and it will be solved in next big update hopefully. Until then workaround is to use this app:
https://play.google.com/store/apps/details?id=com.github.quarck.calnotify
Read more about this problem here:
https://support.google.com/calendar/forum/AAAAd3GaXpEFzD9Y6ojci4/?hl=en
https://android-review.googlesource...iders/CalendarProvider/+/528295/?polygerrit=1
https://android.googlesource.com/pl...er/+/1f4773948f99c9460f2b3b397d87dc4aeb87d73e
Mehmedalija said:
It's a bug in Android and it will be solved in next big update hopefully. Until then workaround is to use this app:
https://play.google.com/store/apps/details?id=com.github.quarck.calnotify
Read more about this problem here:
https://support.google.com/calendar/forum/AAAAd3GaXpEFzD9Y6ojci4/?hl=en
https://android-review.googlesource...iders/CalendarProvider/+/528295/?polygerrit=1
https://android.googlesource.com/pl...er/+/1f4773948f99c9460f2b3b397d87dc4aeb87d73e
Click to expand...
Click to collapse
FANTASTIC INFO. Thank you. Glad to see it's in the works for correction. Seemed like quite a large issue to have even happened and not being repaired quickly. But I suppose I don't know the complexities of what caused this or the best solution to fix it. Just seems like a lot of people rely on calendars and appointment reminders not working would be a big **** storm for them.
Just chiming in to let you know I'm having the same problem on my Note 8! It was working for a few months and then stopped! Tried clearing cache, data, and many other "fixes" that I've since forgotten. Nothing works. Recently got the Oreo update and SAME problem!! Really annoying! Maybe it's Google sabotage?! They are trying to control everything! Btw, downloaded the Google calendar app but I don't like it!
I had used successfully the adb doze disable on command prompt but my phone just "upgraded" to Oreo 8.0.0 and now my calendar notifications have stopped working again!!! I had a functioning calendar finally but now it's gone again!!! I ran the adb command line again (adb shell dumpsys deviceidle disable) but still no notifications! I cleared data, checked the app wasn't optimized and reverted to stock calendar but nothing! Does anyone know another command line to stop this doze crap in 8.0.0??? This is why I dread EVERY "upgrade"! How could they take this away from me again???!!! I used to love Samsung but now I hate it!!!
I did the device doze disable using SDK tools and this worked for months then it stopped notifications again... sometimes! Besides making calls this is the number one thing I need from my phone and it still doesn 't work! Anyone ever find a solution to this because I still need one! Using Android 8.0! I was using Calendar Events app, worked for a while then quit. Same with Calendar Notifier and Calendar Snooze app. Plus a number of other apps designed to work with the calendar. I've been relying on my calendar since my Galaxy S2!
I stopped using calendar notifications because of this issue. I have very spotty wifi and mobile data, I found that calendar notifications would only work with a data connection. Typically, I'd set a notification, but remember the appointment anyway. About 10 minutes in the car, data finally connects, the 30 minute old notification finally goes off....
It's a dismal state of affairs when the consumer becomes the software tester with such an essential device.
Well,this is weird. My Whatsapp notifications weren't working. When I set the notification in the app ,you can select the app that chooses the file eg Chomp(SMS), Audio files,Themes,Music.
Intutively, I chose Audio files, and that appears to work, but Whatsapp produced no sound on incoming messages. When I chose Chomp to select the MP3 file, it seems to work OK. I'll play a bit more and report back.
Cheers
Steve

Phone not receiving real time notifications

Hi, I have an OP5 on stock Open Beta 5, I'm currently rooted.
Apps that usually have real time notifications or functions don't seem to work until I manually start them after bootup, or even don't work at all.
For example, my mail app now doesn't give me notifications, rather I would have to open up the app manually and refresh the app to see my mail load. Other apps like a notification mirroring app don't work at all until I launch it once on my phone every restart.
I thought it was like Greenify shutting these processes down but I've uninstalled that since. Any ideas?
erak606 said:
Hi, I have an OP5 on stock Open Beta 5, I'm currently rooted.
Apps that usually have real time notifications or functions don't seem to work until I manually start them after bootup, or even don't work at all.
For example, my mail app now doesn't give me notifications, rather I would have to open up the app manually and refresh the app to see my mail load. Other apps like a notification mirroring app don't work at all until I launch it once on my phone every restart.
I thought it was like Greenify shutting these processes down but I've uninstalled that since. Any ideas?
Click to expand...
Click to collapse
Did you reboot and wipe cache? What mods did you use additional? Please give more details about your setup.
You can also exclude apps from battery optimization for keeping this apps awake even when doze kicks in so messages came always through and not only in specific time periods.
strongst said:
Did you reboot and wipe cache? What mods did you use additional? Please give more details about your setup.
You can also exclude apps from battery optimization for keeping this apps awake even when doze kicks in so messages came always through and not only in specific time periods.
Click to expand...
Click to collapse
Hi, I'm currently rooted with Magisk. I tried excluding the app from battery optimisation and so far it's been working.
erak606 said:
Hi, I'm currently rooted with Magisk. I tried excluding the app from battery optimisation and so far it's been working.
Click to expand...
Click to collapse
If it's not working please answer the other questions too

Gmail notification issue - Mi 9T

Is anyone else having problems with Gmail (which comes pre-installed as a system app on the Mi 9T) not showing notifications until the phone is "awoken"?
I have accessed developer options, turned off miui optimization, I started Gmail and locked it to recents tab, I turn off battery optimization for Gmail & I manually turned on notifications. I can't autostart the Gmail app as it is a system app and apparently it automatically autostarts. But notifications still will not come through until I "wake" the phone by using it for something else.
I don't have issues with other "push" apps like WhatsApp - only Gmail.
Do others have the same issue? Can anyone recommend a fix?
Me too...
But it's not very often and sometimes affects other apps like WhatsApp etc as well.
Any fix to this?
Its a power saver issue. I think it's with all apps. If an app is awake you get notifications if you close it you get notifications for a while then its put to sleep. I noticed it with Instagram DMs and even though I set Instagram to be (no power restrictions) it still gets put to sleep! this is a really annoying issue! What's a "mobile" phone without instant notifications??
Same here. Gmail notifications are delayed for 2-20 minutes, but when I turn screen on (even without unlocking) notification shows immediately. Do you find any fix?
Just delete it as a system app through Xiaomi ADB/Fastboot tool and install the google play store version. In this way you can set off the power saving miui management
pfornaro said:
Just delete it as a system app through Xiaomi ADB/Fastboot tool and install the google play store version. In this way you can set off the power saving miui management
Click to expand...
Click to collapse
Already done, no effect.
My pixel didn't send a gmail notification until after turning the screen on too, it's probably not a device issue at least.
pfornaro said:
Just delete it as a system app through Xiaomi ADB/Fastboot tool and install the google play store version. In this way you can set off the power saving miui management
Click to expand...
Click to collapse
Off topic. For some other reason, I tried uninstalling Google photos via Fastboot tool and when I try to install from play store, it just gets enabled in a second; which means ultimately it didn't delete the system package; just hidden it.
Anybody came across the same issue?
mrumais said:
Anybody came across the same issue?
Click to expand...
Click to collapse
Yes, I uninstalled GMail and install it from Google Play - installation was finished in second.
Set Gmail to auto start and make sure it has no battery savings mode applied to it
Gmail is a system app and there are no options to set it to start automatically or change battery restriction.
Removing it via abd does not work.
Btw is this a MIUI issue due to battery "optimization" or android in general?

Categories

Resources