let apps run in background android pie - Samsung Galaxy Note 9 Questions & Answers

how to let apps run in background without automatically close in android pie

It's a little hidden.
Go settings, device maintenance, Battery. Under the estimated runtime click battery consumption button.
In the following list tap on a random app (not screen or something) and then tap on battery optimization. The select on top "All" apps and allow the one you want.
If someone has a faster approach let me know.
My phone language isnt English so the buttons may have slightly different names.

MowTow said:
It's a little hidden.
Go settings, device maintenance, Battery. Under the estimated runtime click battery consumption button.
In the following list tap on a random app (not screen or something) and then tap on battery optimization. The select on top "All" apps and allow the one you want.
If someone has a faster approach let me know.
My phone language isnt English so the buttons may have slightly different names.
Click to expand...
Click to collapse
i did that but every day my apps are killing except last 4 apps

lotfy ahmed said:
i did that but every day my apps are killing except last 4 apps
Click to expand...
Click to collapse
Is developer options enabled? At the bottom there is a setting that can limit background processes.

Bober_is_a_troll said:
Is developer options enabled? At the bottom there is a setting that can limit background processes.
Click to expand...
Click to collapse
i dont want to make limit i want the apps runs in background

I believe Bober_is_a_troll meant that you could check whether that option is already enabled for some reason and disable it.

Yes this sounds like you have background services limited to 4. Make sure to check the dev options!
Make sure "background process limit" is set to default.

Related

Anyone else missing gmail notifications unless screen is on?

