Huawei P Smart: too aggressive background killing - Huawei P Smart Questions & Answers

Hi, I've a rooted (SuperSU) P Smart. I'm struggling with the background app killing policy: lots of apps that should remain in background and send me notifications are costantly removed (the system is also randomly killing the superuser process too!). For instance, Pushbullet is not usable, Fabulous doesn't start its rituals and so on.
Searching the net it seems that I need to add the desired apps to a "protected apps" list, but there is no such section on my phone. The only similar thing I've managed to find is "ignore battery optimization" (per app) in settings -> apps and settings -> battery, but no way.
Any suggestions?

Ok, solved... I made a factory reset, removed SuperSU and installed Magisk, the "ignore battery optimization" now works perfectly. The thread can be closed.

Related

[GUIDE] MIUI Battery & Multi-tasking Fix v4.1 (Updated)

Redmi Note 3 (SD / MTK) Battery & Multi-Tasking Fix v4.1
For MIUI7 & MIUI8
Mediatek & Snapdragon Variants
Global/China & Beta/Stable ROMs​
MIUI is a forked version of Android with plenty of additional features & tweaks not found in stock AOSP ROM. MIUI is very smooth & has a great battery life on the Redmi Note 3. The powerful Snapdragon 650 with its excellent single core performance coupled with dual channel LPDDR3 RAM & eMMC 5.1 flash storage results in blazing fast 1st time app opening speeds.
MIUI by default is very aggressive at killing background apps in the running in the memory, as a result it is unable to keep more than 3-4 apps in the memory while multi-tasking or after waking up the device. Default settings are aimed to keep as much free RAM as possible thats where the problem lies. It kills the apps running in the background to keep most of its RAM free. Apps get killed & have to be reloaded again from the flash storage into the memory, this takes a lot of CPU, I/O cycles & makes the end user experience less enjoyable. Below settings might make your multitasking a bit better at the cost of less free RAM, but that shouldn't matter as RAM is meant to be used not kept free. Always remember "Free RAM is Wasted RAM.
Usage Access Settings
• Settings App > Additional Settings > Privacy > Apps With Usage Access > More > Show System
- Turn off everything except Google Play Services and Play Store
Battery Settings
• Settings App > Battery & Performance > Manage Apps Battery Usage > Power Saving Modes
- Off: All background data & location access of running apps will be enabled, less battery life
- On: Default Setting, more battery life
• Settings App > Battery & Performance > Manage Apps Battery Usage > Choose apps
- From there you can configure the background data & location services for each app.
• Settings App > Additional Settings > Battery & Performance > System Animations
- Hide System Animations: Speeds up device's performance
Memory Settings
To enable Developer Options : Settings App > About Phone > MIUI Version > Keep on tapping till it is enabled.
• Settings App > Additional Settings > Developer Options
- Window Animation Scale: 0.5x or Off
- Transition Animation Scale: 0.5x or Off
- Animator Animation Scale: 0.5x or Off
- Don't Keep Activities : Disabled
- Background Process Limit : Standard Limit
- Memory Optimization : Off
- Show All ANRs : Disabled
- Force-Closed Apps : Disabled
- Turn On MIUI Optimization : Disabled
Security App Settings
• Security App > Settings > Cleaner
- Remind To Clean: Disabled
- Scan App Memory: Disabled
- Update Automatically: Disabled
• Security App > Settings > Blocklist > Disable
• Security App > Settings > Battery Usage
- Turn Off Mobile Data: Never
- Clear Cache: Never
• Security App > Permissions > Autostart
- Disable unnecessary apps, they wont be launched after a reboot
- Keep important apps enabled such as messaging, email apps
Lock Apps In Memory
- You can lock your desired / most frequently used apps in the memory.
- Open your app, let it get fully launched, open the recent apps menu.
- Swipe down the app icon or recent app screen to reveal a lock icon on top left corner.
- Tap on it, this locks the app into the memory & it wont get force killed in the background.
- To unlock the app repeat the same process and tap it again to unlock it from memory.
Important
- After doing the above mentioned changes, restart your device.
- You might have to re-apply these changes after every MIUI OTA update.
- These settings have hardly any effect on the battery life.
- I am getting more or less the same battery backup after using these settings.
Wiki : What does each and every option do?
• Memory Optimization : This option sets the swap file for multi-tasking. Size varies according to the device and RAM configuration.
- High: 767MB to 1GB
- Middle: 767MB to 1GB
- Low: Swap file disabled
- Off: Swap file disabled
• Show All ANRs : This option enables MIUI to show an obtrusive dialogue box after an app fails to stop responding . Setting this off doesnt show the pop-up frequently.
• Force-Closed Apps : This option enables MIUI to show an obtrusive dialogue box after an app force-closes unexpectedly. Setting this off doesnt show the message. It enables after every reboot.
• Turn On MIUI Optimization : This option enables a plethora of MIUI based settings & optimizations as per the guidelines set by the MIUI developers. It helps to load the app and the app data in parallel reducing load times and ensuring snappier user experience. This setting can sometimes cause a variety of issues on non-MIUI based apps such as Google Apps & Apps from Google Playstore. Its better to disable if you rely on Google Playstore for apps & services or use Global Stable or Global Beta MIUI ROMs
With the MIUI Optimization Enabled, some users reported the following issues
- Cannot set third-party launcher like Nova, Apex or Google Now launcher.
- Wallpaper cannot be set using in-built options via custom launchers.
- Occasional lags, stutters or freezes while scrolling web-pages & long lists.
- Custom apps set as default restore to default MIUI apps on reboot. (Only on MIUI China ROMs)
- Cannot set accessibility services on reboot.
- Background apps cannot sync data.
- Music players stop playing after sometime.
- UI Animations are not synced properly.
• After turning off MIUI optimization
- Above issues may get solved.
- Settings > Data Usage > Graph changes to AOSP style.
- Settings > Battery & Performance > Battery Use > Graph changes to AOSP style.
- Settings > Installed Apps > All > Documents > It will not be disabled after every reboot.
- Settings > Additional Settings > Buttons > Settings may get reset.
- No OTA update notifications. Enable it to receive the OTA updates.
Settings App > Additional Settings > Developer Options > Turn On MIUI Optimization : Disabled
Click to expand...
Click to collapse
I would love to know what this option does.
I disabled and i notice that the device is a little smoother. I have one very big folder with all the useless apps, scrolling was always stuttering in there.
Now its smooth.
EDIT
My device is the simple redmi 3, but i still would like to know what is this MIUI optimization.
Settings App > Additional Settings > Developer Options > Memory Optimization : Enabled
only got off,low,middle,high. no enabled. so which one better?
gordito_gr said:
I would love to know what this option does.
I disabled and i notice that the device is a little smoother. I have one very big folder with all the useless apps, scrolling was always stuttering in there.
Now its smooth.
EDIT
My device is the simple redmi 3, but i still would like to know what is this MIUI optimization.
Click to expand...
Click to collapse
It sychronizes the UI thread with the animation time, so by keeping it disabled the clock timer doesnt have to wait for the animation to start/stop. The CPU effortlessly renders the animations without waiting for the MIUI framework to sychronize the animations.
soulz69 said:
Settings App > Additional Settings > Developer Options > Memory Optimization : Enabled
only got off,low,middle,high. no enabled. so which one better?
Click to expand...
Click to collapse
that was a mistake, I edited it. Keep it DISABLED
Still doesn't work for me. It keeps closing my apps,sometimes even when i'm still using them. It closes my apps even when I lock them by swiping down.The ram management is just too aggressive.
Thanks man you fixed it :good:
Much smoother and useful
Thread Updated
same to my with spotify
Hi there.... I have this problem when I play music with SPOTIFY in background. (redmi note 3 pro 16GB - global stable MIUI 7.3.2)
The music stop playing. I can see the app get killed by MIUI. This happen even if the app is locked and is in background. This problem doesn't happen with google play music. When I turn on the screen I can see that is not image and song name just like this
when I turn on the screen this is like this imgur image [o9nTtWD]
Already tried all this recommendation without success.
thanks
EDITED: Now with last correction spotify runs OK, Thanks
Force-Closed Apps : Disabled
Click to expand...
Click to collapse
Why disable this?
I would like to ask to be clear that if i go to customise each app, do i need to turn off the power saving mode or i should put Advanced Mode?
Sent from my Redmi Note 3 using XDA-Developers mobile app
inde_pkv said:
I would like to ask to be clear that if i go to customise each app, do i need to turn off the power saving mode or i should put Advanced Mode?
Sent from my Redmi Note 3 using XDA-Developers mobile app
Click to expand...
Click to collapse
Power Saving Mode : Standard & then customize each app individually.
KaikuHunter said:
Why disable this?
Click to expand...
Click to collapse
This will prevent the SystemUI from showing XYZ app has been force closed for an uninterrupted user experience.
Donwload kernel auditor, go to "Low memory Killer" set to Medium or Aggressive if you have lag (you shouldn't), now the phone can keep around 10 apps in memory.
Thanks. It helped. Was frustrated by apps getting closed
Sent from my Redmi Note 3 using XDA-Developers mobile app
Hi bro please help me fix MiuiSystemUI.apk ..I am decompile success ..Recompile is error "key:code="xxx"
™=--StariusX--=™
MasterUK said:
EDITED: Now with last correction spotify runs OK, Thanks
Click to expand...
Click to collapse
May I know what did you on the 'last correction? I am having problem with spotify (and some radio apps also) on my RN3 Pro with 2GB RAM. Thanks.
ligu said:
May I know what did you on the 'last correction? I am having problem with spotify (and some radio apps also) on my RN3 Pro with 2GB RAM. Thanks.
Click to expand...
Click to collapse
This was the last correction
"Settings App > Additional Settings > Developer Options > Memory Optimization disabled"
Because the original post said another different thing. Also remember keep spotify lock on memory
Open spotify -> press home button -> press menu button -> pull spotify DOWN
Thread Updated With In-Depth Explanation
SharkcpN said:
Thread Updated With In-Depth Explanation
Click to expand...
Click to collapse
I have followed all the steps, and some tips I found on other links (enable apps to autostart), but my apps still get killed randomly. Any more advice?

HD 10 2017 Rooted and Play Store - have a few odd glitches and some questions

i'm mostly happy with this tablet, rooted with one of the great tutorials on this site (kingoroot then supersu), and I've added Google services/play store. I have a few small glitches though so I thought I'd set them down here and see if anyone else has them, and if there are any fixes. Mostly they are trivial, and some are just general questions.
(I bought the pro version of titanium backup so i could freeze some of the amazon processes (I don't really want any of them; i'll never use them so they're just going to waste battery; get in the way of nova launcher etc). I've been very careful with what I froze and "pm disable"d though.)
1) If i go to settings/storage and select internal or sd card it shows me the page briefly then goes back to the storage page.
2) When I click on settings/power/battery I don't get a graph of battery usage. Is this normal? Usually you can see how long ago you charged it, which apps have use battery etc.
3) There's no settings/accounts/google so how can I see which Google apps are syncing?
4) I had to sideload Netflix. Is this normal (for a rooted HD 10)?
5) I have 5 google accounts I've added to Google Photos (I have a lot of photos!). The initial "downloading photos" seems to take ages. Perhaps it's no slower than usual but it's not showing you the photos until they're all downloaded. Worse, this app quits by itself sometimes. It's the most unstable app I've used in the few days I've had this device.
6) The app Amazon for Tablets just quits when I try and run it. Does it require some of the background stuff I've disabled. It's not really worth enabling them for it, i'm just curious.
7) Can I somehow add a pattern unlock instead of pin/password?
8) Can I disable the lockscreen wallpaper? Where are they stored on the tablet - perhaps I can just delete them/replace with a single black jpeg.
9) Can I edit the swipe down notification options (which are currently wifi, airplane, blue shade, do not disturb, bluetooth, help, rotation, camera)?
Webern said:
i'm mostly happy with this tablet, rooted with one of the great tutorials on this site (kingoroot then supersu), and I've added Google services/play store. I have a few small glitches though so I thought I'd set them down here and see if anyone else has them, and if there are any fixes. Mostly they are trivial, and some are just general questions.
(I bought the pro version of titanium backup so i could freeze some of the amazon processes (I don't really want any of them; i'll never use them so they're just going to waste battery; get in the way of nova launcher etc). I've been very careful with what I froze and "pm disable"d though.)
1) If i go to settings/storage and select internal or sd card it shows me the page briefly then goes back to the storage page.
2) When I click on settings/power/battery I don't get a graph of battery usage. Is this normal? Usually you can see how long ago you charged it, which apps have use battery etc.
3) There's no settings/accounts/google so how can I see which Google apps are syncing?
4) I had to sideload Netflix. Is this normal (for a rooted HD 10)?
5) I have 5 google accounts I've added to Google Photos (I have a lot of photos!). The initial "downloading photos" seems to take ages. Perhaps it's no slower than usual but it's not showing you the photos until they're all downloaded. Worse, this app quits by itself sometimes. It's the most unstable app I've used in the few days I've had this device.
6) The app Amazon for Tablets just quits when I try and run it. Does it require some of the background stuff I've disabled. It's not really worth enabling them for it, i'm just curious.
7) Can I somehow add a pattern unlock instead of pin/password?
8) Can I disable the lockscreen wallpaper? Where are they stored on the tablet - perhaps I can just delete them/replace with a single black jpeg.
9) Can I edit the swipe down notification options (which are currently wifi, airplane, blue shade, do not disturb, bluetooth, help, rotation, camera)?
Click to expand...
Click to collapse
Some apps have to be sideloaded because the app version is for cell phones only.
Amazon apps, Store and Kindle have not worked for me for awhile... Not sure what is going on.
Sent from my KFGIWI using Tapatalk
vandyman said:
Some apps have to be sideloaded because the app version is for cell phones only.
Amazon apps, Store and Kindle have not worked for me for awhile... Not sure what is going on.
Sent from my KFGIWI using Tapatalk
Click to expand...
Click to collapse
Netflix isn't for cell phones only. It appears in the play store on my other phones and tablets.
I'm not too bothered about the Amazon stuff - I have a real kindle for reading books; this tablet is great for PDFs (which are hellish on a kindle). I'm not sure there are many apps on the amazon store which aren't on the playstore, and I guess I'll just have to live without the amazon app. The website is pretty good anyway. I suspect if I was bothered I could unroot and factory reset this device and start over and just add the play store and remove no amazon stuff, but that would be a lot worse than my current situation.
Webern said:
i'm mostly happy with this tablet, rooted with one of the great tutorials on this site (kingoroot then supersu), and I've added Google services/play store. I have a few small glitches though so I thought I'd set them down here and see if anyone else has them, and if there are any fixes. Mostly they are trivial, and some are just general questions.
(I bought the pro version of titanium backup so i could freeze some of the amazon processes (I don't really want any of them; i'll never use them so they're just going to waste battery; get in the way of nova launcher etc). I've been very careful with what I froze and "pm disable"d though.)
1) If i go to settings/storage and select internal or sd card it shows me the page briefly then goes back to the storage page.
2) When I click on settings/power/battery I don't get a graph of battery usage. Is this normal? Usually you can see how long ago you charged it, which apps have use battery etc.
3) There's no settings/accounts/google so how can I see which Google apps are syncing?
4) I had to sideload Netflix. Is this normal (for a rooted HD 10)?
5) I have 5 google accounts I've added to Google Photos (I have a lot of photos!). The initial "downloading photos" seems to take ages. Perhaps it's no slower than usual but it's not showing you the photos until they're all downloaded. Worse, this app quits by itself sometimes. It's the most unstable app I've used in the few days I've had this device.
6) The app Amazon for Tablets just quits when I try and run it. Does it require some of the background stuff I've disabled. It's not really worth enabling them for it, i'm just curious.
7) Can I somehow add a pattern unlock instead of pin/password?
8) Can I disable the lockscreen wallpaper? Where are they stored on the tablet - perhaps I can just delete them/replace with a single black jpeg.
9) Can I edit the swipe down notification options (which are currently wifi, airplane, blue shade, do not disturb, bluetooth, help, rotation, camera)?
Click to expand...
Click to collapse
1) You debloated. It likely has something to do with Free Time and the files surrounding it's function. Unfortunately only way to fix without root, is a factory reset.
2) Download and install Activity Launcher. Tap top left panel, and then all activities. Scroll to settings, tap it, you'll see more battery options, unfortunately not detailed. Scroll down further for 'usage statistics ' for individual app usage stats.
3) Using activity launched again, still in settings, tap 'accounts'. Then tap the three dogs at the top right corner. Make sure 'auto sync' box is checked. You can't see the individual syncing options though. Also in activity launched > settings tap 'backup and reset.' Make sure the toggle to back up to Google cloud is selected. You cannot enter an email, that's for Amazon backup.
4) You can download a compatible Netflix apk from their website here.
5) Google Photos is give or take. Move pictures and whatever else you want to use, to Google Drive. That works better, especially if you keep Amazon Photos.
6) Debloating causes this across many apps. Amazon makes sure everything is connected. I don't use any Amazon apps so these are give or take as well.
7) No pattern yet. I'm working on it. I just need to figure out how to edit the SystemUI ap k and reinstall it. No luck yet.
8) Amazon Photos controls lock screen wallpaper. You can only change it through settings > display > wallpaper. That changes home and lock screen wallpapers. If you delete Amazon Photos, you lose the ability to change the lock screen. You cannot disable the lock screen wallpapers.
9) Amazon uses a different notification panel than the standard SystemUI interface. So far, with root, GravityBox changes only status bar icons, but not tiles. I have not yet figured out where Amazon tucks away their panel. Some is in SystemUI some in the framework.
DragonFire1024 said:
1) You debloated. It likely has something to do with Free Time and the files surrounding it's function. Unfortunately only way to fix without root, is a factory reset.
2) Download and install Activity Launcher. Tap top left panel, and then all activities. Scroll to settings, tap it, you'll see more battery options, unfortunately not detailed. Scroll down further for 'usage statistics ' for individual app usage stats.
3) Using activity launched again, still in settings, tap 'accounts'. Then tap the three dogs at the top right corner. Make sure 'auto sync' box is checked. You can't see the individual syncing options though. Also in activity launched > settings tap 'backup and reset.' Make sure the toggle to back up to Google cloud is selected. You cannot enter an email, that's for Amazon backup.
4) You can download a compatible Netflix apk from their website here.
5) Google Photos is give or take. Move pictures and whatever else you want to use, to Google Drive. That works better, especially if you keep Amazon Photos.
6) Debloating causes this across many apps. Amazon makes sure everything is connected. I don't use any Amazon apps so these are give or take as well.
7) No pattern yet. I'm working on it. I just need to figure out how to edit the SystemUI ap k and reinstall it. No luck yet.
8) Amazon Photos controls lock screen wallpaper. You can only change it through settings > display > wallpaper. That changes home and lock screen wallpapers. If you delete Amazon Photos, you lose the ability to change the lock screen. You cannot disable the lock screen wallpapers.
9) Amazon uses a different notification panel than the standard SystemUI interface. So far, with root, GravityBox changes only status bar icons, but not tiles. I have not yet figured out where Amazon tucks away their panel. Some is in SystemUI some in the framework.
Click to expand...
Click to collapse
Thanks for responding! It can be hard to get "the answer" to specific questions on this site sometimes!
1) I was very careful with what I altered, and as far as I know I only disabled stuff (I bought titanium pro and froze a few things that I couldn't disable even as root) so presumably I can unfreeze it. I suppose I could have poked around more without root but I was worried that I might get an amazon update I could no longer root, and that I couldn't replace the launcher with nova launcher. If this (inability to look at what items are taking up space in the sd card/internal) is the only symptom of "debloating" then it's a fair trade and I'll put up with it).
2+3) I will check out "activity launcher".
4) I didn't know about that! "Rooted or uncertified Android mobile devices are unable to download the Netflix app from the Play Store. Rooted or uncertified mobile devices are not blocked from accessing Netflix, but, depending on configuration, may not function properly." Might as well leave them up on the play store then, eh? Very odd. Still, solves my fears about sideloading tampered-with apps.
5) I use google photos on several other devices and the web. I upload stuff, move between albums, share. If I can do all of that on google drive then it might be worth whatever time it takes. I'll check it out!
6) This was one of the apps I couldn't disable until I bought titanium pro, so that's solved now. (I froze whispernet and other stuff that was taking up cpu/battery and the device didn't seem to get any more unstable).
7) It's not a big deal. I'd check out any fix you make (assuming I find out about it somehow - remember to post it in one of the forums on this site!)
8) I might temporarily enable google photos then, long enough to disable them. I'm not sure how many photos are cycled between on the lock screen, and whether they're downloaded or stored on the device. I couldn't find them when I had a quick look.
9) It's not a big deal, but i'm never going to use most of them.
Cheers!
Well, I unfroze everything (then refroze some apps like kindle, amazon for tablets (which still didn't work)) and some of the menu items have come back to life. I still can't set lockscreen wallpaper - the settings for wallpaper only affects the main screen. That's not big deal really - I don't want to fiddle with this thing forever. I can see that google and firefox are both set up to sync but clicking on them doesn't do anything. I don't get notifications on lichess, which is odd. I get notifications for youtube so it's not like the system is broken, and notifications aren't disabled on a per-app basis for lichess. The activity launcher lets me see the battery details like you said (although you can access activities directly with nova launcher so it's not required) - there's some text you can hardly read on those pages though because it's very dark text on a very dark background.

Excessive doze and Whatsapp problems

Hi everyone, I really hope that some of you know how to give me some info about it. I am currently using the Lineageos Pie ROM, with Magisk attached, and all without any particular problems and using both Naptime and Servicely for the Doze service. The only problem I have is with Whatsapp notifications. I don't care about the others. ROM is obviously perfectly optimized, so the app is also optimized in the "optimization" section. So I removed the flag up and left the app without optimization, because of this app I want notifications to arrive.
I removed the battery limitations, so the app can act in the background too. On Servicely is obviously the only social app to have permissions from awakening, and despite everything, the Doze affects all the apps without distinction, including Whatsapp. Now, you know, is there any .prop string, or can you give me some suggestions? I really kindly ask you for a hand. Thanks for reading.
You can tune / turn off any battery saving level for every app.
1) Just open the app,
2) after that open app drawer (app switcher)
3) hold your finger on Whatsapp application in. Then click on settings (third icon i think)
4) click battery saver / miui optimalizations
5) select None / turn off battery saver
matrixhaj said:
You can tune / turn off any battery saving level for every app.
1) Just open the app,
2) after that open app drawer (app switcher)
3) hold your finger on Whatsapp application in. Then click on settings (third icon i think)
4) click battery saver / miui optimalizations
5) select None / turn off battery saver
Click to expand...
Click to collapse
thanks for the matrix answer, as I wrote I am already using a custom ROM and no longer MIUI; anyway I had already removed battery saver, but despite this, Whatsapp continues to be afflicted by Doze. I can not understand.
YouKnowAirborne said:
I can not understand.
Click to expand...
Click to collapse
Not only you... Whatsapp Battery Drain/Consumption since the last few updates is just "yack"...
Sending the App into the Background limits notifications in a random manner etc...
LionHeart90 said:
thanks for the matrix answer, as I wrote I am already using a custom ROM and no longer MIUI; anyway I had already removed battery saver, but despite this, Whatsapp continues to be afflicted by Doze. I can not understand.
Click to expand...
Click to collapse
did you restore WhatsApp from a backup (Titanium Backup)? if so, uninstall and reinstall from playstore, it happened to me that I did that and MIUI keeps closing it, till I reinstalled from Playstore and now it stay active

