Battery optimization - problems with background sync - Nokia 7 Plus Questions & Answers

Hi
First of all I have the chinese variant. So I don't know if the settings are a little different than on the global variant.
On Oreo I found two different battery settings.
The first one is in Apps&notifications - See all apps - select an app - Battery - Battery optimization. If the developer adjusted his app for Oreo battery optimization, you can select this. In some cases you can also activate "Background activity" here. I have no idea what these settings mean exactly and how they influence background sync and activity.
The second settings are in Battery - Background activity manager. There you can active "Auto Active" and "Lock Screen" per App.
So let's talk about my issue. If I set "battery optimization" in the first settings, it will disable background sync in the corresponding app. For example I open Google Calendar, active sync there, close the app. Open it after maybe 30min it will tell me sync is disabled. Also with this setting I won't get any Whatsapp messages if the app isn't in the foreground.
If I activate both options in the second setting it will work. What I don't get: With some apps these options change the first setting. Some apps stay at "battery optimization" and some apps fall back to "not optimized"
However I think with these settings the apps use more battery.
Anyone tried these settings? And tested the different possibilities?
Why is it so hard to do battery optimization and still get push messages in Gmail oder Whatsapp? Why I have to manually change settings to get this working?
Thanks for your answers!

Obvious step is to set every possible app to battery optimization mode (that's your first one). It's not possible to turn this on for every app (some simply needs to stay on all the time). Battery optimization doesn't disable sync for apps immediately, but only when device is in deep sleep. Also u can blacklist some of them (that's your second option) which drain more battery even with optimization option turned on. Try to blacklist apps which u don't use so frequently and u don't need to check for notifications so often.
I use those settings, keep few apps that need more of my attention, rest is blacklisted.

Related

[Q] Integrated facebook blocks background task FB app?

Hi all,
Got my 8X few days ago, and I ran into a weird issue. I noticed that the Facebook App notifications weren't working. I did however receive tile count on the Me-tile. I had a look in settings and I noticed that the background task for facebook app was blocked. The "turn on background back on for this app next time I open it" was checked, by even after starting app, or restarting phone, and starting app the task was still blocked.
After re-installing the facebook app the task got the allowed status. Everything worked, counts on tile and lockscreen, lockscreen photo background, etc... But then I noticed Facebook account in Settings/E-mail+accounts had 'not up to date' status. When I clicked 'show password' I got ******* instead of my password. Correcting the password and updating the account resulted in facebook app background task being blocked again.
I hope I'm making sense here... Anyone can reproduce this or is it only me?
Thank you in advance,
Grtz
Lukas
I too noticed that Facebook was blocked as a background task, but, my push notifications have worked perfectly despite it being blocked.
I decided to uninstall and re-install it to see if I could get it unblocked like you have, and when i check the background tasks settings, Facebook is no longer listed there. Keep in mind that background tasks do not control push notifications. Push notifications and background tasks are separate features of the phone. You can have push notifications running, and not have background tasks.
I assume Facebook uses background tasks to change the lockscreen wallpaper (if you enable this), and that's about it. Background tasks specifically allow a very limited set of operations for a specific amount of time at specific intervals of time. They can only do what the Windows Phone 8 SDK allows them to do, which is not a whole lot, but usually just enough to make it seem like your application is always doing something in the background.
Thnx for your reply prjkthack.
I was wrong in assuming this was an issue, and your post pushed me in the right direction.
I think it's like this:
1. no background task: fb app not installed, or installed but no lockscreen settings configured ("not now" while in the startup wizard)
2. blocked background task: you've used the lockscreen fb background, but switched that off, and are currently using another lockscreen. That's why the task is blocked.
3. allowed background task: you are using the fb wallpaper on your lockscreen.
Thank you for clarifying that background task have nothing to do with push. Did not realise that.
Thnx,
Lukas

Push notifications disabled

