[Q] how to check which process is killing the battery? - Galaxy S II Q&A, Help & Troubleshooting

Hi.
Yesterday night something strange happened to my sgs. I went to bed with about 30% juice on the phone. When i wake up after 5 hours, the phone was flat.
I suspect that a rouge app is killing the battery. How can i figure out which app is draining the battery?
Sent from my GT-I9100 using XDA App

you can go to Settings > About phone > Battery usage .
you will see list of the hardwares ( such as Disply ), and softwares tthat use the battery and the % of each one is using.
I hope that helped you,,

xenomage said:
Hi.
Yesterday night something strange happened to my sgs. I went to bed with about 30% juice on the phone. When i wake up after 5 hours, the phone was flat.
I suspect that a rouge app is killing the battery. How can i figure out which app is draining the battery?
Sent from my GT-I9100 using XDA App
Click to expand...
Click to collapse
Use Watchdog from Market. It will alert you when appas are misbehaving/using a cpu beyond a threshold.
To see what processes are causing wakelocks (wakes from deep sleep), use BetterBatteryStats. It;s free on XDA.
http://forum.xda-developers.com/showthread.php?t=1179809
If you are on 2.3.3, then it might be Wifi Sharing Manager that's causing battery drain.
Use Antek App Manager, a free app from market to freeze the two system apps related to wifi sharing.

about battery usage.
also you can go to task manager before leaving your phone for hours and stop all active apps. i do this on a daily basis. i also have task manager on a home screen for easy access. =)

Using task killers won't save you any battery. Android has a powerful memory management feature. When it runs out of memory (in our sgs2 with 1 gb ram, that's almost impossible), it removes finished apps from memory automatically. Some apps are kept in memory for faster launch. Idle apps in memory doesn't consume any cpu. Hence it doesn't drain your battery!

Related

At startup memory available is at 150mb but gradually decreases all day? Why?

So I installed automatic task killer just to see if I noticed a difference. So it says it is freeing memory when I engage it. Great, more memory available seems to allow the phone to run smoother/quicker. However, give the phone a couple of hours and gradually the available memory on the phone lowers and lowers until it goes below 100mb and beyond. Engaging automatic task killer frees some memory but does not bring it back to its startup memory of over 150mb. I of course do notice that my phone begins to get "laggy" once I start to dip below 100mb. I guess my question is, "where is all my memory going?". Im not too concerned about using automatic task killer. I just want to know where my memory is going cause this is most certainly the cause of a laggy phone. A quick reboot and my phone is back to its highest point of 158mb and running nice and smooth. What gives? Also where are the other 150mb or so that the phone has available according to specs? If its all dedicated to the the android OS than why is the phone so laggy by the end of day? Sorry if its too many questions but im just looking for some insight into the memory management of the x10 and android. Maybe a 1.6 issue?
It's nothing to worry about. Unused memory is useless memory. It's *nix based so the memory in use isn't going to drain the battery or slow the system down. It manages everything by itself. By repeatedly killing tasks you're actually stressing things unnecessarily.
The only time you should kill all the tasks is when you know something is being problematic, before locking your phone when you have a suspicious app that doesn't always stop automatically, etc. Otherwise the Android OS takes care of this by itself.
I stopped using task killers months ago (except for when I lock my phone because of what I mentioned above.. programs keeping it from going into a deep sleep) and my battery easily lasts two days with periods of very heavy usage.
I only use a task killer to kill certain things when they cause problems, which is not often. Things I use often I leave in memory, they only get reloaded anyway.
Tbh if things are getting laggy that quickly you probably have an app that is misbehaving.
Sent from my X10i using XDA App
Thanks for the quick replies. Automatic task killer has already been uninstalled. Looking forward to the update with hopes that it helps with lag issues
Sent from my X10a using XDA App
Well that still doesn't solve the problem of badly written apps draining the battery. Often I've found that without a task killer my battery life has improved, but on occasion when I download a new app, I look at my battery usage a few hours later, and that app has managed to use 45% of my battery even though I used it for a few minutes. So then I just reboot
In conclusion, don't use a task killer, but keep an eye on the battery usage feature if you find that it has suddenly gone down (Settings -> About Phone -> Battery Usage)
I use Memory Booster. Quiet amazing.
hi i used to be same as you and always used talk killers
then i came across this article http:// www.ipmart-forum.com/ showthread.php?t=528674 (watch for spaces in the link)
since reading this i installed watchdog lite and i only kill a task if its overusing the system.
you can set it to notify you when an app is using more than a certain % of resources and its great then if i need to i just kill that app/process
pngface said:
Well that still doesn't solve the problem of badly written apps draining the battery. Often I've found that without a task killer my battery life has improved, but on occasion when I download a new app, I look at my battery usage a few hours later, and that app has managed to use 45% of my battery even though I used it for a few minutes. So then I just reboot
In conclusion, don't use a task killer, but keep an eye on the battery usage feature if you find that it has suddenly gone down (Settings -> About Phone -> Battery Usage)
Click to expand...
Click to collapse
that doesn't work all the time is kinda annoying to keep checking your phone and see if the battery is alive or not
bongd said:
It's nothing to worry about. Unused memory is useless memory. It's *nix based so the memory in use isn't going to drain the battery or slow the system down. It manages everything by itself. By repeatedly killing tasks you're actually stressing things unnecessarily.
The only time you should kill all the tasks is when you know something is being problematic, before locking your phone when you have a suspicious app that doesn't always stop automatically, etc. Otherwise the Android OS takes care of this by itself.
I stopped using task killers months ago (except for when I lock my phone because of what I mentioned above.. programs keeping it from going into a deep sleep) and my battery easily lasts two days with periods of very heavy usage.
Click to expand...
Click to collapse
K i seriusly need some answers how the hell do people come to know which app prevents it from sleeping? how can you figure out a bad application . does sleep here means when locks itself and screen goes blank? confused :S

