Apps closing - Honor 7X Questions & Answers

Nobody else has this issue? It does not matter what I do. I've made apps battery optimization exempt, I've changed any and all settings that you can and yet apps like Netflix, Samsung Health absolutely refuse to stay open for lengthy periods of time. Sometimes they're even still running and yet dissapear from the notification bar. I've tried everything. Even locking h m in the recent apps menu doesn't work. Is the an EMUI 5 bug?

Related

No push notifications from idle apps

Helllo there!
Since a long time, I am experiencing issue with push notifications on my device. Especially when an app is not used for few days, the notifications stops appearing from the app. The frequently used app are displaying notifications.
Is it common? Anyone experiencing this? Is there a setting which I can change to get this fixed?
Tired searching the forum but could not find any info.
This was happening when I was running OxygenOS 4.1.6 and even after recently upgrading to Open Beta 20, the problem still exists.
Any info would be helpful.
Thanks!
Turn off the Battery Optimization for the apps... it is part of Android's "Doze" functionality.
I had this issue when I chose "deep clear" in recent app management and cleared the tasks. After switching to "normal clear", and re-starting apps everything started working as normal again.

Widgets stop working after a while in Oreo...

Hi,
I find that widgets have become a mess after the Oreo update. I use two news apps (BBC and Guardian) with widgets. Both of them have issues with their widgets now.... The widgets do not update and sometimes they hang completely and I must remove them and place them back on the screen to allow them to work again.
I have noticed that even the pre-installed weather widget stops updating after a while....
Does anybody else see this problem?
Hi there,
This may be related to Oreo force closing background apps for saving battery. You may check Battery settings for those two apps. If it is set as Managed Automatically, try to make them Managed Manually. It should be in Settings > Apps and Notifications > Apps > (your app) > Battery.
Bests
I tried to manage their background activities manually and enabled all three permissions but it doesn't make any difference.
Also, the weather widget is not in the list so there is nothing to do about that.
The problem is intermittent and sometimes it takes several days to show up, which makes me think it is indeed related to some battery management algorithms but I can't find a way to solve the problem.
I never saw this behaviour during the year I used the phone on Android 7.0.
On an unrelated note I also find that the Wi-Fi connection drops more frequently if the signal is low, particularly when the phone is in stand-by. Again, I had never seen this behaviour before the Oreo update...

How to prevent apps from getting killed

Hi all,
I'm running several apps that should run all the time (AdGuard, Network Speed Meter) or for a long time (speed trap warner,...) but OxygenOS kills them after a certain period. Some of them restart automatically, some don't. Of course all of these apps are 'not battery optimized'. Is there any chance to prevent OxygenOS from killing them?
Are there custom ROMs that can overcome this problen?
I'm on the latest OxygenOS Pie Beta, but the behavior was similar on Android O...
Thanks a lot,
W
Did you try locking the app via recents menu?
Thank for the info, didn't know that.
Unfortunately it doesn't help, Adguard and the network monitor don't appear in recents. The speed trap warner automatically starts and stops when I'm in the car, i don't want to open recents manually every time.
Battery - Battery optimisation - Don't optimise
safwankatharudheen said:
Battery - Battery optimisation - Don't optimise
Click to expand...
Click to collapse
This is not changing anything,e ven with disable battery disabled, even with adaptative battery disabled.
I have the same problem. I have not found any solution whatsoever. This is really frustrating. I've made sure apps aren't optimized. Advanced optimization is disabled. Developer options background limit is at standard. I've pinned the apps in recent apps and it still happens. Apps get killed all the time.
For example,
1. I use Google Fit to start tracking a run. Within 10 minutes of tracking, the app is closed and workout not tracked. Its not even like i touched the phone and opened other apps during this.
2. I have VoIP account setup in the default dialer. Calls come through only 50% of the time cause the dialer is closed.
3. YouTube Music, constantly gets closed if i simply pause the music. Within 2 minutes, the app is closed.
4. Trying to transfer 15GB of files through Explorer app from phone to file server, never succeeds if i don't watch the app and keep the screen on.
5. Plex gets closed and therefore my photos don't auto backup with the phone is plugged in.
This is absolutely ridiculous! Why the hell a phone with 8GB of RAM is killing apps is beyond me!
Custom ROM on the same phone, like Lineage OS, no issues. Can have optimization on, battery manager on and all. In fact, battery life is better on custom when its not killing the apps! Seems to be the only solution until OOS can stop killing apps so aggressively.
M3drvr said:
I have the same problem. I have not found any solution whatsoever. This is really frustrating. I've made sure apps aren't optimized. Advanced optimization is disabled. Developer options background limit is at standard. I've pinned the apps in recent apps and it still happens. Apps get killed all the time.
For example,
1. I use Google Fit to start tracking a run. Within 10 minutes of tracking, the app is closed and workout not tracked. Its not even like i touched the phone and opened other apps during this.
2. I have VoIP account setup in the default dialer. Calls come through only 50% of the time cause the dialer is closed.
3. YouTube Music, constantly gets closed if i simply pause the music. Within 2 minutes, the app is closed.
4. Trying to transfer 15GB of files through Explorer app from phone to file server, never succeeds if i don't watch the app and keep the screen on.
5. Plex gets closed and therefore my photos don't auto backup with the phone is plugged in.
This is absolutely ridiculous! Why the hell a phone with 8GB of RAM is killing apps is beyond me!
Custom ROM on the same phone, like Lineage OS, no issues. Can have optimization on, battery manager on and all. In fact, battery life is better on custom when its not killing the apps! Seems to be the only solution until OOS can stop killing apps so aggressively.
Click to expand...
Click to collapse
My app is not killed when i lock it in the switch app menu
There's a whole website regarding that issue on several devices, maybe it helps: dontkillmyapp(dot)com/general#user-solution