Hello everyone
I turned off all battery saving endeavors that I'm aware of:
1- Settings > battery & performance > power > battery saver > OFF
2- Settings > battery & performance > power > battery use > more > battery saver > turn on automatically > OFF
I noticed that after pressing more, if you select the second option: battery optimization
It lists apps that are either optimized or not optimized (that you can optimize)
I noticed that what's app & gmail were optimized by default.
Maybe that explains why their push notification was turned off overnight?
If you click the settings icon in the power section, it opens a menu. In that menu there's an option:
Clear cache when device is locked:
You have the option from setting it trigger from 1 minute, to 30 minutes or never.
What cache are they referring to?
3- under developer options
I turned off MIUI optimization
I left 'memory optimization' on low
Maybe the 'low' turned off push notifications during the night?
So, how is miui optimization different from memory optimization?
I noticed that this morning I did not receive what's app or gmail notifications till I opened each individual application.
This is a huge issue because I need push notifications to be like their namesake: PUSHED
CorruptedSanity said:
I left 'memory optimization' on low
Maybe the 'low' turned off push notifications during the night?
Click to expand...
Click to collapse
Set that to off.
ChodTheWacko said:
Set that to off.
Click to expand...
Click to collapse
I just did
CorruptedSanity said:
I just did
Click to expand...
Click to collapse
Did it work? Also try this:
http://www.forbes.com/sites/bensin/...ions-on-xiaomis-miui-8-for-real/#1ff853ea4e1b
Let us know what works exactly, thanks!
ChodTheWacko said:
Did it work? Also try this:
http://www.forbes.com/sites/bensin/...ions-on-xiaomis-miui-8-for-real/#1ff853ea4e1b
Let us know what works exactly, thanks!
Click to expand...
Click to collapse
I don't know 😀
I'll find out throughout the day though, I guess.
I did also turn off:
I noticed that after pressing more, if you select the second option: battery optimization
It lists apps that are either optimized or not optimized (that you can optimize)
I noticed that what's app & gmail were optimized by default.
Maybe that explains why their push notification was turned off overnight?
Click to expand...
Click to collapse
In the above, I turned off optimization for those apps.
So, now I won't know whether memory optimization in developer options or whether battery optimization will resolve it.
Well. No more disabled push notifications.
Either this resolved it:
under developer options
I set 'memory optimization' on off
Or this
I noticed that after pressing more, if you select the second option: battery optimization
It lists apps that are either optimized or not optimized (that you can optimize)
my wechat/messenger/pebble all work fine.
Gmail for some reason isn't automatically syncing so it doesn't receive the messages.
This is incredibly frustrating.
I read that the gmail app from google play works better than the one in the mi app store.
I uninstalled the mi one, installed the google play one, and that worked.
I also noticed that in my flailing about, I turned on the 'WLAN only" option in settings->sync, which was a bad move. (not my root cause though).
I added everything I tried (and I did a lot) to my FAQ.
CorruptedSanity said:
Well. No more disabled push notifications.
Either this resolved it:
under developer options
I set 'memory optimization' on off
Or this
I noticed that after pressing more, if you select the second option: battery optimization
It lists apps that are either optimized or not optimized (that you can optimize)
Click to expand...
Click to collapse
Apparently it didn't work.
I slept at about 11 pm
I woke up this morning to notifications from about 1 am
Then when I opened the app, I received messages from 2 am and onwards.
I checked the above settings. They were the same as before.
Very weird. Discomforting experience.
Try my suggestions in the thread to disable MIUI optimizations to reslove late/missing notifications problem:
underlines said:
Disable MIUI battery saver and fix missed/late notifications
Settings > Battery & performance > Manage apps' battery usage > Off
Settings > Battery & performance > Power > Battery saver > Battery saver toggle off
Settings > Notifications & status bar > App notifications > select apps that can show floating notifications and notifications on lockscreen
Security > Permissions > Auto start > select apps that should get notifications after reboot
Security > Settings icon > Cleaner settings > Clean automatically > turn off / Update automatically > turn off
Click to expand...
Click to collapse
Security > Settings icon > Cleaner settings > Clean automatically > turn off / Update automatically > turn off
This is the only one I hadn't done
Let's see
Ok some bad news
Today morning gmail was disabled
It could've spay been disabled yesterday but I didn't notice
I went to bed at 10 pm
Woke up at around 1 am
I found what's app enabled
But gmail was disabled
When I entered gmail, the last email received was a little after 11 pm
Then it refreshed & I saw emails from 12 am & 2 am
I fell asleep again & awoke again at around 4am
Same thing
Then finally woke up at around 6 am and the same thing happened
But since waking up & continuously using my phone, gmail is working fine. Emails are pushed.
It's surprising because I replicated the what's app settings to gmail.
Therefore they should be behaving the same.
Try this app
https://play.google.com/store/apps/...gcm&pcampaignid=APPU_1_YWdIWJ2-JML3vgSk-6qQDg
Ok
It turned out gmail was not synchronizing
See photo
I restarted that device & that resolved it
Why do you suppose that happened?
CorruptedSanity said:
Ok
It turned out gmail was not synchronizing
See photo
I restarted that device & that resolved it
Why do you suppose that happened?
Click to expand...
Click to collapse
I'm not 100% but I think because google framework is installed, not part of the stock system,
that stuff like 'Google play services' has to be "kept active"' (autostarted, etc, etc) the same as wechat/gmail/etc.
CorruptedSanity said:
Hello everyone
I turned off all battery saving endeavors that I'm aware of:
1- Settings > battery & performance > power > battery saver > OFF
2- Settings > battery & performance > power > battery use > more > battery saver > turn on automatically > OFF
I noticed that after pressing more, if you select the second option: battery optimization
It lists apps that are either optimized or not optimized (that you can optimize)
I noticed that what's app & gmail were optimized by default.
Maybe that explains why their push notification was turned off overnight?
If you click the settings icon in the power section, it opens a menu. In that menu there's an option:
Clear cache when device is locked:
You have the option from setting it trigger from 1 minute, to 30 minutes or never.
What cache are they referring to?
3- under developer options
I turned off MIUI optimization
I left 'memory optimization' on low
Maybe the 'low' turned off push notifications during the night?
So, how is miui optimization different from memory optimization?
I noticed that this morning I did not receive what's app or gmail notifications till I opened each individual application.
This is a huge issue because I need push notifications to be like their namesake: PUSHED
Click to expand...
Click to collapse
I am facing the same issues wirh mi mix 2s. Even when selecting all notifications ON from the application notification, it is forgetting it.
No notification sounds, no notifications unless i open the apps..... That sucks!!
Aprentice_ said:
I am facing the same issues wirh mi mix 2s. Even when selecting all notifications ON from the application notification, it is forgetting it.
No notification sounds, no notifications unless i open the apps..... That sucks!!
Click to expand...
Click to collapse
I noticed that some themes can disable the push notifications. Perhaps you should try all the tweaks mentioned here when you are in the default theme first? Also, if you are in MIUI 10, some themes show a warning that they are not compatible with Miui 10 and that some parts of the "system" may not work properly. Did you get this message?

