Managing Memory - Captivate General

Hi all,
One habit I've developed with the Captivate is using Advanced Task Killer to kill apps that otherwise would just be hanging out in memory. I do this probably because I'm anal retentive like that, but also with the thought that it save me battery life if I do.
This has led to two questions of mine (excuse the noobiness to Android if these have been discussed):
1.) Why do so many applications start automatically when the phone boots up? (browser, gallery, etc etc). Is there a startup ini somewhere I can edit to prevent this or do all the apps just wake up? It's easy enough to kill, but I find some of the apps that start up very odd.
2.) Over the course of the day, even with Autokill on and security set to "Low", eventually my memory is consumed and it only gets back to its full state until the phone is rebooted. After all obvious apps have been killed the memory usage will will go from ~170mb (after a reboot) to as low as ~130mb (at the end of the day). Does anyone know why that happens and if there is a better way to manage memory/apps?
Thanks.

I used to use task killers, but I have uninstalled them and just let android do its thing. The only reason I'll end a program is if the program has an exit function or has froze, which is rare. With this method I don't have any slowdowns and great battery life. On the flipside I don't install poorly developed apps. Thats just me though.
Sent from my SAMSUNG-SGH-I897 using XDA App

Related

Sure fire way to stop background programs from running?

I'm attempting to try to increase my battery life so it lasts longer than 12 hours (~13 seems to be my limit). (I'll admit I'm a bit jealous of those who can run the phone 24+ hours) Though it's somewhat painful, I'm shutting down most the programs I have running in the background. However there seems to be a number that like to restart even after I think I've disabled their startup, widgets, notifications, etc.
Is there a way to make sure programs that you install don't run? Or at least don't launch during start up? Perhaps something like msconfig in windows?
Thanks.
Raleran said:
I'm attempting to try to increase my battery life so it lasts longer than 12 hours (~13 seems to be my limit). (I'll admit I'm a bit jealous of those who can run the phone 24+ hours) Though it's somewhat painful, I'm shutting down most the programs I have running in the background. However there seems to be a number that like to restart even after I think I've disabled their startup, widgets, notifications, etc.
Is there a way to make sure programs that you install don't run? Or at least don't launch during start up? Perhaps something like msconfig in windows?
Thanks.
Click to expand...
Click to collapse
Killing background tasks will only decrease your battery life. When an application goes to the background, it sits in memory but does NOT consume any CPU power. since the memory is in solid state, it requires no power to stay in that state. By constantly killing background applications, it will need to start up, reinitialize, and consume more power then if you had just left it alone. Also, long term performance will be negatively affected, even if you do expereince a small short term performance gain. the Android OS is designed at the core level to have applications behave this way, and modifying that behavior will make for a worse experience.
asrrin29 said:
Killing background tasks will only decrease your battery life. When an application goes to the background, it sits in memory but does NOT consume any CPU power. since the memory is in solid state, it requires no power to stay in that state. By constantly killing background applications, it will need to start up, reinitialize, and consume more power then if you had just left it alone. Also, long term performance will be negatively affected, even if you do expereince a small short term performance gain. the Android OS is designed at the core level to have applications behave this way, and modifying that behavior will make for a worse experience.
Click to expand...
Click to collapse
Eh, this is the first I've heard this. I don't remember reading this in the various battery optimization guides.
Still is there a was to stop things short of uninstalling? For example, I want to stop using the Yahoo Mail app but don't want to install yet. I went through all the options I could to disable checking/notifications, etc but it still pops back into memory constantly.
I assume youve tried the obvious, turn off WiFi (3G) and screen when not actively using it?! Those are the big batt.-eaters
Sent from my HTC Magic using XDA App
asrrin29 said:
Killing background tasks will only decrease your battery life. When an application goes to the background, it sits in memory but does NOT consume any CPU power. since the memory is in solid state, it requires no power to stay in that state. By constantly killing background applications, it will need to start up, reinitialize, and consume more power then if you had just left it alone. Also, long term performance will be negatively affected, even if you do expereince a small short term performance gain. the Android OS is designed at the core level to have applications behave this way, and modifying that behavior will make for a worse experience.
Click to expand...
Click to collapse
Documentation? As far as I have read an application does not go into any type of dehydrated state when running in the background / minimized. It can do anything it wants including using CPU cycles.
I do agree that most applications do not need to be killed with a task killer but leaving 3D games (for example) running in the background could hurt your battery. Also not all applications are progammed with ther same fore thought and skill level.
I get about 33% more runtime out of my battery using a task killer to kill specific applications that I know I do not want running in the background.
Streaker said:
I assume youve tried the obvious, turn off WiFi (3G) and screen when not actively using it?! Those are the big batt.-eaters
Click to expand...
Click to collapse
I leave wifi on since I'm usually in range. It's more efficient than 3g right? I alway sleep the device when I'm done. I still have huge percentages on the screen when looking at the battery usage. I'm trying a completely black screen now.
Mainly your widgets and icons and stuff still cover large portions of it, so: a black screen will help, not but alot.
Also, to keep items in RAM, to the second poster... What do you think is keeping those items in RAM?
Ummm... It's the CPU.
Task Killers won't help you on RAM usage at all (Because Android will automatically shuffle them out if it has to, or so I've read... I've yet to hit max memory). Task Killers DO help you as far as battery use goes, though... Keeping the browser killed if you aren't using it, etc.
Bjd223 said:
Documentation? As far as I have read an application does not go into any type of dehydrated state when running in the background / minimized. It can do anything it wants including using CPU cycles.
I do agree that most applications do not need to be killed with a task killer but leaving 3D games (for example) running in the background could hurt your battery. Also not all applications are progammed with ther same fore thought and skill level.
I get about 33% more runtime out of my battery using a task killer to kill specific applications that I know I do not want running in the background.
Click to expand...
Click to collapse
I should clarify. I guess the term I meant to use is "suspended." If a program is actively "running" in the background, it will use CPU cycles. But if you simply stopped using a program, say for example the xda app, and returned to your homescreen, the application stays "suspended" in the background and consumes no CPU cycles until you go back to it. Now services that are updating, such as email or SMS, will use CPU cycles in the background because they are still actively running. But if you want to conserve battery life you can simply disable the notifications from most of these programs.
asrrin29 said:
I should clarify. I guess the term I meant to use is "suspended." If a program is actively "running" in the background, it will use CPU cycles. But if you simply stopped using a program, say for example the xda app, and returned to your homescreen, the application stays "suspended" in the background and consumes no CPU cycles until you go back to it. Now services that are updating, such as email or SMS, will use CPU cycles in the background because they are still actively running. But if you want to conserve battery life you can simply disable the notifications from most of these programs.
Click to expand...
Click to collapse
The app itself at that point may not be but the Android OS still does to maintain that suspended state.
I have some applications I rarely use or even some that I've never used but may want to in the future. I see absolutely no benefit in keeping these applications in the background. Further more, I've noticed a signficant drain on the battery when extra applications are running in the background. I'm sure it's not all of them, but I've yet to discover who exactly the culpit is. Right now I suspect it's the NPR app, perhaps due to data use?
The point is, there are perfectly good reasons to keep some apps in the background, and perfectly good reasons to kill others - or perferrably not have them start up at all unless I do it myself. Could be due to data usage (especially if you do not have unlimited data), could be due to concerns about excessive cpu usage. There really should be a clear method in which you can stop applications from opening on their own.
You can use the program "Autostarts" to keep applications from starting at startup. With it you can also prevent things from launching under a number of other situations. That might be what you are looking for. Just do a google search for the APK as I don't think it is in the market.
Sent from my SAMSUNG-SGH-I897 using XDA App
Shuggins said:
You can use the program "Autostarts" to keep applications from starting at startup. With it you can also prevent things from launching under a number of other situations. That might be what you are looking for. Just do a google search for the APK as I don't think it is in the market.
Wouldn't tasker also help?
Sent from my SAMSUNG-SGH-I897 using XDA App
Click to expand...
Click to collapse
Sent from my AOSP on XDANDROID MSM using XDA App
To me, it's not a matter of "task killer or not", but rather when and where to use one. And I think it's simple: Don't bother, unless you suspect a specific app is doing something you don't want it to do in the background. Then, just kill that specific app and leave everything else alone. A Task manager that shows CPU% for each process can be handy for this as well.
I generally try to avoid killing tasks, but one night I had 50% battery on my phone and after about 2 hours or so I took it out of my pocket to make a phone call, and it was very hot and had about 12% of batter left -- something was running wild that shouldn't have been (I think it was Pandora, even though it was not currently playing any music!) So, background apps do occasionally run out of control, and you do need to occasionally kill them, but do it on an "as needed" basis.
Raleran said:
I'm attempting to try to increase my battery life so it lasts longer than 12 hours (~13 seems to be my limit). (I'll admit I'm a bit jealous of those who can run the phone 24+ hours) Though it's somewhat painful, I'm shutting down most the programs I have running in the background.
Click to expand...
Click to collapse
Unless the background process is syncing data, it won't eat your battery. So instead of wasting your time, you should focus on other energy hogs. Things like screen brightness, bluetooth, wifi, and gps.
Shuggins said:
You can use the program "Autostarts" to keep applications from starting at startup. With it you can also prevent things from launching under a number of other situations. That might be what you are looking for. Just do a google search for the APK as I don't think it is in the market.
Sent from my SAMSUNG-SGH-I897 using XDA App
Click to expand...
Click to collapse
I installed Advanced Task Killer from the Market. It lets you kill all running applications including itself.
durrence
jsmith8858 said:
To me, it's not a matter of "task killer or not", but rather when and where to use one. And I think it's simple: Don't bother, unless you suspect a specific app is doing something you don't want it to do in the background. Then, just kill that specific app and leave everything else alone. A Task manager that shows CPU% for each process can be handy for this as well.
I generally try to avoid killing tasks, but one night I had 50% battery on my phone and after about 2 hours or so I took it out of my pocket to make a phone call, and it was very hot and had about 12% of batter left -- something was running wild that shouldn't have been (I think it was Pandora, even though it was not currently playing any music!) So, background apps do occasionally run out of control, and you do need to occasionally kill them, but do it on an "as needed" basis.
Click to expand...
Click to collapse
Or an auto-killer would've killed it before it killed your battery by 38% lol
Task Killings are bad, mmmkay...
Slightly off topic:
To help conserve battery power,
Use an all black desktop background since the black areas dont use battery power.
Hmm, people in this thread have said a few things that I haven't heard or seen much before. Specifically that killing apps could decrease battery life. When I first downloaded advanced task killer I tended to kill most things. I slowly backed off and now I've been watching what launches and what tends to come back and not kill those (mail apps, widgets, performance watchers, etc). The second is that not having a black background doesn't necessarily improve battery life. Makes sense considering I have icons everywhere on my screen.
@Shuggins - Thank you! That's exactly what I was looking for. I've downloaded it but now I have to, er charge my battery a bit before I can take a close look at it.
@jsmith8858 - Are you running setCPU? A couple days ago I noticed my battery running pretty hot. I stopped using setCPU and the battery cooled down a lot. I've used setCPU since them without the heat issue so I'm not sure what was going on.
Well during todays iteration I ran for about 12 hours (typical). I had a couple short phone calls, 2 email accounts syncing as well as other bg syncing processes. I did eat up 30% in an hour messing with a game. I'd probably have 13-14 hours if I didn't play anything (but if I didn't what's the point of the phone . Still, as much as I love it the screen is killing me. Guess there's nothing to do about it though (usually brightness is all the way down, turn it off when I'm not using it, using a darker background). I didn't kill any of my background processes today. I'm going to set up that Autostarts program and start auto-killing various programs tomorrow.
You can try using autokiller and art it to extreme, but I don't recommend this
Sent from my HTC Dream using XDA App