I have no power saving settings on like aggressive doze or close high powered apps.
Ill just let my 3T's screen turn off and send an email to my gmail account from my work email. I will not get a notification unless I turn on the screen.
Yes, I have this issue only with Gmail, Oxygen 4.0.2.
Same here.
It happens with WhatsApp as well but I hadn't had time to troubleshoot it.
worldsoutro said:
I have no power saving settings on like aggressive doze or close high powered apps.
Ill just let my 3T's screen turn off and send an email to my gmail account from my work email. I will not get a notification unless I turn on the screen.
Click to expand...
Click to collapse
Rated R said:
Yes, I have this issue only with Gmail, Oxygen 4.0.2.
Click to expand...
Click to collapse
Gmail/Inbox use normal priority notifications as opposed to high priority, therefore will never bypass Doze. For some odd reason however, selecting Do Not Optimize makes no difference. This issue is not specific to the 3T.
I have noticed this too with whatsapp i can't remember if it started happening on 4.0.2 or when i flashed a different kernel, probably 4.0.2 related
I have exactly the same issue ... mostly with gmail and possibly with other apps like Whatsapp (I need to use my phone more to be sure) but surely and deeply with gmail.
Sometimes I receive push notifications on my OnePlus3T (running OOS 4.0.2 and unrooted) flawlessly, sometimes it takes a delay from one minutes to several, sometimes I need to wake up my phone (with the Jedi move of waving my hand over the proximity sensor) and sometimes I need to open the gmail app and force the update with a slide.
I think I also notice a random delay for the notification even if the screen is on and the phone in use, which seems to exculpate the doze mode but I'm not 100% sure and it is much more rare.
This is really annoying to me as I didn't have this issue with my old Nexus 5 and which I don't have on my work iPhone. I try to convince myself that it is not a big deal but it's not easy ^^.
I tried to contact Google on this but they weren't helpful on that matter.
23Six said:
Gmail/Inbox use normal priority notifications as opposed to high priority, therefore will never bypass Doze. For some odd reason however, selecting Do Not Optimize makes no difference. This issue is not specific to the 3T.
Click to expand...
Click to collapse
There a 120 pages post on the OnePlus forum about this issue on the OnePlus 3, even before OOS 4.
Can you tell me where is the "Do Not Optimize" option you're talking about (despite it is not working, strangely) thanks !
if you are ready to sacrifice a little bit of battery life, you can turn off Doze. You would need to do that in 2 places.
1. Settings -> Battery -> Three dots top right -> Aggressive doze and app hibernation -> Turn off
2. Settings -> About Phone -> Keep taping Build Number until phone marks you as a developer -> Go back one screen -> Developer Options -> Doze mode -> Turn off
I hope this helps.
23Six said:
Gmail/Inbox use normal priority notifications as opposed to high priority, therefore will never bypass Doze. For some odd reason however, selecting Do Not Optimize makes no difference. This issue is not specific to the 3T.
Click to expand...
Click to collapse
jasleen_ss said:
if you are ready to sacrifice a little bit of battery life, you can turn off Doze. You would need to do that in 2 places.
1. Settings -> Battery -> Three dots top right -> Aggressive doze and app hibernation -> Turn off
2. Settings -> About Phone -> Keep taping Build Number until phone marks you as a developer -> Go back one screen -> Developer Options -> Doze mode -> Turn off
I hope this helps.
Click to expand...
Click to collapse
Thanks for the tip.
I will give it a try but read on the OnePlus forum that it was not really a game changer.
I hope people working on Android know about this "feature" and will correct it soon if it has an impact on all Android N users !
I have that same issue.
Everything was working for me perfectly then all of sudden. Notification for Gmail Google plus and WhatsApp stops working no matter I am on mobile network or WiFi.
It work only when I open the app
I am on RR Rom
The easiest fix I found for my work email (Nine), which wasn't getting timely push notifications... was to just turn off battery optimization for this app. That made it perfect and instant notifications again. Presumably it uses more battery in this mode, but I still need it.
dusktrader said:
The easiest fix I found for my work email (Nine), which wasn't getting timely push notifications... was to just turn off battery optimization for this app. That made it perfect and instant notifications again. Presumably it uses more battery in this mode, but I still need it.
Click to expand...
Click to collapse
How exactly does one turn off optimization? I can't find that option. Thanks
Sent from my ONEPLUS A3000 using Tapatalk
I guess this is issue with number of handsets, I am facing this issue in my leeco LE 2 as well. Thinking of upgrading to op3t just for this issue but found this thread, what a bummer.
Sent from my Le X526 using Tapatalk
jaliscojorge said:
How exactly does one turn off optimization? I can't find that option. Thanks
Click to expand...
Click to collapse
It's kindof hidden:
Go to Settings-> Battery-> 3 dots in upper right
Then in Battery Optimization section, select 'All apps' from the pulldown selector at top.
Then find your app and change it to 'not optimized'
dusktrader said:
It's kindof hidden:
Go to Settings-> Battery-> 3 dots in upper right
Then in Battery Optimization section, select 'All apps' from the pulldown selector at top.
Then find your app and change it to 'not optimized'
Click to expand...
Click to collapse
Yes it was kind of like an easter egg but I found it. Notifications are coming in on time so far I hope that's fixed the problem. Thank you
Sent from my ONEPLUS A3000 using Tapatalk
dusktrader said:
It's kindof hidden:
Go to Settings-> Battery-> 3 dots in upper right
Then in Battery Optimization section, select 'All apps' from the pulldown selector at top.
Then find your app and change it to 'not optimized'
Click to expand...
Click to collapse
I dont find Gmail in the listed app?
In the Battery Menu/3 dots I don't have a Battery Optimisation Section but 2 settings (with my own translation from French to English, sorry about that) :
- apps hibernation & doze
- greedy application management
In the first option, there's a selector to activate or not the Apps hibernation & aggressive doze --> I disabled the option (and one can choose the app to optimize or not, but gmail is not on the list)
In the second option, I have a selector to allow to shutdown automatically "greedy" apps --> I disabled the option
However, in the Applications menu, while choosing the wheel then the Special Access Menu, there's an option for "Battery Optimisation" in which one can choose - one by one - the Apps that are optimised or not.
Anyway, for me, disabling the Doze mode in the Developper options seems to solve the problem with Gmail but i still have issues with delayed/lost notifications for other Apps (Twitter, Le Monde, ...).
And I'm running 4.0.3
serafko said:
I dont find Gmail in the listed app?
Click to expand...
Click to collapse
That's weird, I do have Gmail listed in mine. Make sure you set it to show all apps.
Also, I haven't done anything unusual with Gmail, like converted it to a system app, for example. It was flashed as part of Gapps Micro.
FI, just posted a bug report on that issue : https://forums.oneplus.net/threads/random-delay-with-push-notificatio-ns.500958/