Led notification Problem Mi 8

Hi guys, i have a notification problem with mi 8..the LED works on 70% of the notifications but 30% does not let me see, I noticed that there is a connection between many notifications and few, when I receive maximum 2/3 most of the time the LED lights up, while I get more than 3 starts not to light up anymore ... it's not always like that, but for many times yes. Obviously I also tried the wipe cache and dalvik, but nothing...same issue with 10.0.6 and last 8.10.25 (xiaomi.eu). On application settings and led notification setting is all "ON", no power saving in these apps. Anyone can help me?
Update:
After several tests I found that the same problem is repeated for the vibration when notifications are received, sometimes it vibrates sometimes not.
djmarcomb said:
Hi guys, i have a notification problem with mi 8..the LED works on 70% of the notifications but 30% does not let me see, I noticed that there is a connection between many notifications and few, when I receive maximum 2/3 most of the time the LED lights up, while I get more than 3 starts not to light up anymore ... it's not always like that, but for many times yes. Obviously I also tried the wipe cache and dalvik, but nothing...same issue with 10.0.6 and last 8.10.25 (xiaomi.eu). On application settings and led notification setting is all "ON", no power saving in these apps. Anyone can help me?
Update:
After several tests I found that the same problem is repeated for the vibration when notifications are received, sometimes it vibrates sometimes not.
Click to expand...
Click to collapse
I think you are having your first encounter with MIUI's default features. Go to Settings > Installed apps, select the app or apps for which you want to "fix" the notifications for and tap Notifications. From here, select the feature or features you want to receive notification for and how to receive them (Notification light, vibration, etc). When I say features for this, well every app has it's own set of different components to notify you of. For example, Facebook has several options to choose, lets say you only want vibrations and LED for comments and friend requests, you can set those to only provide the notification light or vibrations when you receive them. Gmail on the other hand has few options relating to the types of notifications you receive (since obviously it's only related to email and there are no comments or friend requests on it). Each app has it's own set and you can control what or how you get notifications. If you are still seeing that you are not getting notifications on time or so on, then the default power saving feature may also need adjusting. Go to Settings > Battery & performance > Choose apps and select the app or apps you want to "fix" the notifications for and select the option called "No restrictions". The default setting is useful for saving power, but this also stops certain apps from displaying notifications as soon as you get them (there is a delay which I still don't know if it is random or if it is every hour, few hours or so). Not all apps abuse your battery, but of course some do, such as Facebook which can be annoying if you receive lots of comments, uodates, etc.
Crossvxm said:
I think you are having your first encounter with MIUI's default features. Go to Settings > Installed apps, select the app or apps for which you want to "fix" the notifications for and tap Notifications. From here, select the feature or features you want to receive notification for and how to receive them (Notification light, vibration, etc). When I say features for this, well every app has it's own set of different components to notify you of. For example, Facebook has several options to choose, lets say you only want vibrations and LED for comments and friend requests, you can set those to only provide the notification light or vibrations when you receive them. Gmail on the other hand has few options relating to the types of notifications you receive (since obviously it's only related to email and there are no comments or friend requests on it). Each app has it's own set and you can control what or how you get notifications. If you are still seeing that you are not getting notifications on time or so on, then the default power saving feature may also need adjusting. Go to Settings > Battery & performance > Choose apps and select the app or apps you want to "fix" the notifications for and select the option called "No restrictions". The default setting is useful for saving power, but this also stops certain apps from displaying notifications as soon as you get them (there is a delay which I still don't know if it is random or if it is every hour, few hours or so). Not all apps abuse your battery, but of course some do, such as Facebook which can be annoying if you receive lots of comments, uodates, etc.
Click to expand...
Click to collapse
es, the problem is that I have already set all this that you tell me, but many times loses the LED notifications / vibration too often. Could you make me a screen of the notifications app installed section of ex. whatsapp (which I always use) so I copy preferences? maybe there are conflicts, if you activate one thing the other does not work well etc. otherwise I do not know what to think ..

get Tasker to notify me on full battery?

I would like to user Tasker to play a sound if the battery is full.
Yes its set to manually and always allow in the background activity settings, and disallowed from the battery optimization.
So I created a task "music play" selected my notification sound (if I test it with the play button I hear it). Then made a "Battery full" profile to trigger that. But nothing is happening. Is there a better way?
I don't know if this will help but the app, Accubattery sets off an alarm when your phone charge reaches your desired level

Remove BBS "Event Processing" Notification

How can I remove the BBS Event Processing notification in my status bar? I know BBS is running, I check it all the time. I've got BBS 2.6 running on LOS 14.1.
BTW I stopped the NFC partial wakelocks on my phone using the Xposed module DeepSleep, which lets you disable individual wakelocks and alarms. Almost doubled my battery life!
Can't you disable (hide) the notification via Android Settings? That's what I would do. What I actually do is change it's category to Silent and then enable minimise to shade. That way it remains visible, but is tucked away in the shade subtly.
navinthomas said:
Can't you disable (hide) the notification via Android Settings? That's what I would do. What I actually do is change it's category to Silent and then enable minimise to shade. That way it remains visible, but is tucked away in the shade subtly.
Click to expand...
Click to collapse
Yes, that is what I eventually did, but I dislike disabling a notification from Settings because it isn't easily traceable later. I prefer the app to be "polite" enough to offer a disable notification option.
As far as I am aware, such apps need to have a constant notification so that they can keep running in the background. Tasker also does the same thing. Therefore, you most likely will not get an option to disable, since it is necessary to keep that notification enabled at all times.

Categories

Resources