Delayed Whatsapp notifications

So I've been having this issue for quite some time, but i guess i got used to it so it didn't pose much of a problem untill now. All of my Whatsapp messages are delayed when screen off and WiFi on, and they come through from 2-4 all the way up to 20+ min after they are sent. As soon as i turn screen on, they pop up on screen.
I assumed that it was due to greenifys rigorous doze settings, so i uninstalled it. Some threads suggested Titanium backup may be culprit, so i uninstalled it too. I also added Whatsapp to battery optimization whitelist and ticked on run in background and unrestricted data usage, but with no success, and also completely reinstalling Whatsapp.
I even reflashed stock pie and oreo, but same thing happens. I suspected that deep sleep might be interfering with cloud messaging services, but even on stock pie device enters deep sleep even with WiFi on in minutes after screen off, so im pretty confused with it all.
I am running Pie v10.0.9.0.PLDMIXM with magisk, busybox, xposed, substratum, gravitybox installed. Apart from that there are no other apps interfering with the system whatsoever.
Any help would be much appreciated.
CrimosUmbro said:
So I've been having this issue for quite some time, but i guess i got used to it so it didn't pose much of a problem untill now. All of my Whatsapp messages are delayed when screen off and WiFi on, and they come through from 2-4 all the way up to 20+ min after they are sent. As soon as i turn screen on, they pop up on screen.
I assumed that it was due to greenifys rigorous doze settings, so i uninstalled it. Some threads suggested Titanium backup may be culprit, so i uninstalled it too. I also added Whatsapp to battery optimization whitelist and ticked on run in background and unrestricted data usage, but with no success, and also completely reinstalling Whatsapp.
I even reflashed stock pie and oreo, but same thing happens. I suspected that deep sleep might be interfering with cloud messaging services, but even on stock pie device enters deep sleep even with WiFi on in minutes after screen off, so im pretty confused with it all.
I am running Pie v10.0.9.0.PLDMIXM with magisk, busybox, xposed, substratum, gravitybox installed. Apart from that there are no other apps interfering with the system whatsoever.
Any help would be much appreciated.
Click to expand...
Click to collapse
It's the system power and ram management. That system kills the processes and doesn't allow them to revive for instant notification. Same happens with facebook and facebook messenger, not only watsapp. Instagram does this also. I receive a follow notification on my iPhone and the notification appears on the Mi A2 Lite only after the screen is on and unlocked.
TheoXSD said:
It's the system power and ram management. That system kills the processes and doesn't allow them to revive for instant notification. Same happens with facebook and facebook messenger, not only watsapp. Instagram does this also. I receive a follow notification on my iPhone and the notification appears on the Mi A2 Lite only after the screen is on and unlocked.
Click to expand...
Click to collapse
Oh i see. i totally get that over agressive ram managment, because even with 4 tabs open, it kills them very soon, to a no avail have i tried to fix it, it seems to be rooted issue...
Do you know any possible fix or workaround for this? Maybe to convert these apps to privileged, e.g. system apps or something? There must be some kind of solution for this.
CrimosUmbro said:
Oh i see. i totally get that over agressive ram managment, because even with 4 tabs open, it kills them very soon, to a no avail have i tried to fix it, it seems to be rooted issue...
Do you know any possible fix or workaround for this? Maybe to convert these apps to privileged, e.g. system apps or something? There must be some kind of solution for this.
Click to expand...
Click to collapse
Nope. Some said that this is purely Xiaomi's fault. But no. I have another Allview phone doing the exact same stuff. This may be an unmodified kernel for the said chipset. Companies like Samsung, Sony, HTC etc. may edit that kernel to be more mild, while Xiaomi, to reduce the costs doesn't.