How do I get "lock screen cleanup" to respect exclusions?

I have tried everything I can find in the settings but apps that are excluded from "lock screen cleanup" are still closed.
I have locked them in the recent apps panel, I allow them to use background data, data saver is disabled, but regardless, the apps are always killed by locking the screen. I thought this aggressive battery behavior was supposed to be fixed in EMUI 5.
I am suffering with the same problem on my P10 where background processes are killed after locking the screen despite having set them not to close the app and its service are killed sometimes when the screen locks. Android 7.0 EMUI 5.1 VTR-L29C432B151
Is there any solution for this? - I use a Zoiper for SIP calls and it is being stopped and I am missing calls
Turning off the close option in Lock screen clean up did not make any difference but, I did see in settings -> Battery -> "Settings Gear" an option to 'Close excessively power-intensive apps' and turned it off - but not tested it long enough to see if it fixes the problem.
----- did not work
Yes, same here - missing notification from Ring doorbell, missing updates from Tile and Life360 and Withings watch not synchronising automatically... Annoying behaviour.
Ok, tried something today and so far apps aren't closing - even after a few hours. Open Settings | Apps and click the settings at the bottom. Tap Special Access | Ignore battery optimisation... Select the apps you want to keep alive by switching to "Allowed".
I also have Battery | Lockscreen Cleanup disabled for all apps and the "Close excessively power-intensive apps" option unchecked.
freitasm said:
Ok, tried something today and so far apps aren't closing - even after a few hours. Open Settings | Apps and click the settings at the bottom. Tap Special Access | Ignore battery optimisation... Select the apps you want to keep alive by switching to "Allowed"..
Click to expand...
Click to collapse
When I do that I only get a list of a few Apps, the ones I want to keep running are not included - Is there a way to add them to this list?
Tap the arrow to show Allowed or All.
Sorry for the false alarm folks. Overnight all apps were closed again, regardless of the "Ignore policy" setting...
freitasm said:
Sorry for the false alarm folks. Overnight all apps were closed again, regardless of the "Ignore policy" setting...
Click to expand...
Click to collapse
At first I thought it was working, but eventually all the apps that I needed running always were terminated and had to be restarted manually.
This bug is so incredibly annoying, is it by chance fixed in VTR-L29C432B164 - I am getting so fed up with this phone killing services that I rely on to be running all the time - I don't care if they consume more power, I just need them to keep running.
I have the same issue on P10 Lite WAS-LX1AC423B171 this is the latest firmware I could install. Driving me mental!!!!

Pie keep killing my apps in background

Hello, since the update to Android Pie my phone is killing the app in background everytime i switch them. Since i use my phone for games it's very frustrating to restart the app everytime. How can i keep my apps open? Thanks in advance and sorry for my english
Maybe it is turned on in your developer options, that apps would strictly be killed after not in use. In developer options (Phone-info->software-info->tapping on buildnumber, till its unlocked) under the apps section ist the point you could maybe turn off.
Ionakr said:
Hello, since the update to Android Pie my phone is killing the app in background everytime i switch them. Since i use my phone for games it's very frustrating to restart the app everytime. How can i keep my apps open? Thanks in advance and sorry for my english
Click to expand...
Click to collapse
Have you added the apps to the "sleeping apps" in battery settings?
filounoir said:
Maybe it is turned on in your developer options, that apps would strictly be killed after not in use. In developer options (Phone-info->software-info->tapping on buildnumber, till its unlocked) under the apps section ist the point you could maybe turn off.
Click to expand...
Click to collapse
No, i have the "standard limit" for the app on background, if that's what you mean
stonedpsycho said:
Have you added the apps to the "sleeping apps" in battery settings?
Click to expand...
Click to collapse
No, i don't have any
Make sure they are allowed background access in app settings for battery.
Have you tried wiping the Cache Partition in Recovery Mode? It could be a simple software conflict.
Much easy to add app to run in backrground is on desktop long press on icon than press info about app...After that options of that app is open there choose battery options and than tick allow runing in background
You can check in device manager/battery if there is set to no run in background apps
Poslano z mojega SM-N950F z uporabo Tapatalk
kradcliffe said:
Make sure they are allowed background access in app settings for battery.
Click to expand...
Click to collapse
iceepyon said:
Have you tried wiping the Cache Partition in Recovery Mode? It could be a simple software conflict.
Click to expand...
Click to collapse
blinkt88 said:
Much easy to add app to run in backrground is on desktop long press on icon than press info about app...After that options of that app is open there choose battery options and than tick allow runing in background
You can check in device manager/battery if there is set to no run in background apps
Poslano z mojega SM-N950F z uporabo Tapatalk
Click to expand...
Click to collapse
From here? It still keep closing after 20 or less minutes
I have done an hard reset after update
Help my apps are closing overnight I wake up in morning and my 26 apps have closed and only 4 apps left.ive tried everything including factory reset. Please help guys
A late reply but go to:
Settings>Apps Tap the 3 dots in the top corner and choose 'Special access' then choose 'Optimise battery usage'. From the choice of 'Apps not optimised' and 'All' choose 'All'. Turn off Optimise for each app you don't want to close automatically.