[Q] Does Inactive Apps use battery in Android 2.1?

I got new Captivate two weeks ago and I didnt had any knowledge of Android before that. So as every noob does, I also got worried about my aweful battery and installed task killers. But I noticed that my phone started to lag. So after reading many articles and comments, I came to conclusion that I don't really need Task killer and Android is designed to stop all unwanted Apps itself (correct me if I am wrong here please)
So I thought to test something. I opened camera and then clicked back (not home key but back). The running apps in settings showed its not running, but in System Panel (as suggested by the author of one of the article) it shows Camera is still open but inactive.
So my question is, do these inactive but open apps consume bettery or affect performance?
My question may sound stupid, but I am really concerned about my battery not lasting more than 10 hrs.
If they use a lot of data and have constant updates then yes, they will consume a significant amount of battery. A moderatly simple app that is open but doesnt require data nor act frequently wont use a lot of battery at all. I still use a task killer, as android doesnt automatically "kill" on its own. You can avoid a lot of trouble by just turning off your mobile network when youre not using it; thats a great battery saver in general... good luck
Sent from my FroyoEris using XDA App
hilerc said:
You can avoid a lot of trouble by just turning off your mobile network when youre not using it; thats a great battery saver in general... good luck
Click to expand...
Click to collapse
Thanks for replying...
I have tweek to trun off my 3g and its never on. But at work I use Wifi to listen to online radio on my phone. So do I have to kill apps like TweetDeck, Facebook and Gmail, with Task killer? Even though I have disabled auto sync for these accounts.

