Good afternoon!
I have a question about AOSP based ROM's. At first I thought this was only occurring in the Nameless ROM but I can also find this behavior on other custom ROM's. It seems that apps are getting closed automatically after some time, as if I would go to the 'Recents' screen (or however this screen is called) and I would swipe those apps away.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
This is definitely noticeable when I wake up in the morning, almost all my apps are gone from Recents while I almost never swipe any apps away. I find this behavior not efficient since my phone never makes use of the 12GB RAM which I've spend extra money on. Here you can see that only 7 GB is actually used (including cached processes).
When I open up all my apps at once my RAM usage goes up but after some time it seems to close apps and it goes back to 5-6 GB of usage or so.
I find this frustrating. I have an iPhone 12 from work and I use that phone rarely. But a week later I can expect my app to still be open where I left it.
In the ROM's I tried, I tried disabling any battery savers if there were any, without result. I also have FKM installed and tried changing some memory related kernel settings which did appear to have some effect but that also might be a placebo and tbh I'm not fully aware what kernel settings I should apply.
TLDR: Can anyone advice me how I can stop my AOSP rom from clearing apps in the background?
Thanks for your input
Kind regards,
GolovaRaoul
Hi,
I have not tried any custom ROM yet, but I can confirm that default ROMs for "OnePlus, Xiaomi, Samsung" are all doing the same behavior once the phone is setting down and not being used for a while "sleep mode" this actually good in my opinion, it will automatically close all apps except the apps you are choosing to not to be closed "locked apps" in oxygen os, you can select multiple apps to prevent them from being closed during night or even when you tap "close all" button.
So, I think this is an Android optimization to save battery during night not only in AOSP ROMs.
Thanks for your response
Well I don't like this behavior personally. It takes time and processing power to re-open apps and navigate them back to the stage where I had them before. I need to relaunch Spotify 5 times per day which is annoying and I really shouldn't need to on a flagship smartphone with 12 GB of RAM.
GolovaRaoul said:
Thanks for your response
Well I don't like this behavior personally. It takes time and processing power to re-open apps and navigate them back to the stage where I had them before. I need to relaunch Spotify 5 times per day which is annoying and I really shouldn't need to on a flagship smartphone with 12 GB of RAM.
Click to expand...
Click to collapse
This actually not belong to RAM capacity itself, it is system implementations and how should apps behave. As I said it will only close the apps during "sleep period" and you can select multiple apps that you want them run in background all the time see attached photos.
You are welcome
dream2poet said:
This actually not belong to RAM capacity itself, it is system implementations and how should apps behave. As I said it will only close the apps during "sleep period" and you can select multiple apps that you want them run in background all the time see attached photos.
You are welcome
Click to expand...
Click to collapse
Yeah you could be right about the behavior. I still want to change it tho. And by default, AOSP does not have something like 'memory locking' and this is a feature of Oyxgen OS.
Related
I have an O2 xda 2s, and I've noticed that pressing the red phone button (normally used to hang up on a call or close the phone app) also closes any other applications I have running! It actually minimises them, i.e. they are still running in Settings/Memory/Running Programs. This is not ideal! Is this a known bug? Have any developers come across this? If so, any suggestions with how to prevent it from closing apps?
Thanks, Kath
i don't think its a bug mate i think its supposed to do that...
You might want to install a task manager to keep track of apps that are in the background. SPB battery bar comes with one, and I think it's free (not the "pro" version). It allows you to quickly jump between running apps.
Whenever you hit the Red Phone button it will minimize the application running. Remember, this may take a bit of your resources since it does not shut down the application. I would advise you taking a third party application which will close the application or even show you the runningn applications that were left running instead of going through the standard Settings - Memory procedure. Try SPB products or Battery Pack. They ain't free though...
as i understand it, the red fone button mimicks the operation of the X software button on the upper right corner of your window when outside the phone app. on desktops this would be the "close application" button but its default behavior on ppc's in general would be to minimize the app. kinda annoying but i guess it speeds up load times of commonly used apps. the only resource i see it hogging would be your memory as it is still loaded in your appications memory space but i dont think it will take up cpu time as it should be in sleep mode or sumthin like that.
there are a lot of add ons out there that can change that behavior to "close" instead of "minimize/standby". asides from what they recommended above, you can also try WISBar. dunno if it works on WM2003 tho (i use it on my WM2002 pda).
Thanks for your replies. My problem isn't so much that pressing the button is minimising rather than closing the apps, it's that I don't want it to minimise OR close my app, I want my app to remain open even when the red button is pressed. It seems like a wierd design feature to me. Does anyone know how to overcome the app being minimised?
Thanks again,
Kath
Dynamo 2 lets you switch between and close apps. And it looks cool!
http://www.aspecto-software.com/Dynamo/Dynamo.htm
Use the stylus on the icon at the top right of the screen you want to close. Or use the d-pad to navigate to select the window, then hold the middle d-pad button for half a sec to close it.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
kathhawkes - use something like ae button http://ae.inc.ru/aebplus_t.html to remap red button to something else. Then, make that "something else" be to just hang up. It should override default functionality.
V
I have been having issues with cm10.1 "android OS" using too much battery. And i have seemed to squash out the bugs. nearly doubling screen time. (in the sense that by bed time i had about 4 hours screen time and 10% battery left and now can hit 8 hours in a day)
I am going to slowly try different things to see where hte main issues were. but here are the majority of the changes i made.
1. Wifi, this should be off during the day, simple but true. Also i noticed build.prop had wifi scan interval set to 15 instead of the recommended 120
2. Auto rotate screen, i have read this has bugs in some builds (not sure on ours) it should be disabled unless you absolutely need it, you can add a quick tile for quick toggling. (I honestly think this is the biggest cuplrit)
3. Dev options, try to have all unneeded dev options off. I had strict mode enabled, not sure if it made a difference, but its useless cpu cycles.
4. Battery apps, as helpful as they are, uninstall asap, unless you are isolating a problem they eat cpu cycles trying to figure out what is eating your cpu cycles...
5. Notification Light, its not the LED so much as it is the CPU cycles required for the timing of the led light.
6. sign out of or uninstall/freeze (disable) google talk.
7. disable gps (use quick toggle for when really needed)
8. go to system settings -> google (under accounts) -> maps & lattitude -> make sure "report from this device" is unchecked and if you dont move around a lot (aka you work really close to home) turn location reporting to either do not update, or set location...
9. and of course any other common place one, screen brightness etc...
I will slowly implement these back in to see if they cause the drain to come back.
I think its auto rotation honestly, but it could have been a combination of all of them.
I get 8-9 hours on stock 4.1.2
I get 6 hours screen time in 4.2.2 without doing any of that, and I still think that's pretty bad compared to touchwiz. I use all those functions mentioned (except gtalk) all the time, so cm10.1 is nowhere near usable as a daily driver for me.
So battery is not draining on its own anymore.
Now time to find the culprit.
If its autorotation then the cm team can fix it and that's a good thing
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Sent from my GN2 using XDA app.
simonxliu said:
I get 6 hours screen time in 4.2.2 without doing any of that, and I still think that's pretty bad compared to touchwiz. I use all those functions mentioned (except gtalk) all the time, so cm10.1 is nowhere near usable as a daily driver for me.
Click to expand...
Click to collapse
I'm not saying cm10.1 is the culprit. I'm trying to figure out what is and so I can help squash it.
Sent from my GN2 using XDA app.
I get 8-9 hours on stock 4.1.2
I use Deviant's Xone rom. Get 2 days+ of use depending on how I use my phone. Even with heavy use I get a good day out of it, at least for what I need.
For more info on swap memory, check this article.
I know swap memory shouldn't be necessary on Android, as we already have ZRAM, however, that still takes up RAM space and we only have 4GB at our disposal.
Plus, 512MB of ZRAM is not that much, even if it's compressed.
I use a lot of apps. Most of them don't run in the background, so that's fine. However, the one time they do run is just after a reboot. Then they all fire almost at the same time because they have on-boot listeners and this clogs up my ZRAM and RAM completely causing everything to crash up to System UI.
When System UI resets after a while, all the apps get the on-boot command again and it repeats... The only solution I have right now is using System Monitor 2 to stop the processes continuously for a minute or so, until all the apps have gotten their on-boot command and the phone runs normally.
I've tried the background check and battery savings settings for those apps, but they still run on boot :/ I also looked at some apps that could block apps from starting on boot, but they all seemed a few years old, back from when phones still had 1GB of RAM.
So, as SWAP helped my laptop from crashing every time my RAM filled up, I thought it would help my phone as well!
The stock kernel however doesn't seem to support swap (which I checked with "su cat /proc/cpuinfo" as described in the article).
Next I tried ElementalX which also doesn't seem to support it.
Any other kernels I should try?
I'm not sure about Kernels with swap support but I use an app called SD Maid to turn off apps run at boot command. That app is constantly updated and does the job well.
How do you do that exactly? In appControl I can see which apps run at boot and I can uninstall or freeze the app, but not disable it booting as far as I can see
It's under app controls receiver manager. You can turn off start at boot and any other services it has.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Yess got it! Thanks! Let's test if that can solve my problem. I'm still curious towards a swap enabled kernel though, also for other reasons
Hmm for some reason all apps still wake after the boot is finished, even though I blocked them all with SDMaid. Really odd...
That is odd. SD Maid has worked really well for me. I don't know if it makes any difference but I'm using the Pro version. I've had it so long I can't remember what the difference between the free and pro versions are
I'm also using pro, so that's the same. But yeah, when booting I notice apps like AliExpress still starting when I disabled its boot receiver with sdmaid and even blocked it from running in the background in two places of the Android settings (battery saving and background check)
Hi all
As you can see in the image, the Samsung Notes app is running wayyyy too much in the background, eating up my battery. This is even after I make sure the app is closed after using it!
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
I tried to set the app to go to sleep, but this was not possible as it is a Samsung dedicated app. I couldn't even optimise this app either. The only solution seems to be "force stop"ing this app, which I prefer not to do as I use the app once or twice a day to write notes.
Anyone have any thoughts on how to stop this app from running so much in the background?
Possibly notes is trying to continuously update to the Samsung Cloud?
Birdsfan said:
Possibly notes is trying to continuously update to the Samsung Cloud?
Click to expand...
Click to collapse
Thanks for your response, but nope - I've disabled everything from being able to backup to Samsung cloud
Personally I don't understand why the applications stay active in memory after I stop using them, since I can't tell the difference even if my life depend on it if apps is cold started, or starts from memory, either way it starts almost instantly, so yes I would definitely force stop it myself, especially that I feel this "feature" of all apps staying in memory is more for advertising purposes than anything else, especially now. There is a switch to either put app to sleep or not allow background activity, one is under apps inside battery menu, another under battery usage menu. I'm trying to limit all apps from running in the background, except for map which needs to be constantly updated for traffic, but what a pain in the neck it is, there are over 400 apps on the damn phone.
bobtehbuilder said:
Thanks for your response, but nope - I've disabled everything from being able to backup to Samsung cloud
Click to expand...
Click to collapse
Disable or uninstall this trashware.
Switch to an app that stores your notes in a standard format such as text files etc so you can always read them in the future.
Finding a good free office app is now almost impossible for Android. I use an old copy of Kingsoft WPS Office. Today's newer versions though are pure crap unless you pay, pay, pay.
Used Samsung Notes on my S4 but restoring them became a tedious nightmare when I migrated to the Note 10 platform because Samsang "upgraded" their app so it wasn't backwards compatible with their older version's note files.
Don't trust Samsung with any data you care about; they will make it obsolete by their time table not yours.
Thanks for nothing Samsung... feel the wuv for the rabid gerbils in the box.
As you can see my phone Charges pretty fast. It Charges 0 to 100 in one hour. But charge Drains fast also like 4 and half hour screen time. Im on MIUI 13 global.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Koriam said:
As you can see my phone Charges pretty fast. It Charges 0 to 100 in one hour. But charge Drains fast also like 4 and half hour screen time. Im on MIUI 13 global.View attachment 5579973
Click to expand...
Click to collapse
That's stock MIUI, right? It's possible you have some background stuff going on that drains the battery on a regular basis. If you haven't already, try clearing your Recents view to see if that helps.
I am using Arrow OS 12.0, myself, and ended up enabling the Developer Options selection for 'kills all activities once user leaves them'. This improved my active consumption rate from being ~8-9% per hour to ~6% per hour. You can give it a try, too!
Veiranx said:
That's stock MIUI, right? It's possible you have some background stuff going on that drains the battery on a regular basis. If you haven't already, try clearing your Recents view to see if that helps.
I am using Arrow OS 12.0, myself, and ended up enabling the Developer Options selection for 'kills all activities once user leaves them'. This improved my active consumption rate from being ~8-9% per hour to ~6% per hour. You can give it a try, too!
Click to expand...
Click to collapse
Yes its stock. I couldnt find any app yet, im Still searching and looking for a help.
Oh, maybe you have the same issue that I had.
Check if the MIUI gallery is going crazy in the background. I have yet to figure out what caused that, but it wrecked havoc on my device.
Get something to view your CPU frequency in real time, normally all cores should idle at under 1000MHz with nothing else open in the background (I used CPU Float to check that).
If your little and/or middle cores appear to be clocked high, try to see if force closing the gallery and not reopening it helps. I fixed it for good only after having disabled its storage permission, ended up switching to google photos instead.
Hope this helps.
Dariusdd said:
Oh, maybe you have the same issue that I had.
Check if the MIUI gallery is going crazy in the background. I have yet to figure out what caused that, but it wrecked havoc on my device.
Get something to view your CPU frequency in real time, normally all cores should idle at under 1000MHz with nothing else open in the background (I used CPU Float to check that).
If your little and/or middle cores appear to be clocked high, try to see if force closing the gallery and not reopening it helps. I fixed it for good only after having disabled its storage permission, ended up switching to google photos instead.
Hope this helps.
Click to expand...
Click to collapse
It looks like this and going crazy up and down all the time. I force stopped gallery and remove the permission but its Still the same.