Solved - tasker not starting when phone is switched on

Hi,
I have a profile that switches my phone to do not disturb when I get to work but for some reason the application doesn't start when I switch on my OnePlus 3t in the morning (stock OS 9.0.4). Profile kicks in if I start the app. Any ideas what is going on? Tried to switch off battery optimisation bit that hasn't helped.
Eggstones said:
Hi,
I have a profile that switches my phone to do not disturb when I get to work but for some reason the application doesn't start when I switch on my OnePlus 3t in the morning (stock OS 9.0.4). Profile kicks in if I start the app. Any ideas what is going on? Tried to switch off battery optimisation bit that hasn't helped.
Click to expand...
Click to collapse
Take a look at (all of) these settings
Don't kill my app - OnePlus
Why doesn't Tasker work in the background on my device?
ktmom said:
Take a look at (all of) these settings
Don't kill my app - OnePlus
Why doesn't Tasker work in the background on my device?
Click to expand...
Click to collapse
Thanks. Will test tomorrow. Been away traveling.
ktmom said:
Take a look at (all of) these settings
Don't kill my app - OnePlus
Why doesn't Tasker work in the background on my device?
Click to expand...
Click to collapse
Have looked at those links again and will try to see if the locking thing sorts it. If not I'll try to toggle off the advanced battery settings to see what it does.
Just noticed that both tasker, the auto apps and lastpass has the option to manage battery usage in the background greyed out. Could this have something to do with it. Can't figure out how to change this. Have checked 5-6 other apps and they allow me to change this setting.
I think I have solved this now. Tasker seems to be running happily in the background after I locked it using the padlock icon you get when you click on the three dots you see when you switch between apps or want to close it. It is even playing nicely with battery optimisation turned on.
Since locking tasker with the padlock it works fine both with battery optimisation on and deep cleaning.

Question [Origin OS Ocean] How to get push notification from various apps (like social and messaging)