[Q] EC10 Mesmerize Process strain

Hi guys,
I have a USCC Mesmerize with EC10 PNP w/ none of the pack addons.
I would consider my phone to be very slim. I pretty much only use the camera, sms, mms, internet, & phone.
But still after my phone has been on for a while my process is up to 295/349 MB
I constantly use the stock task manager with Level 2 clear memory option to kill the active process.
When I do this I normally close anywhere from 5-12 process's. Sometimes I will get a drop to around 245MB and other times it will stick around 282MB
On a fresh restart my phone boots up with 164MB
I immediately goto task manager and do a level 2 clearing of the memory and end up closing 10 programs with a RAM use of 131MB
Is there anything out there app or otherwise I can use to stop and prevent all non-critical process's?
uselessmidget said:
Hi guys,
I have a USCC Mesmerize with EC10 PNP w/ none of the pack addons.
I would consider my phone to be very slim. I pretty much only use the camera, sms, mms, internet, & phone.
But still after my phone has been on for a while my process is up to 295/349 MB
I constantly use the stock task manager with Level 2 clear memory option to kill the active process.
When I do this I normally close anywhere from 5-12 process's. Sometimes I will get a drop to around 245MB and other times it will stick around 282MB
On a fresh restart my phone boots up with 164MB
I immediately goto task manager and do a level 2 clearing of the memory and end up closing 10 programs with a RAM use of 131MB
Is there anything out there app or otherwise I can use to stop and prevent all non-critical process's?
Click to expand...
Click to collapse
That sounds pretty normal from what I have seen. Are you having any issues or just like to see the Rom lower?
Actually android by design is supposed to run almost always at full ram/memory compacity. Using a task killer other than stock can give unwanted results. My phone runs the same as yours does. When you kill off task the systen will automaticly reload common and system apps. Its the nature of android. Unless your having really bad performance. I wouldn't worry about it.
Edit: Ninja'd.
Tap-a-Talked from my Mesmerize
I agree with akellar, that sounds pretty normal. I mean, are you actually suffering any performance issues? If you're not, then you're just worrying about nothing.
Similar stuff here. I use the level 2 clear as well, but mainly to save battery. I run the clear,just before I set it down for a no use period or prior to bedtime and it saves battery big time.
Sent from my SCH-I500 using Tapatalk
No not really any performance issues. Sometimes but its infrequent enough that I couldn't describe it.
That was mainly my thought was saving on battery.
Why have all this crap running if you aren't using it?
Technicly its not running. It is suspended. While it is in ram it isn't using any processing power until the app is brought to the foreground meaning you are using it. Android does this so these apps are ready to go when you need them. I quit using task killers other than the stock one a while back and noticed a big jump in battery and performance. I though they were helping me when in reality it was hurting me. Take a read on android and how it handles multi tasking. It explains it really well. I wish I had a link handy hut if you google it you will find several articles on it.
Tap-a-Talked from my Mesmerize
Yeah, you are actually wasting battery by having the screen on in order to end tasks that aren't actually running.
Either way, my battery lasts longer. I understand the logic, but in reality - my battery lasts longer.
Sent from my SCH-I500 using Tapatalk
I've read probably 20 or 30 articles on this explaining bboth sides and hundreds of user opinions who say to use them, don't use them, use them once a day, etc and why they think that. I really think it depends on what you do with your phone, because in my personal experience I am a heavy user of my phone, constantly switching applications and loading browsers and whatnot. If I don't use a taskkiller then my phone becomes unresponsive and almost unusable at times. I know you're supposed to stay away from them and I have tried that but it is really obvious that it is useful when I can press a button and have my phone actually work again.
For somebody like the OP that just uses it like a normal phone and not a computer like I do, you probably shouldn't use one unless you are really getting slowdowns. It all depends on what exactly is using the memory and not getting killed by the system.
Sent from my CM7 SCH-i500
I agree to an extent. I use the paid version of system panel to monitor apps like that from time to time. I use the stock task killer and do a level two kill after I have been on my phone switching between programs and such. And it does make a difference is performance. Depending on what you are dping depends on whether you should use one or not. I thinl the big depate is whether you should use an auto kill function. Its one thing to kill all task here and there to improve performance but another to have an app doing it every five or ten minutes. I think that's were the big battery drains happen. Anyway. To each there own and if they see it helps them in how there phone performs and are happy with the results, then maybe a task killer ia for them. For me. I just use the stock task manager and it works fine.
Tap-a-Talked from my Mesmerize

