What does "background restriction" actually do? - Android Q&A, Help & Troubleshooting

I searched for this but couldn't find anything. Hopefully it hasn't been answered before.
What doe the "Background restriction" option under "Manage Batter Usage" do for an app? I ask because I have selected this option for Instagram but as it stands, the app has been in "active use" for 4 minutes. It has been in working "while in background" for 16 minutes. It seems to me that if it is restricted, it shouldn't be active in the background at all. Am I just interpreting this incorrectly?
My goal has been to have a version of Instagram that only operates when I have it in the foreground. I have no desire to be notified of anything, nor do I want it to preload things. Is there no way to have an app prohibited from operating in the background? I thought this option would do it.
Thanks for any information you can provide.
If it matters, I have a pixel 3 xl on stock Android 10. The same issue occurred in Android Pie as well. I see this on my wife's Essential Phone too, so I don't think it is device-specific.

Related

[Q] Data usage tracking in ICS - "Android OS?"

Just got my first ICS phone. I'm looking at the data usage analysis tool, and I see that the vast majority of my data usage falls under the heading "Android OS", which sounds pretty generic. Is that some catch-all meaning "anything which doesn't fall under something else", or is it something more specific which I could easily control? What does "Android OS" mean in the context of Data Usage?
Thanks!
Okay, I may have found what was taking up so much of my data. All this time, I've had Android's "Backup/Restore" feature enabled. I've ALWAYS kept that feature enabled, because all along I thought it was what kept my Google contacts synced. I've disabled it, and then edited a contact on my phone, and low-and-behold, it synced the change. Maybe this is something everyone but me knows - but at least now I've learned! I bet disabling this feature will reduce my data usage greatly.

[Q] Killed app keeps reappearing