Like the title say, I'm in trouble getting the notification of any app I install : I disabled vivo.pem as suggested in one other thread and allow notofication per single app (that were turned off before) and last disabled the background battery optimization for those apps.
No luck after all, as nothing show up when I send whatsapp mess e.g.
Any ideas?
(Latest Origin firmware)
PassingComplexion said:
Like the title say, I'm in trouble getting the notification of any app I install : I disabled vivo.pem as suggested in one other thread and allow notofication per single app (that were turned off before) and last disabled the background battery optimization for those apps.
No luck after all, as nothing show up when I send whatsapp mess e.g.
Any ideas?
(Latest Origin firmware)
Click to expand...
Click to collapse
I had to use the uninstall command on vivo.pem to get my notifications to work, disable didn't help me on the latest firmware.
Also, check the app permissions, hold down app, info, app permissions.
Turn off (remove permissions if app isn't used)
Single permission settings (turn all on the switches), you can also review permissions
Go back 2 screens and select notifications, select all sliders and then check your desired app notification is going out via priority display.
Finally go to settings, battery, background power consumption management, and change the setting for the app you want to not sleep by choosing high background power usage.
So annoying, I know, too many settings and easy to forget one
Good luck!
DJorgio said:
I had to use the uninstall command on vivo.pem to get my notifications to work, disable didn't help me on the latest firmware.
Also, check the app permissions, hold down app, info, app permissions.
Turn off (remove permissions if app isn't used)
Single permission settings (turn all on the switches), you can also review permissions
Go back 2 screens and select notifications, select all sliders and then check your desired app notification is going out via priority display.
Finally go to settings, battery, background power consumption management, and change the setting for the app you want to not sleep by choosing high background power usage.
So annoying, I know, too many settings and easy to forget one
Good luck!
Click to expand...
Click to collapse
Thanks for the time spent in the long answer; however still no notifications on the tested app (whatsaap) with all the reccomended settings.
Is since 2015 I think that I don't have a chinese firmware phone and the things have changed, in fact, before, was enough to install play store and all the notification were received without further settings.
DJorgio said:
I had to use the uninstall command on vivo.pem to get my notifications to work, disable didn't help me on the latest firmware.
Also, check the app permissions, hold down app, info, app permissions.
Turn off (remove permissions if app isn't used)
Single permission settings (turn all on the switches), you can also review permissions
Go back 2 screens and select notifications, select all sliders and then check your desired app notification is going out via priority display.
Finally go to settings, battery, background power consumption management, and change the setting for the app you want to not sleep by choosing high background power usage.
So annoying, I know, too many settings and easy to forget one
Good luck!
Click to expand...
Click to collapse
Hey Guys,
i also did every setting as told and my Notification for especially WhatsApp isn't working at all.
Sometimes it does, but then all of a sudden it just refreshes when I open the App itself.
I even put it down in the Bar with the 5 Main Apps, in hope those would be refreshed or kept alive in the Background.
Not sure anyway what you mean with uninstalling vivo.pem.
Suckz kind of, because apart from that it really is a great Phone... aside from Android Auto not working.
F4ISR said:
Hey Guys,
i also did every setting as told and my Notification for especially WhatsApp isn't working at all.
Sometimes it does, but then all of a sudden it just refreshes when I open the App itself.
I even put it down in the Bar with the 5 Main Apps, in hope those would be refreshed or kept alive in the Background.
Not sure anyway what you mean with uninstalling vivo.pem.
Suckz kind of, because apart from that it really is a great Phone... aside from Android Auto not working.
Click to expand...
Click to collapse
You have to plug in phone on computerand run ADB command to uninstall vivo.pem.
Vivo.pem is a system that aggressively shut down apps to save battery power, to much shut downs and notifications stop working.
Check the thread "Origin Os initail review" on here and you will find out how to do it. Takes only 10 minutes
Robsjo said:
You have to plug in phone on computerand run ADB command to uninstall vivo.pem.
Vivo.pem is a system that aggressively shut down apps to save battery power, to much shut downs and notifications stop working.
Check the thread "Origin Os initail review" on here and you will find out how to do it. Takes only 10 minutes
Click to expand...
Click to collapse
Just did that, thanks for the advice, much appreciated
F4ISR said:
Just did that, thanks for the advice, much appreciated
Click to expand...
Click to collapse
After doing the uninstalling did it stop the issue?
I uninstalled, rather than disabled, their power saving vivo.pem, ensured all my apps had priority permissions for notifications, disabled battery saving, and added them to 'autostart' in their respective permissions, and I get proper notifications for all the social media and messaging apps. The only small glitch come with Google Messages which won't display notifications in system wide dark mode. You can get around that by enabling the 'chat bubbles' option in Google Messages settings as they do work in dark mode.
Notifications are not the only issue , i cannot select Mock gps location app in Developer Mode ...
I press on the app i want to use ,but nothing happend , the app is not selected .
Anyone noticed that too ?
Thanks
There is no need to uninstall vivo.pem, I think. Just some few steps:
1. Go to recent apps and lock it.
2. Settings -> Apps & permissions -> App manager -> WhatsApp -> Permissions -> Single permission settings -> Autostart and Startup enabled.
3. Settings -> Battery -> Background power consumption management -> WhatsApp -> Select high background power usage.
4. Settings -> Battery -> More settings -> Disable Sleep mode.
Works fine for me.
Do you use Whatssup? after the latest OS update it cannot connect to linked devices

Categories

Resources