[Q] BetterBatteryStats

Does BetterBatteryStats app uses more battery and cause more wakelocks?
Should I install it?
Haven't noticed any battery draining from BBS. It only presents the already existing battery usage stats in more detail. It would use more battery if you grant it superuser status to check for alarm and networks stats.
It does help identify any rogue battery draining apps you might have. Haven't really found a use for it otherwise. Won't worry too much about installing it if you already have good enough battery life atm.
What I do is enable it every week or so under a normal usage scenario, see what's draining my battery and fix it (I usually have installed and removed alot) then I freeze the app with Titanium because there is no reason to have it running
Sent from my GT-I9305 using xda app-developers app

[Q] Application which forces all processes to 0% cpu usage when idle?

My idle cpu usage seems a little high and sporadic and I'd like to force them all to 0% when idle but still be able to receive background data like for instance my play store seems to use a continuous idle usage and a few others. I can freeze them with the System Tuner but I'd prefer to Globally force all apps to 0% usage so I'm getting say 1% usage at idle on occasion every hour or few hours? When I use System Monitor, I see my cpu usage kind of jumping from 0 to up to 35-40% while idling and I don't want these apps using any resources at idle. I'm trying to extend battery life a lot more.
My battery life is really good already since I have a 3600mah battery but I could get even better if I can dial in the usage at idle.
Is there application that can do that?
On another note, I can't seem to figure out why my Google Calendar won't open a "New Event" it just sits on the Loading... Screen
Thanks
Greenify! It's in the play store for free
Me Gusta!
Greenify is best for hibernate user apps you can also prevent system apps with Rom Toolbox>app manager>select app>advance freeze>disable useless services
Use Ds battery saver pro for better deep sleep
If your android version is 4+ go to settings>developer options>choose background processes atmost 2
Sent from my LG-P880 using xda premium
I wish the Developer options for the the services would stick after reboot since it always reverts...
1chris89 said:
I wish the Developer options for the the services would stick after reboot since it always reverts...
Click to expand...
Click to collapse
Yes it's reverts in every reboot
Sent from my LG-P880 using xda premium
None of those things changed it, still getting a minimum of 15% usage at complete idle with 0 processes allowed and close every app after use.
Not sure what do here... Battery life while in use is poor just because of those background load.
1chris89 said:
None of those things changed it, still getting a minimum of 15% usage at complete idle with 0 processes allowed and close every app after use.
Not sure what do here... Battery life while in use is poor just because of those background load.
Click to expand...
Click to collapse
Buy betterbatterystats and check wich app or wakelocks are draining your battery,if you find nothing then throw the battery in dustbin.
Sent from my LG-P880 using xda premium

The truth about battery saver apps, cleaners, etc