[Q] The MIUI app killer - mem leak?

I just noticed that if I repeatedly press to kill apps, it always frees some space - there is never 0bytes freed, even if I press it twice within the same second. I don't know much about android's architecture, but in software programs that indicates a memory leak somewhere. Is this the same?
im not an expert either but from what i've read, i believe its because when you kill apps with the app killer, some apps are restarted (such as necessary ones that the phone needs to run) and that causes some memory to be used again.
dont worry too much about killing apps in android, if apps aren't being used and are in the background, it is suspended and doesn't use the cpu. memory is cleared when needed automatically
Yea some apps just restart. Thats why if you close out all your apps and go back in a few seconds later, some are open again.
No big deal. I also use Go Launcher with its app killer tab in the program menu.
Alright, cool. Just wanted to know.

problem masive battery drain

sou i bought my desire s for 6 months and i used it and daly use it vas ok calls messages games wi fi and when i go to sleep i put it on charger vith 15-20% of battery now for feiw days my battery drain is masive i just use it for feiw calls and messages i dont turn on wi fi or play games or something i set everithing on poversave but the problem is there and my phone is losing signal what sould i do???? im completly stock
sorry for my bad english
No no no. I already requested for your thread to be moved here. You should have just waited instead of opening up a new one again!
Sent from my Desire S using xda premium
Install better battery starts and check your wakelocks. Seeing is keeping your phone awake.
In the mean while post a screenshot of your battery usage
Sent from a Desire S waiting for Kernel 3 sources. WAKE UP HTC!!!!
if you're using 3g and your phone is losing signal then thats why. low signal strength will kill your battery as it constantly tries to find a new stronger cell and has to keep disconnecting switching to 2g then back to 3g etc. turn your wifi back on it uses less power than 3g
Try es task manager to stop stuff loading on boot as well. Used it on my ds and on the wife's sensation xe. Wife was getting big battery drain, would last a day after ics update, now it lasts 2
Sent from my HTC Desire S using XDA
Task Killer Misconceptions
So we’ve explained how android works, what it means by “running” apps, and how it automatically manages its own memory so you can stick to enjoying your phone, lets move onto dispelling some common misconceptions about android and the use of task killers:
“Task killers make my battery last longer” – FALSE!
Task killers actually do the opposite, they make your battery life shorter! Lets look at what exactly you are doing when you kill a task. You are completely removing it from memory. Ok, so compared to leaving it in memory you are expecting to save battery? No, whether or not that bit of memory is used by an app or is free, the same amount of battery is going to be used. You are actually reducing battery life because when you next go to use that app, you have to fully reopen it, this uses more memory than simply bringing it out of memory.
“Task killers make my phone run faster” – FALSE
Task killers cause your phone to become unstable and jerky. Killing processes is bad because a process may be shared between applications. When you kill it, you are causing disruption within the OS, forcing apps to reopen, to reopen a shared process.
“There is no exit button, thats why i use a task killer” – FALSE
There is no exit button because android was designed to never have the need for a user to close apps. If an app needs closing, android will do this itself.
or http://droid-den.com/android-guides/android-guide-should-i-use-a-task-killer/
@up you're right. But PCrepair was talking about a task manager to prevent some apps from starting at device boot. That's something different. Your really long quoted post was a little bit unnecessary..
Sent by my fingers to your head.
I don't agree with you. I am a fan of ES apps but Es Task Manager mainly purpouse is to kill tasks.
I don't know what's causing the OP's problem but i am 99% sure that a task manager/killer is not the solution.
And please try not to comment my posts context/quallity i don't want to start a flame but i am sure you are not proude of more than 30% of your posts.
Sent from my HTC Desire S
@uq the reason for the es app is to stop none essential apps starting on boot. I agree that task killers will drain battery quicker.
Sent from my HTC Desire S using XDA

Categories

Resources