The dreaded Samsung "Android System" Battery Drain

Hi all,
I seem to get this issue with pretty much every single Android Device I've owned in the last 8 years, particularly Samsung ones, and that's the good old "Android System" battery drain.
I have tried everything over the years, except rooting the device, but nothing has ever worked as a permanent fix.
I have tried:
- resetting device
- clearing cache
- restarting phone
- Shutting down background tasks
- Low battery usage location settings
- Deleting apps
- a million other things
But one way or another, Android System will eventually make its way back to the top of my battery usage stats.
I've come to the conclusion that it's the OS itself that's badly coded which causes this.
Has anyone, anyone, ever figured out a way to get on top of Android System battery drain?
lbreak said:
Hi all,
I seem to get this issue with pretty much every single Android Device I've owned in the last 8 years, particularly Samsung ones, and that's the good old "Android System" battery drain.
I have tried everything over the years, except rooting the device, but nothing has ever worked as a permanent fix.
I have tried:
- resetting device
- clearing cache
- restarting phone
- Shutting down background tasks
- Low battery usage location settings
- Deleting apps
- a million other things
But one way or another, Android System will eventually make its way back to the top of my battery usage stats.
I've come to the conclusion that it's the OS itself that's badly coded which causes this.
Has anyone, anyone, ever figured out a way to get on top of Android System battery drain?
Click to expand...
Click to collapse
I'm not sure this effects that, but while setting up phone from a factory reset etc, do you Uncheck the fields that pop up such as analytics, wifi scanning (even while off) and all the other ones ?
I uncheck all the crap i can. It's possible if you leave those checked that could be the culprit a bunch of services running in bckgrd....
Just a guess....but if you say this has happened on all your androids....maybe this is why.
Sent from my [device_name] using XDA-Developers Legacy app
louforgiveno said:
I'm not sure this effects that, but while setting up phone from a factory reset etc, do you Uncheck the fields that pop up such as analytics, wifi scanning (even while off) and all the other ones ?
I uncheck all the crap i can. It's possible if you leave those checked that could be the culprit a bunch of services running in bckgrd....
Just a guess....but if you say this has happened on all your androids....maybe this is why.
Sent from my [device_name] using XDA-Developers Legacy app
Click to expand...
Click to collapse
Yep I un-ckeck all of those fields. Makes zero difference overall (I have tried both ways).
lbreak said:
Yep I un-ckeck all of those fields. Makes zero difference overall (I have tried both ways).
Click to expand...
Click to collapse
That sucks, could it be due to social media apps syncing constantly? Sorry I'm out of ideas....
Sent from my [device_name] using XDA-Developers Legacy app
Ibreak, maybe the problem is caused by apps sending reports and analytics via google services, samsung related stuff always sends analytics, even if you do not facebook, the damned thing is always lurking and consuming resources, google app and chrome also are resources-hoarders, I use ccswe to disable all useless firebase, crash, analytics, ad listeners, campaign trackers, components and some boot listeners within many apps
lbreak said:
Hi all,
I seem to get this issue with pretty much every single Android Device I've owned in the last 8 years, particularly Samsung ones, and that's the good old "Android System" battery drain.
I have tried everything over the years, except rooting the device, but nothing has ever worked as a permanent fix.
I have tried:
- resetting device
- clearing cache
- restarting phone
- Shutting down background tasks
- Low battery usage location settings
- Deleting apps
- a million other things
But one way or another, Android System will eventually make its way back to the top of my battery usage stats.
I've come to the conclusion that it's the OS itself that's badly coded which causes this.
Has anyone, anyone, ever figured out a way to get on top of Android System battery drain?
Click to expand...
Click to collapse
Enable Developer option
then go Settings» Developer options» running services
Here you should see a bunch of services running. A number of them should fall under Android System, close all related to Android System (it is ok to do so)
Then under Google Play services close all (well two of those services are persistent so they will auto start back in a couple seconds, lockscreeen service and Google location service), nothing you can do about this other than to disable Google play services which would then cause a lot of apps to cry like pandora, samsung internet browser, play store, YouTube etc.
Then go settings» apps» 3 dots at upper-right hand corner» show system apps» android system» battery» disable background activity
On each restart Android system background activity will be automatically enabled so just disable it on each restart.
The thing is it could be a number of apps or services that is causing the issue through Android system but a good indicator of which app might be causing your issue is to check Android system memory which is right below background activity, there it should show which app is accessing the memory through it the most. Disable that app or clean its cache/data.
lennie said:
The thing is it could be a number of apps or services that is causing the issue through Android system but a good indicator of which app might be causing your issue is to check Android system memory which is right below background activity, a.
Click to expand...
Click to collapse
Thanks lennie,
How do I check this?
lbreak said:
Thanks lennie,
How do I check this?
Click to expand...
Click to collapse
It's in the same place you'd find background activity, but instead of going to battery, go to memory.
settings» apps» 3 dots at upper-right hand corner» show system apps» android system» memory
At the top above average memory usage you should see the app.
I would recommend using a package disabler (ccswe from the play store or package disabler pro from their website)
You can disable a lot of things but DO NOT disable
boot agent (could lock your phone in bootloop)
Android system (could hand your phone on boot up)
One UI (unless you have a different launcher installed and enabled)
IMS is important too
There's one more I can't remember right now, but you get the idea.
If you're not too sure if something can get disabled with no harsh side effects then just post the question
settings» apps» 3 dots at upper-right hand corner» show system apps» android system» mobile data
Shows a list of all the apps that have access to the network through Android system, disable the the ones you're sure you're not using or will use. That should shorten the list of potential battery drainer.
Thanks again.
It just shows an app called "face" under Android System memory. I assume that's for face unlock.
Be careful with disabling OneUI, because it will also disable the task manager and you'll got a really ugly one instead.
lbreak said:
Thanks again.
It just shows an app called "face" under Android System memory. I assume that's for face unlock.
Click to expand...
Click to collapse
Yeah that's for face unlock. I used to use it but since the fingerprint scanner update it has been working really well with my screen protector so I don't really need it anymore so I have it disabled.
If you don't use face.
How i use my phone to maximize my battery is simple. Things I don't use or need I keep them disabled, some I simply disable until I need them like the play store or galaxy store etc. Every other day or so I would check those apps to see if there is an update I might want to install.
lennie said:
Yeah that's for face unlock. I used to use it but since the fingerprint scanner update it has been working really well with my screen protector so I don't really need it anymore so I have it disabled.
If you don't use face.
How i use my phone to maximize my battery is simple. Things I don't use or need I keep them disabled, some I simply disable until I need them like the play store or galaxy store etc. Every other day or so I would check those apps to see if there is an update I might want to install.
Click to expand...
Click to collapse
I only use the fingerprint sensor, but it's still shows (only) Face there. Any idea?
There's really no fix to Android System drain, it's especially worse when you're on mobile data.

Categories

Resources