Battery manager stuff ?

Hello everyone !
I just bought a Redmi Note 7. This morning my alarm didn't ring for some reason. I use the Google Clock. Also I can't make "OK Google" working when my screen is off. Some notifications take time to be showed. Etc.
Is the battery manager thing responsible of all those "bugs" ? Is that a weird "Greenify" ?
Since I didn't unlock the device and install a real Android ROM, any of you have a solution for alarm so my boss don't kill me tomorrow ?
Thanks for your help guys.
Settings > manage apps > clock (or any other app) > battery saver > no restrictions.
Also enable autostart in the same settings menue.
And avoid stuff like naptime, if you are not experienced with such things.
Hi there. It's probably a MIUI battery saver thing. So for all of your mission critical apps whose notifications you want to receive instantly, do this:
1) Go to app settings for the app in question
2) Toggle on Auto start
3) Turn on all notifications that you want to receive
4) Set the battery saving setting to no restrictions.
If you notice that an app still gets closed in the background for some reason, add another step:
5) Open the app and then open the Recent apps screen. Tap and hold the preview image of the app in question. Tap the first icon (lock app). This will lock it in memory and only you will be able to manually swipe it off and clear it from memory. Tapping the Close All button in Recents will not close the locked apps.
After I had done this with the apps that I wanted real time notifications from (or battery tracking apps that I wanted always running in the background), I've never had any issues with late or missed notifications.
I don't use 'OK Google' to wake the phone. I'm not sure if this is possible with all newer phones or only with specific SoCs.
Thanks for your answers. That was that battery saver options. Have a nice weekend.

Unreliable Notifications

For the last few months I've been missing a lot of notifications on my S8 that previously worked flawlessly, both before and after I updated to Pie back in January.
Some apps like discord, Messenger and Snapchat need to be opened to check for new messages. If they aren't, a message notification can take anywhere between 10 minutes to a couple of hours to come through.
For each app I'm getting this problem with I've made sure that I've done the following:
- set the app to be not optimised in battery settings
- set the app to be allowed to run in the background in battery settings
- set the app to not be checked in memory in device care
- verified that no power saving mode is on
I've also done a complete factory reset of my phone and that didn't solve the issue.
I've noticed that in my battery usage monitor the apps I'm having problems with have no background usage at all. I have no problems with WhatsApp and it has hours of background usage each day but discord has 0m of background usage.
This leads me to believe the S8 is killing the app in the background. When I'm actively using the app (it's open or has only been in the background for a minute) it seems to work fine. But after a little while I'll stop getting notifications and when I open the app from my recents screen I see the splash screen as though I'm opening it for the first time and then after a few seconds I get the notifications from the last few hours.
I haven't been able to find any other settings that could be killing an app in the background that is both not battery optimised and not memory checked.
Any other people with this issue or know of a solution?

Categories

Resources