The last week or so since I got my HTC One Max, I have been slowly configuring it and setting it up to my tastes. On my previous phone, an HTC Rezound, I used an app called Clean Master to manage the phones ram, and Battery Doctor to extend its battery life. I tried an application called Battery Guru on my Max, but it actually drained the battery faster while the phone was not doing anything. After uninstalling it, my battery life seems to have shot upwards. I have not re-installed Battery Doctor. I have read the following things about these battery saver apps over the last few days:
1. Some say the applications are not needed and you should not use them, especially if they include a task manager. The logic was that Android was designed to have multiple apps in memory all the time, and closing them, then opening them again from scratch, uses up the battery.
2.Others have said just the opposite. They claim the applications greatly increase battery life. If you read the reviews on the Android Market about these two applications, that seems to be the case.
Both of these applications I have used get rave reviews from the many folks that have used them. Is the benefit they are seeing just imagined? Do the applications actually work? Is it also possible that they work for some and not others, since there are a lot of models of Android devices out there?
Most things that are ram "cleaners" are just giving you a slight point in time speed boost. Your ram will fill up again (as it should). Most so called battery doctors cripple your phone to extend battery life (think extreme power saver on the Max). What you want is something that blocks the applications that you do have running from performing activities in the background that you dont need at that moment ( think facebook looking for your location even when not using it just so it will know it faster when you open the app).
I use a combo of firewall to block most apps from using the internet (radio takes a lot of battery) and greenify which hibernates the app while keeping it in ram so it brings me into the app where I was before.
mikekoz said:
The last week or so since I got my HTC One Max, I have been slowly configuring it and setting it up to my tastes. On my previous phone, an HTC Rezound, I used an app called Clean Master to manage the phones ram, and Battery Doctor to extend its battery life. I tried an application called Battery Guru on my Max, but it actually drained the battery faster while the phone was not doing anything. After uninstalling it, my battery life seems to have shot upwards. I have not re-installed Battery Doctor. I have read the following things about these battery saver apps over the last few days:
1. Some say the applications are not needed and you should not use them, especially if they include a task manager. The logic was that Android was designed to have multiple apps in memory all the time, and closing them, then opening them again from scratch, uses up the battery.
2.Others have said just the opposite. They claim the applications greatly increase battery life. If you read the reviews on the Android Market about these two applications, that seems to be the case.
Both of these applications I have used get rave reviews from the many folks that have used them. Is the benefit they are seeing just imagined? Do the applications actually work? Is it also possible that they work for some and not others, since there are a lot of models of Android devices out there?
Click to expand...
Click to collapse
Try greenify
Sent from my HTC One max using xda app-developers app
Free ram is idle ram. Having a lot of ram usage isnt a bad thing... Don't know how many people think the opposite. Now if it gets too high then yea its an issue when opening new apps but this issue died with gingerbread in all reality. Some would argue task managers even died with froyo.
Sent from my HTC0P3P7 using xda app-developers app
Thanks everybody! I have installed Greenify, and removed Battery Doctor and Clean Sweep, and my phone is running great! I like it so much, I have put Greenify on my other Android tablets. No more battery saving apps or task managers for me!!
The trick is to properly manage the apps that you use.
The problem with task killers is that some apps that you kill will simply "respawn" themselves automatically in the background. Killing apps that do this just means your phone is constantly closing/opening the app again and again which is worse than not killing it in the first place. You will just have to experiment and check which apps respawn after killing them and avoid having the task killer auto-kill those apps, or uninstall those apps.
You also have battery saver apps that try to manage turning certain features on/off like WiFi, GPS and Blutooth. The most efficient way of managing this is to manually disable those features when you don't need them. Having an app do this for you means that app now has to be running all the time to manage those other features, which itself will ironically increase battery usage.
Avoiding as many apps as possible that need to constantly run in the background to perform it's function. These mostly include instant messenger apps or other apps that regularly check the internet for updates in the background. Either avoid them or if possible increase the delay between how often the app checks for updates/info. The Greenify app will allow you to "suspend/pause/freeze" specific apps when they are not currently on your screen. This keeps them from performing any activity in the background, and will help save battery if used on apps that would normally be doing tasks in the background. The downside is that if that app is suppose to be doing something while in the background, it won't be doing that anymore...like checking for updates, chat messages etc...
Keep screen brightness on automatic, so you don't waste power on a bright screen when in a darker environment.
These should be more than enough tips to help you better manage your battery.

Wakelock

Hey guys,
I have a huge battery drain (10% a night) and according to betterbatterystats I have a problem with "MQTT_CLIENT_CONNECT" from com.facebook.katana.Facebook.
What can I do? I want to keep the Facebook App and I also want to get notifications. Why is this app draining so much battery or keeping the device awake?
Reynt said:
Hey guys,
I have a huge battery drain (10% a night) and according to betterbatterystats I have a problem with "MQTT_CLIENT_CONNECT" from com.facebook.katana.Facebook.
What can I do? I want to keep the Facebook App and I also want to get notifications. Why is this app draining so much battery or keeping the device awake?
Click to expand...
Click to collapse
Facebook is the most notorious app when it comes to wakelocks. Wakelocks prevent deep sleep and therefore accelerate battery drain. The reason Facebook keeps the device awake is so it can still collect your information. If you want this to stop at night then disable syncing, do not use the widgets, and use the app greenify to make the app sleep better
Sent from my SM-G925V using XDA Free mobile app

Categories

Resources