Hi folks,
I have a peculiar problem. I'm using Tasker to kill some apps. One of the apps has a persistent notification icon and it refuses to be killed (even with root). The notification icon is gone for a second but will always come right back. Using pstree I tried to find out if there was a watchdog process keeping the app alive, but I found none. Also it is not hooked to any events according to Autorun manager. A force close under "app management" always works.
What is going on?
This seems like an answer that has been asked before. So off course I have searched. I found similar questions (examples: http://forum.xda-developers.com/showthread.php?t=1854858 http://forum.xda-developers.com/showthread.php?t=2040841 ) but no answers.
Who can help me? I'm really at a dead-end.
what app is it? Some apps (especially system apps) can't be closed, and if does gets killed, OS programs it to restart almost immediately after it's been killed.
Preaper said:
Hi folks,
I have a peculiar problem. I'm using Tasker to kill some apps. One of the apps has a persistent notification icon and it refuses to be killed (even with root). The notification icon is gone for a second but will always come right back. Using pstree I tried to find out if there was a watchdog process keeping the app alive, but I found none. Also it is not hooked to any events according to Autorun manager. A force close under "app management" always works.
What is going on?
This seems like an answer that has been asked before. So off course I have searched. I found similar questions (examples: http://forum.xda-developers.com/showthread.php?t=1854858 http://forum.xda-developers.com/showthread.php?t=2040841 ) but no answers.
Who can help me? I'm really at a dead-end.
Click to expand...
Click to collapse
This is actually Android-by-design. Apps are supposed to be killed from time to time to conserve resources (e.g. memory), and also restarted transparently to the user. This is handled by the ActivityManager. You can view it as Android swappes app's instead of swapping memory. This to improve the real time performance of the device. When someone calls you, you don't want to wait half a minute for the phone to swap out Angry Birds before it can load the Phone app ...
Hence, killing app's will most often only give very short term effect.

Android Killing Apps

Hi guys, I wanted to confirm on a rather not so surprising behaviour of Android. My phone specs are in the signature. So basically, the title says it all. I have observed that Android is very good at killing inactive apps. For example, I run a game and pause it. I then tap on the home button or open some other app (can still see the game in the recent apps list). After few minutes, I tap on the game from the recent list and not to my surprise the game runs as though launched from the launcher for the first time and the game progress is not saved.
The same behaviour is observed with the Firefox browser. I visit a particular site and come out of FF and access some other apps and after few mins when FF is opened from the recent apps, I see that the page that I was on is reloaded. Android does not manage minimized apps like Windows properly. Is this intentional or can be changed somewhere in settings? I should add that I have disabled battery usage setting in my phone's settings and have also have turned off "MIUI optimization" and "Memory Optimization" in Developer settings. Moreover the option "Don't Keep Activities" is also turned off so not sure why does it still kill the apps.

Mate 10 Pro - broken notificattions

Hi guys, I have serious issue with my Mate 10 Pro. I started to notice, that my phone is not notificating me about new e-mails (gmail and outlook apps), new messages (hangouts) or reminders (to-do app). I Googled everything about this but nothing helped. I set background apps to "manage manually" and turned on "Ignore battery optimisation". I have also locked the apps in multitasking and added widgets to home screen. Nothing helped.
Also I have noticed that during the night all apps are gone from multitasking. What is going on? I never had such issue with any Android phone or tablet before.
Can anybody help me please?
yurij666 said:
Hi guys, I have serious issue with my Mate 10 Pro. I started to notice, that my phone is not notificating me about new e-mails (gmail and outlook apps), new messages (hangouts) or reminders (to-do app). I Googled everything about this but nothing helped. I set background apps to "manage manually" and turned on "Ignore battery optimisation". I have also locked the apps in multitasking and added widgets to home screen. Nothing helped.
Also I have noticed that during the night all apps are gone from multitasking. What is going on? I never had such issue with any Android phone or tablet before.
Can anybody help me please?
Click to expand...
Click to collapse
Which firmware do you have
I had same issues with some apps but now, it works fine, at least with apps I'm using
sonydesouza said:
Which firmware do you have
I had same issues with some apps but now, it works fine, at least with apps I'm using
Click to expand...
Click to collapse
8.0.0. 125 (C432), no update avaliable
yurij666 said:
8.0.0. 125 (C432), no update avaliable
Click to expand...
Click to collapse
I have 127-C432 o'er update from 115-C432.
Never had 125 ?
sonydesouza said:
I have 127-C432 o'er update from 115-C432.
Never had 125 ?
Click to expand...
Click to collapse
I have single SIM version, from Orange with data plan. I would try factory reset but I consider it as a last resort
yurij666 said:
I have single SIM version, from Orange with data plan. I would try factory reset but I consider it as a last resort
Click to expand...
Click to collapse
Ahh.
Ok.
Bloody hell orange ?
Your problem is very likely being caused by Huawei's by-default aggressive battery optimisations.
There are two sections of settings to look at in fixing this;
1. To stop critical (to you) apps being forcibly closed, go to SETTINGS -> BATTERY -> LAUNCH, change your selected apps from "automatic" to "manual" and make sure "Run in Background" is enabled for them.
2. To allow critical (to you) apps to continue running with the screen off, go to SETTINGS -> APPS & NOTIFICATIONS -> APPS -> SETTINGS -> SPECIAL ACCESS -> BATTERY OPTIMISATION, change "Not Optimised" to "All" at the top of the screen, then set your critical apps to "Not Optimised."
It's a true pain that it's a two-fold process in different sections of the settings and that they're so tedious to get to, but once you've discovered where they are, it (sort of) makes sense.
Cephalus said:
Your problem is very likely being caused by Huawei's by-default aggressive battery optimisations.
There are two sections of settings to look at in fixing this;
1. To stop critical (to you) apps being forcibly closed, go to SETTINGS -> BATTERY -> LAUNCH, change your selected apps from "automatic" to "manual" and make sure "Run in Background" is enabled for them.
2. To allow critical (to you) apps to continue running with the screen off, go to SETTINGS -> APPS & NOTIFICATIONS -> APPS -> SETTINGS -> SPECIAL ACCESS -> BATTERY OPTIMISATION, change "Not Optimised" to "All" at the top of the screen, then set your critical apps to "Not Optimised."
It's a true pain that it's a two-fold process in different sections of the settings and that they're so tedious to get to, but once you've discovered where they are, it (sort of) makes sense.
Click to expand...
Click to collapse
I have already done these two steps. Didn't work. For example this morning I checked my phone, no notification. I opened gmail app, suddenly there is big 7 next do my new e-mails. Even then there was no notification in status bar.
yurij666 said:
I have already done these two steps. Didn't work. For example this morning I checked my phone, no notification. I opened gmail app, suddenly there is big 7 next do my new e-mails. Even then there was no notification in status bar.
Click to expand...
Click to collapse
Have you checked that the app has notification permissions? SETTINGS -> APPS & NOTIFICATIONS -> NOTIFICATIONS MANAGEMENT
This is admittedly a far stretch as by default all apps should have notification permissions, but it's worth a try - and unfortunately is the only remaining idea I have.
Cephalus said:
Have you checked that the app has notification permissions? SETTINGS -> APPS & NOTIFICATIONS -> NOTIFICATIONS MANAGEMENT
This is admittedly a far stretch as by default all apps should have notification permissions, but it's worth a try - and unfortunately is the only remaining idea I have.
Click to expand...
Click to collapse
Yes, did that too. Even set those apps to priority. I guess I will really have to try that factory reset. What also bothers me is, that sometimes I want to unlock the phone (fingerprint or button) I hear the unlock sound, but the phone lights up like 5 seconds later.
yurij666 said:
Yes, did that too. Even set those apps to priority. I guess I will really have to try that factory reset. What also bothers me is, that sometimes I want to unlock the phone (fingerprint or button) I hear the unlock sound, but the phone lights up like 5 seconds later.
Click to expand...
Click to collapse
I doubt that the factory reset will help you. Well, at least with the to-do app reminders part. As I've described in my post (https://forum.xda-developers.com/mate-10/help/local-notifications-t3737241), almost any to-do app fails to show the reminders (all possible optimization turned off, all permissions given), and it either has smth to do with our firmware, or with the apps not being adopted for the Oreo (some noticeable changes in notification API).
But if his phone takes 5 seconds to wake up, something is seriously wrong. I would highly recommend a factory reset if for nothing else than fixing the 5 second wake up time.
i have the same issue with almost all apps that i am using
did everything in google and still no luck
not sure is it app issue , huawei , android .... me ?
common i dont want to open and check all apps all the day to see if there is update or not just push it to me as soon as it get .
Same here, I have BLA-L09 8.0.0.128 (C432). I've tried all battery and notifications settings and I've also factory reset my phone. Google now does not update news, Gmail does not notify new emails, 3rd party widgets do not refresh, and the app for my car does not sync via Bluetooth (I have to remove the the BT profile and create it again to sync 1 time then stops)
I had the same problem with my previous phone (samsung note 3). It turned out to be due to IPv6 being enabled. Have you tried disabling it?
Cephalus said:
Your problem is very likely being caused by Huawei's by-default aggressive battery optimisations.
There are two sections of settings to look at in fixing this;
1. To stop critical (to you) apps being forcibly closed, go to SETTINGS -> BATTERY -> LAUNCH, change your selected apps from "automatic" to "manual" and make sure "Run in Background" is enabled for them.
2. To allow critical (to you) apps to continue running with the screen off, go to SETTINGS -> APPS & NOTIFICATIONS -> APPS -> SETTINGS -> SPECIAL ACCESS -> BATTERY OPTIMISATION, change "Not Optimised" to "All" at the top of the screen, then set your critical apps to "Not Optimised."
It's a true pain that it's a two-fold process in different sections of the settings and that they're so tedious to get to, but once you've discovered where they are, it (sort of) makes sense.
Click to expand...
Click to collapse
Thanks for this! I had already done #1, but #2 I had no clue about. It seems to have fixed the delay in notifications from the Outlook app.
Novi84 said:
Thanks for this! I had already done #1, but #2 I had no clue about. It seems to have fixed the delay in notifications from the Outlook app.
Click to expand...
Click to collapse
I wonder why Gmail is not listed as an app that can bypass the battery optimization?
jaseman said:
I wonder why Gmail is not listed as an app that can bypass the battery optimization?
Click to expand...
Click to collapse
Because its preinstalled app. Anyway both settings doesn't works. I'm selling this peace of **** phone because it has no use anymore. Worst phone ever.
Can't get notifications from most of apps. So why do I need a smartphone like this...
And even battery, doesn't lasts full day from the time I wake up, till I go to sleep. so Huawei is the last phone I ever bought.
so is there any chance to have this issue fixed ?
by update perhaps , can we contact them or complain so they notice ?
i really search about phones before i buy it and choosed this one from the e specs and reviews
but i didnt expect there is a (SMART)PHONE would have a problem like this at all it is unbelievable
and i dont want to sell it .. just want this issue to be fixed
Just a thought...I read here and elsewhere that putting widgets on your home screen helps notifications comes through due to the fact that the widget keeps the apps open. I did this with my Honor Note 8 and, along with the other bits of advice above, got most of my notifications to work.

EMUI 9.1 update - all notifications late or not appearing

I know this is a topic existing over internet, I've googled it extensively, but up to now I haven't found a solution.
I've got a non-pro Mate 10, the Chinese version AL-00, rebranded to International/Global ALP L-29.
Approximately two to three weeks ago I got an update from 9 to EMUI 9.1, and maybe a week later, another update as a security patch. The current version of the software is 9.1.0301 (C636E2R1P12).
After the system update, I normally updated all the apps that needed updating and cleaned the phone's cache from bootloader. And although now I once again receive notifications from Google play when an app needs updating (I stopped receiving those a while back for an unknown reason), I stopped receiving notifications for virtually any messaging service or social network, including Gmail app.
To be more specific, when using Gmail, Facebook Messenger, Viber, Whatsapp LinkedIn or some other, I do not get notified of new messages/posts/emails whatever, UNLESS I am using the phone at that particular moment, or unless I am using that specific app at that moment. That also applies for my bank's custom app which should normally notify me instantly as soon as some expense occurs on my card. A few times it even happened that I would receive and reply to a FB message, close the app and like an hour later would receive a notification that that specific person messaged me.
This only started happening after that last update.
I tried turning off battery optimization for each and every single of those apps, I tried switching App launch to manual. It literally makes no difference. Force stopping and cleaning the cache of the apps doesn't help as well.
While I could live with it when it comes to FB or LinkedIn, I cant have Gmail or FB Messenger holding my messages for so long without notifying me. I need them for my work and sometimes time is of the utmost essence.
Any help or advice would be greatly appreciated
EDIT: I just noticed that I'm having same problems with Google Keep app when using reminders
Please, guys, help!
neverone said:
I know this is a topic existing over internet, I've googled it extensively, but up to now I haven't found a solution.
I've got a non-pro Mate 10, the Chinese version AL-00, rebranded to International/Global ALP L-29.
Approximately two to three weeks ago I got an update from 9 to EMUI 9.1, and maybe a week later, another update as a security patch. The current version of the software is 9.1.0301 (C636E2R1P12).
After the system update, I normally updated all the apps that needed updating and cleaned the phone's cache from bootloader. And although now I once again receive notifications from Google play when an app needs updating (I stopped receiving those a while back for an unknown reason), I stopped receiving notifications for virtually any messaging service or social network, including Gmail app.
To be more specific, when using Gmail, Facebook Messenger, Viber, Whatsapp LinkedIn or some other, I do not get notified of new messages/posts/emails whatever, UNLESS I am using the phone at that particular moment, or unless I am using that specific app at that moment. That also applies for my bank's custom app which should normally notify me instantly as soon as some expense occurs on my card. A few times it even happened that I would receive and reply to a FB message, close the app and like an hour later would receive a notification that that specific person messaged me.
This only started happening after that last update.
I tried turning off battery optimization for each and every single of those apps, I tried switching App launch to manual. It literally makes no difference. Force stopping and cleaning the cache of the apps doesn't help as well.
While I could live with it when it comes to FB or LinkedIn, I cant have Gmail or FB Messenger holding my messages for so long without notifying me. I need them for my work and sometimes time is of the utmost essence.
Any help or advice would be greatly appreciated
EDIT: I just noticed that I'm having same problems with Google Keep app when using reminders
Please, guys, help!
Click to expand...
Click to collapse
I've the same updates like yours but mine has no problem
Sent from my BLA-L29 using Tapatalk
yap.rony said:
I've the same updates like yours but mine has no problem
Click to expand...
Click to collapse
Did you make a full system reset afterwards?
neverone said:
Did you make a full system reset afterwards?
Click to expand...
Click to collapse
Do you have root? Try freezing powergenie app, it should allow the notifications to come on time. The only issue is there might be a "slight" battery drain from more apps allowed to run in background. That was a dirty fix that worked even in emui 8/9 and peps seemed to have no issues even after the mod.
Since emui 9.1 introduces erofs file system, you'll have to either freeze the app in question everytime you reboot or create magisk module that during boot replaces contents of /system/app/HwPowerGenieEngine3 with empy folder - I'm not sure how removing odex files affects the thermals so I suggest just removing apk file and keeping everything else from the original directory intact if the temps and phone performance behave odly after doing this.
Feel free to give it a try, but I don't think it's actually worth doing it. The old forum post suggesting this mod actually overlooked the importance of power genie when it comes to temps + performance regulations across the board. Without it the temps will rise, phone won't supercharge and the performance will dip.
I'm actually playing around with this rn, trying to remove thermal limits on per app basis, if I come across anything I'll let ya know. Good luck
Have you made test on both mobile network and on WLAN? And what provider do you use with this phone? I see OP1 and VIP in your profile, probably outdated.
Rstment ^m^ said:
Do you have root?
Click to expand...
Click to collapse
Yeah, thanks, and I can see that you really wanted to help but no, I never rooted this phone, so I guess that all the tips you have for me are, unfortunately, in vain
Thanks though, for trying to help!
domy_os said:
Have you made test on both mobile network and on WLAN? And what provider do you use with this phone? I see OP1 and VIP in your profile, probably outdated.
Click to expand...
Click to collapse
Yep I did, sometimes switching between WiFi and mobile network does activate the apps to check for new messages/mail, and sometimes it doesn't. I haven't noticed any clear pattern.
And it must be difference between XDA forums and the app. I swear I switched it when I bought the Mate. But I'm still on VIP/A1
@neverone, go to Settings > Battery > More battery settings and switch on the option Stay connected when device sleeps. I didn't see you mention this somewhere, I switch this on after every factory reset.
domy_os said:
@neverone, go to Settings > Battery > More battery settings and switch on the option Stay connected when device sleeps. I didn't see you mention this somewhere, I switch this on after every factory reset.
Click to expand...
Click to collapse
No I haven't, but now that I checked, it was turned on all the time. However, knowing that sometimes this actually works, I toggled it off and back on several times and restarted the phone. I'll pay closer attention during the day to see if that helped and report back here. Thanks for the suggestion.
I too have this issue in my M10Pro specially in messenger. sometimes the chat icon doesn't appear even if i have an unread message.
domy_os said:
@neverone, go to Settings > Battery > More battery settings and switch on the option Stay connected when device sleeps. I didn't see you mention this somewhere, I switch this on after every factory reset.
Click to expand...
Click to collapse
cheeze.keyk said:
I too have this issue in my M10Pro specially in messenger. sometimes the chat icon doesn't appear even if i have an unread message.
Click to expand...
Click to collapse
Here's an update: Turning off and on the "Stay connected" option did not help at all, the real proof is that i received an email notification of cheeze.keyk replying to this thread, and I only saw it when I logged in on my PC. The phone did not notify me at all.
So the problem still persists, unfortunately. I am really hoping that I won't have to make a factory reset, although it is also uncertain if that would help at all.
totally bummed. my Mate 10 Pro screen just went crazy. It now has a bright green line all across the very bottom of the screen. And the whole screen now has a faint "screen door" effect going on. just enough to be irritating. I doubt I can live with it, but I loved this phone.
jimberkas said:
totally bummed. my Mate 10 Pro screen just went crazy. It now has a bright green line all across the very bottom of the screen. And the whole screen now has a faint "screen door" effect going on. just enough to be irritating. I doubt I can live with it, but I loved this phone.
Click to expand...
Click to collapse
I'm sorry that you're experiencing such issues, but I don't see the link between your issues, and the issues we're discussing here.
agreed. wrong thread. sorry
@neverone, another idea. Have you frozen some system apps, especially Google Play Services? Or maybe disabled in battery app launch or turned on battery optimization for Google Play Services and Google Services Framework?
domy_os said:
@neverone, another idea. Have you frozen some system apps, especially Google Play Services? Or maybe disabled in battery app launch or turned on battery optimization for Google Play Services and Google Services Framework?
Click to expand...
Click to collapse
These two screenshots show show which apps I have frozen/disabled and which of the Google based apps have and don't have battery optimisation activated.
This essentially hasn't changed since I bought the phone over a year ago. Do you think I should do something with these apps or change some of their settings?
Send also the complete screenshot of Settings > Battery > App launch > Three dots > Manage manually.
Did you restrict background data maybe? Settings > Wireless & networks > Data usage > Network access > in upper drop down menu switch to Advanced network settings > Tick all apps on both installed and system apps list.
And the last question, do you use Smart Data Saver? Settings > Wireless & networks > Data usage > Smart Data Saver
domy_os said:
Send also the complete screenshot of Settings > Battery > App launch > Three dots > Manage manually.
Click to expand...
Click to collapse
Here you go, attached. Hope you'll be able to read all the apps ?
domy_os said:
Did you restrict background data maybe? Settings > Wireless & networks > Data usage > Network access > in upper drop down menu switch to Advanced network settings > Tick all apps on both installed and system apps list.
Click to expand...
Click to collapse
Nope, all processes have an unrestricted background data ?
domy_os said:
And the last question, do you use Smart Data Saver? Settings > Wireless & networks > Data usage > Smart Data Saver
Click to expand...
Click to collapse
Nope, data saver has been turned off and moreover, most of the apps seem to be ticked as an exception if it ever gets turned on
Hope that you put all checkmarks on Google Play Services and all other apps you have notifications problem.
Well as you can see, considering Google's apps, all is good.
I mean this one in Settings > Battery > App launch > Three dots > Manage manually, have a look on attachment.
So, my Email client, Google Play services, Moj Telekom, Viber and WhatsApp have set all three options: auto-launch, secondary launch and run in background. With this setup, I have no problems at all.

Categories

Resources