Troubleshooting cpu usage - T-Mobile LG G2x

This great forum is full of information but for some reason whenever I tried searching the cat reading the book pops up and says its taking a long time so I figure I will try to ask here. is there a app that will basically keep track of which apps use the most cpu, ram or resources in general? I am trying to figure out which of my 100 or so apps installed is using the cpu the most so I can possibly find an alternative. I just installed the custom kernel from this page http://forum.xda-developers.com/showthread.php?t=2129218 and it did seem to make the phone faster but the battery usage is still the same. Another question I have is if it is really necessary to run antivirus software on the phone? Doesn't google have something to check for bad apps in google play?

DroidWall
Install DroidWall. Block network access to any app that does not require network access - cameras, video players, calendar, minibooks, text readers, galleries, soundboards, music players.
Lots of these apps like to wake themselves up (even if you don't use them), search your phone for data then transfer data over the internet. That all uses CPU and kills the battery. If they wake up and find no network connection they shut themselves down again. Block them and you are guaranteed 20% or better battery life.

EEngineer said:
Install DroidWall. Block network access to any app that does not require network access - cameras, video players, calendar, minibooks, text readers, galleries, soundboards, music players.
Lots of these apps like to wake themselves up (even if you don't use them), search your phone for data then transfer data over the internet. That all uses CPU and kills the battery. If they wake up and find no network connection they shut themselves down again. Block them and you are guaranteed 20% or better battery life.
Click to expand...
Click to collapse
Thanks but Droidwall does not list my camera in the list of apps. I just installed the latest Faux kernel and set spu limits to 213 -1015 or whatevere the exact numbers are. Will see what happens. I was using the Mazkrnl_0218GB.zip kernel just prior to this but that one was forcing me to pull the battery many times. And before I had the stock CM7 kernel from the 301 CM7 release.

sonicmixmaster said:
Thanks but Droidwall does not list my camera in the list of apps. I just installed the latest Faux kernel and set spu limits to 213 -1015 or whatevere the exact numbers are. Will see what happens. I was using the Mazkrnl_0218GB.zip kernel just prior to this but that one was forcing me to pull the battery many times. And before I had the stock CM7 kernel from the 301 CM7 release.
Click to expand...
Click to collapse
What is your camera? Can you post the Google Play link here?
Also, turn off Background Data, turn off Auto sync, and do not let your apps update automatically. That also drains the battery.
I can get 2½ days on standby on my G2X. I'm running the last CM7 nightly and Trinity T15-G2x-06022012 kernel.
I can get better battery life with Maz's kernels but I was getting overheating and SOD.

EEngineer said:
What is your camera? Can you post the Google Play link here?
Also, turn off Background Data, turn off Auto sync, and do not let your apps update automatically. That also drains the battery.
I can get 2½ days on standby on my G2X. I'm running the last CM7 nightly and Trinity T15-G2x-06022012 kernel.
I can get better battery life with Maz's kernels but I was getting overheating and SOD.
Click to expand...
Click to collapse
My camera is the one that came with CM7 and does not have a Play link. I would like to keep the auto sync on and data as I like to have some stuff updated like weather but would like to know how to stop the facebook app from doing updates because I really don't care about them and see that facebook seems to be a top cpu user for me. I installed an app called Battery Drain Analyser (play.google.com/store/apps/details?id=com.msd.battery.indicator&feature=search_result) and it seems to help me find out what is sucking up my battery. I would like to keep the facebook app but not have it fetch updates constantly. I know I can firewall it but that would require me to constantly edit the firewall rules every time I want to use the app. The same thing goes for some other apps that self update like twitter. If there was a way to turn off background updating of these apps like facebook and twitter and keep on the updating when i start the apps myself.

sonicmixmaster said:
My camera is the one that came with CM7 and does not have a Play link. I would like to keep the auto sync on and data as I like to have some stuff updated like weather but would like to know how to stop the facebook app from doing updates because I really don't care about them and see that facebook seems to be a top cpu user for me
Click to expand...
Click to collapse
Well, the camera that came with CM7 doesn't need network access.
But if you are keeping background data on and auto sync on, and you are running the Facebook app, put that all together and that's a battery **** sandwich. You are deliberately giving yourself poor battery life.
For me, I don't need to have the weather CONSTANTLY updated when I'm not looking at it, I just click the Weather app and I see the weather. I'm not that obsessed with the weather to have it update when I'm not looking at it.
My guess is if you took my advice you'd double your battery life, but there you have it.

EEngineer said:
Well, the camera that came with CM7 doesn't need network access.
But if you are keeping background data on and auto sync on, and you are running the Facebook app, put that all together and that's a battery **** sandwich. You are deliberately giving yourself poor battery life.
For me, I don't need to have the weather CONSTANTLY updated when I'm not looking at it, I just click the Weather app and I see the weather. I'm not that obsessed with the weather to have it update when I'm not looking at it.
My guess is if you took my advice you'd double your battery life, but there you have it.
Click to expand...
Click to collapse
I knew about turning data off and auto sync long time ago. Also bluetooth and wifi turning off will help.but the apps that are running all the time downloading data in the background are the real problem and cant be configured not to do that are complete crap. and the newest facebook app also without my permission tells me about missed phone calls! I already have a build in CM7 feature that does this! why would anyone need this? I am willing to bet that every android phone has some type of way to show you that you missed a call. I think its all about advertising. The little F shows up on the status bar on top now along side my missed call icon when I have a missed call. This crap started when they pushed the new version a few days ago.

sonicmixmaster said:
I knew about turning data off and auto sync long time ago. Also bluetooth and wifi turning off will help.but the apps that are running all the time downloading data in the background are the real problem and cant be configured not to do that are complete crap. and the newest facebook app also without my permission tells me about missed phone calls! I already have a build in CM7 feature that does this! why would anyone need this? I am willing to bet that every android phone has some type of way to show you that you missed a call. I think its all about advertising. The little F shows up on the status bar on top now along side my missed call icon when I have a missed call. This crap started when they pushed the new version a few days ago.
Click to expand...
Click to collapse
I use Auto3G. This little gem ensures I will have battery when I need it
-- The noob says:
This just in... my IQ has increased 50 points thanks to the g2x!

sonicmixmaster said:
I knew about turning data off and auto sync long time ago. Also bluetooth and wifi turning off will help.but the apps that are running all the time downloading data in the background are the real problem and cant be configured not to do that are complete crap. and the newest facebook app also without my permission tells me about missed phone calls!
Click to expand...
Click to collapse
Why oh why are you using the newest Facebook app? I know people still using the old facebook app and won't update. I have plenty of apps that I won't update because the latest app is crap.

I updated because there was an update I don't know if there was going to be any problems with it
Sent from my LG-P999 using xda app-developers app

jededbm Pij
mansa_noob said:
I use Auto3G. This little gem ensures I will have battery when I need it
-- The noob says:
This just in... my IQ has increased 50 points thanks to the g2x!
Click to expand...
Click to collapse
I will give this app a try. Seems like it makes sense. Thanks.

Related

[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.

Guide to Maximizing Battery Life w/o Disabling Half Your Phones Features

*Disclaimer* This is all from a personal experience and testing/research from a long time android user, what I have discovered over time and has helped me and some friends. This will work whether your rooted OR not. I kept it as basic as I can so everyone can benefit. If you dont like what you read and disagree, or want to add something PM me, Ill change/add and give credit to you. Hopefully, this can grow with the community.
*Rooted Section Will be Added*
*When I charge my battery I usually drain it all the way down or as much as i can (around 20% left) then charge plugged in till green, then power down and charge for another hour or so. Not sure if this matters or not but seems to help me out try it!*
This guide will help you if your rooted or non-rooted, all the apps I talk about I honestly have no ties to the devs. I don't use any SUPER AWESOME AMAZING BATTERY SAVER 5000 apps or anything like that. Those mostly just turn ur radios off and on and kill apps in the background. In my experience a lot of them cause syncing issues with my e-mail and other notifications. I like to receive my information instantly not have an app waiting for me to turn my screen on to check for updates.
About my personal setup: Basically, I want my phone to last me all day but still perform well with a heavy use, WITHOUT needing to constantly change settings to save battery. With what I have here Im able to keep my Sensation running for a full day of moderate-heavy use (7:30am to around 10pm) with its STOCK battery (Did damn well on my Evo 4G too). Days of very minor use Ive gone into the second day with 60% + battery. Yes, I use all my home screens and have a good amount of widgets, I love sense and its widgets. I play games, surf the web, do a lot of texting, listen to a lot of music, decent amount of fbing and email, usually take a few pictures a day. Half my day is wifi/other is mobile data.
Here goes the real basics, mostly common sense here not trying to insult anyone. Feel free to browse thru it quick (green text) if your not totally new to the android scene, whats after it will be a good read for noobs and vets.
*I use the power control widget, make getting to a lot of settings quicker. Why waste battery digging thru menus?*
Basics:
-Screen brightness: (duh ) these pretty screens eat battery brighter=quicker drain naturally and from my experience leaving it on Auto Brightness kills more battery too. Each time your phone pulls information from the sensor to decide on how bright it should adjust itself too.
-GPS: If GPS is on it should not effect battery unless an app is using it and you see the GPS icon on your notification bar. I noticed a very slight increase in mA discharge when i had it enabled, to be safe leave it off if you dont use it extremely frequently.
Location thru mobile networks: Not to hard on battery. I leave mine on it does add drain but it takes away from my weather widgets updating when Im traveling.
-Bluetooth: Moderate battery drain. I honestly don't use it at all myself but if you do try your best to keep it off when not in use.
-Wifi: Android has gotten a lot better at managing wifi over the past few years. It doesn't drain that bad on battery and it shuts off/on periodically on its own when screen is off depending on whats using it.
Google Back-Up: Takes a little juice here and there no biggie. I dont use it just because I like to fresh install my apps when I try a new rom, run into less problems that way.
2G/3G/4G: This varies phone to phone, the slower speed the better battery life. If you know your not going to be using 4G for a while turn it off. I leave mine on 4G or wifi all day with my sensation. When I had Sprint and my Evo I would leave it off most of the time. Depending on your carrier and how their data works this is a big one. T-Mobile seems to handle well, Sprint and Verizon's 4G Ive seen eat an insane amount of battery.
Sync/Background Data: I lumped them together because sync is pretty much reliant on background data. These kill a lot of your battery in general. It syncs your apps (email, facebook, google data, contacts, etc.), the periodic checks your apps do to check for and download new emails and notifications, using background data (data still transmits when screens off). I always leave these on and still manage great battery life, I like things instant if I wanted to wait Id just wait till i got in front of a PC. Sync and Background data are the settings most battery saving apps control because they really can help your battery if you turn it off. You can control what core apps sync in settings>accounts and sync. Or the power widget that 95% of android phones have has it on there. I recommend minimizing the amount of apps you allow background data with, example: WeatherBug first launch it asks if it can automatically update itself in the background for apps were thats not necessary hit no.
Radio/Airplane Mode: Pretty self explanatory, turns off your connection to your wireless provider. No point in ever turning it off in my eyes, your phones no longer a phone.
What has really helped me with my battery life (non-basics):
There is a lot to be said when it comes down to 2.2+ android phones and whether they need a task killer anymore or not. Since Ive had a lot of android phones and a few now that are 2.2+ Ive done a lot of testing. I usually go about a 2 weeks on one idea or new task killer and keep a close eye on battery drainage using Battery Monitor Widget, free app in the market. It tells you exactly how much of your battery is being drained without killing battery itself. Each phone/rom settles at a different average mA lower the better. In my experience if I can keep my phone anywhere under 100mA when idle im doing good. This held true on both the Evo 4G and my Sensation. Some ASOP roms i could get down to the 30's but for sense under 100mA is good. Keep in mind you will get the occasionally spike here and there its just android and/or apps in the background. You can view the a chart of the battery data in Battery Monitor.
Instead of boring you guys with each task killer Ive used and its results, Ill just get down to what I found out in the end.
Basically, the way android 2.2+ works it really isn't necessary to run a task killer it does a decent job removing apps from memory when you need more memory. But at the same time I found running a task killer periodically (BUT not killing frequently used apps) results in a lower average mA drain leading to overall better battery life.
The best application I have used has to go Automatic Task Killer , trust me Ive used a lot from the top free ones to a few of the more popular paid ones. What this task killer does is kill a selection of apps you allow it too every time your phones screen shuts off and goes idle. On Automatic Task Killer's first boot your shown a screen of every application that could at some point run in the background on your phone. This part sucks a little bit but it is worth it, you need to select which of the apps you want to allow it to kill automatically. It does not kill foreground apps the ones you currently have open on the screen aka a browser or a game. Example your playing NFS: Shift and your boss walks by so you quickly pause and hit the power button turning off the screen, next time you turn the screen on it will kill all other allowed background apps but your game will still be up front and center.
Now the trick is to go thru and set it to kill apps you know your phone won't automatically just restart or you don't use 90% of the time. So don't select things like Dialer, Contacts, Clock, Calendar, Messages or apps you constantly use/check such as a third party SMS app or your main E-Mail Client or third party keyboards (various by person and what you use most). Letting the app automatically kill those is just going to lead to worse battery life because your phone will just restart it each time leading to more CPU cycles (not what you want and part of the reason some consider task killers bad things).
Also, when using any task killer and killing the proper apps sense runs smoother, a big deal with sense 3.0.
So hopefully with a little messing around you can get a good setup where your phone lasts you all day without having to constantly keep changing settings and watching your battery life. All while everything stays syncing and instant. Hope this helps!
*ROOT Section (now that we have s-off )
Everything posted above can be done on any rom, rooted or none. There has been a lot of posts on "freezing apps" that you dont need or typically use, which does in fact really help battery life. Since, we (by we i mean sensation users) now have a permanent root this is my tiny second part of the guide for rooted devices.
I dont freeze my apps I prefer them to be gone for good if its something I dont see myself using or its bloat that came with my phone/rom. Since 98% of us will be using custom roms now this usually isnt an issue since most dev's r good at what they do and remove all the bs we dont need or normally use. Still there is some apps we may not want on our phones so for that I use SystemApp Remover . Its a great App for people who dont want to have to worry about going in manually and getting rid of system apps.
Its just basically an Uninstaller that allows you to access any and every app on the phone for you to uninstall (thats y roots needed). For me I just go in an drop the apps I know i wont use. A lot of roms come with carrier add-ons and such, those I normally delete as well as a few HTC sense widgets and apps I see no need for. It will free up space and increase your phones battery life with most things you delete.
Now, be careful. You are prompted upon opening SystemApp Remover that messing in system apps is dangerous and it is. If your not sure what something is DONT touch it, simply do a google search or ask around to see if its safe to remove first.
Re-calibrate Battery: After you flash a new rom or start using a new battery, you should use your recovery (CWM or other) to Wipe Battery Stats. Before you do this make sure your battery is at 100% and has been on the charger for over an hour with the fully charged green led on. This will allow your device to better drain your battery and can really help battery life.
So hopefully with a little messing around you can get a good setup where your phone lasts you all day without having to constantly keep changing settings and watching your battery life. All while everything stays syncing and instant. Hope this helps!
Thanks to people who have contributed:
-JadeSoturi
thanks for sharing the experience
i'm trying Automatic Task Killer
devine might said:
thanks for sharing the experience
i'm trying Automatic Task Killer
Click to expand...
Click to collapse
no problem. let me kno how it goes for you
very good info! would also help if you specify which versions of android.....
Thanks for the info, hope it will increase my battery life to last a day
Airfaire said:
very good info! would also help if you specify which versions of android.....
Click to expand...
Click to collapse
im on my sensation so 2.3.3. Been getting a lot of hate on the sensation forums since task killers are officially deemed no longer needed, but this method really helps me with battery life hoping itd help some of u too
Watchdog> then any task killer
ADR6300
Hmm, ill try auto task killer as well, tried a few others.
I use JuiceDefender, I like it. It manages my connectivity pretty well and it does help.
This is excellent, many thanks. As a converted WM 6.5 user I have to say, I am enjoying android considerably more and I prefer it to the Metro interface of WP7. It's nice to know the little tricks to get the most out of it. Thanks again. ^_^
DarkSwanKnight said:
I use JuiceDefender, I like it. It manages my connectivity pretty well and it does help.
Click to expand...
Click to collapse
same here, JD works pretty good
TastyTorge said:
same here, JD works pretty good
Click to expand...
Click to collapse
Worth getting the full one or will the free version do?
Sent from my HTC HD2 running TyphooN CyanogenMod 7 via XDA Premium App
Thanks
Thanks for the info, and for sharing, i will try the different methods
i havent really bothered with task killers but ive found reducing the brightness and disabling data and sync makes my battery last alot longer. i just re enable when i need them.
also, i downloaded setcpu and added a profile for while the screen is off. that helps alot. the drain is about 5% with the screen off after every 3 or 4 hours.
Very good info thanks
You had me impressed until you mentioned task killers. Absolutely horrible...
Sent from my HTC Sensation 4G
Martin_Toy said:
Worth getting the full one or will the free version do?
Click to expand...
Click to collapse
Full version is much better.
It's killer app indeed. I think many of it's features should be natively included in android.
Options like "Turn off 3G/EDGE when connected to Wi-Fi", "Turn off all radios when screen is off", "Turn off Wi-Fi after x minutes if it doesn't connect to a network", "Set screen brightess to minimal when battery is low", etc....it wouldn't be that hard to implement and battery life, perhaps most criticized aspect of Android, would improve immensely.
fpu
floating_point_unit said:
Full version is much better.
It's killer app indeed. I think many of it's features should be natively included in android.
Options like "Turn off 3G/EDGE when connected to Wi-Fi", "Turn off all radios when screen is off", "Turn off Wi-Fi after x minutes if it doesn't connect to a network", "Set screen brightess to minimal when battery is low", etc....it wouldn't be that hard to implement and battery life, perhaps most criticized aspect of Android, would improve immensely.
fpu
Click to expand...
Click to collapse
Your mobile network DOES turn off when connected to wifi, and if all radios turned off when the screen went off, how would you ever get calls or emails with the phone in your pocket? The wifi after x minutes would be a nice feature, but I don't like things touching my screen brightness.
Thank you for your information.

Advanced Task Killer

Does Advanced Task Killer drain my battery even if I'm not using autokill or killing any tasks at all? Like if I just leave it there, will it still drain.
And one important question as well, if a AOL's notification icon appears in the status bar, but I don't see it on the running services list, is the app still running in the background?
Does anyone have bad battery by using WidgetLocker or Weatherbug? I can't tell what is usingy battery
Sent from my LG-P999 using xda premium
NekoNyapii said:
Does Advanced Task Killer drain my battery even if I'm not using autokill or killing any tasks at all? Like if I just leave it there, will it still drain.
And one important question as well, if a AOL's notification icon appears in the status bar, but I don't see it on the running services list, is the app still running in the background?
Does anyone have bad battery by using WidgetLocker or Weatherbug? I can't tell what is usingy battery
Sent from my LG-P999 using xda premium
Click to expand...
Click to collapse
ok first, throw out ATK. the only reason you should use it is to kill a rogue app that has a bad memory leak, or is stuck in a race condition. and you can do this through the settings in any rom, so there is no need for an app.
Second, do you use an AOL app? if so then if it has an icon on the status bar then yes it is running and it has the ability to drain your battery. if its not showing up in the running services, then its not really running. its a neat trick where the app puts a notification in the bar then closes. and when you click it it reopens to where it was.
As for widgetlocker, i used it for a long time and if its setup right it shouldnt drain battery. it all depends on the widgets you have on both your lockscreen and your homescreen. widgets that use alot of battery will do so, while well written ones will not.
anyway, before i get too far off track. if you think a certian app is sucking your battery dry, use an application to freeze it, or just uninstall it and run the phone for a full charge cycle to see if it improves or stays the same. if it gets better, and you used the phone the same way, than that app is the culprit.
Klathmon said:
ok first, throw out ATK. the only reason you should use it is to kill a rogue app that has a bad memory leak, or is stuck in a race condition. and you can do this through the settings in any rom, so there is no need for an app.
Second, do you use an AOL app? if so then if it has an icon on the status bar then yes it is running and it has the ability to drain your battery. if its not showing up in the running services, then its not really running. its a neat trick where the app puts a notification in the bar then closes. and when you click it it reopens to where it was.
As for widgetlocker, i used it for a long time and if its setup right it shouldnt drain battery. it all depends on the widgets you have on both your lockscreen and your homescreen. widgets that use alot of battery will do so, while well written ones will not.
anyway, before i get too far off track. if you think a certian app is sucking your battery dry, use an application to freeze it, or just uninstall it and run the phone for a full charge cycle to see if it improves or stays the same. if it gets better, and you used the phone the same way, than that app is the culprit.
Click to expand...
Click to collapse
Oh sorry I didn't mean AOL app I meant like any app that has a notification icon on status bar. And do you know any good apps to monitor what is using the CPU or causing the battery drain?
And I know ATK is not really needed, but does it still drain battery if you don't use autokill or kill any tasks?
Sent from my LG-P999 using xda premium
NekoNyapii said:
Oh sorry I didn't mean AOL app I meant like any app that has a notification icon on status bar. And do you know any good apps to monitor what is using the CPU or causing the battery drain?
And I know ATK is not really needed, but does it still drain battery if you don't use autokill or kill any tasks?
Sent from my LG-P999 using xda premium
Click to expand...
Click to collapse
i couldnt tell you if it does or not, but if it does not have a service or process running then its not hurting anything.
as for monitoring cpu or battery drain. i use a program called "System Tuner Pro" it costs money, but it tells you what apps are using how much cpu time in seconds. Any app like that will help, but its not a perfect system, it just helps point you in the right direction.
Last Note, the developer of "System Tuner Pro" is a good friend of mine, so i might be bias in using it
Klathmon said:
i couldnt tell you if it does or not, but if it does not have a service or process running then its not hurting anything.
as for monitoring cpu or battery drain. i use a program called "System Tuner Pro" it costs money, but it tells you what apps are using how much cpu time in seconds. Any app like that will help, but its not a perfect system, it just helps point you in the right direction.
Last Note, the developer of "System Tuner Pro" is a good friend of mine, so i might be bias in using it
Click to expand...
Click to collapse
I just downloaded System Tuner Pro, its awesome. I have it on recording right now, hopefully it doesnt drain too much battery.
Sent from my LG-P999 using xda premium
While recording it will, buy it also will show you EVERYTHING that is happening on your phone
Sent from my LG-P999 using Tapatalk
Klathmon said:
While recording it will, buy it also will show you EVERYTHING that is happening on your phone
Sent from my LG-P999 using Tapatalk
Click to expand...
Click to collapse
Yeah I paid for the app. Do you know if the Maps app eats a lot of battery as well? Its always in the running services.
Sent from my LG-P999 using xda premium
There is a reason Maps is always running. When an app wants to get location data, it can call on GPS. GPS will return the distance from 3 (or more) satellites, various times, and latitude and longitude. This information is useless to the majority of apps that use it, so they will have to convert it to something useful (like nearby address or a city name).
Now, Google knew this, and instead of making each app that needs a city or address figure it out on its own (which would most likely be a slow, resource hungry process) Google made its Maps program open source. So now these apps can just make a call to the always running maps process and it returns an address, city name, nearby supermarkets, ect...
This app is also responsible for your phone being able to get a rough position without having GPS turned on, it gets WIFI data, Cell tower names, and various other things to figure out roughly where you are in the world. This lets apps like WeatherBug to get your city without ever using GPS.
So thats why its always running, and there is no need to try and kill it ever. Maps is a very well written program, and your better off just letting it do its thing. (if you try to fight it, it's probably going to win )
I do believe I have an answer to this. I found today that, after I finally sat down and finished rooting and flashing and installing and rebooting and updating and all the rest of the happy stuff that equals a much happier user, that ATK did infact drain my battery in an exponencial amount. Prior to that, it was ok. After running CM7, in about 2 hours it drained my battery almost to dead. Now, i work in radio shack, so I've had my phone on the charger and my battery was still dying. So in all haste, remove ATK!!!
jaywillsoul said:
I do believe I have an answer to this. I found today that, after I finally sat down and finished rooting and flashing and installing and rebooting and updating and all the rest of the happy stuff that equals a much happier user, that ATK did infact drain my battery in an exponencial amount. Prior to that, it was ok. After running CM7, in about 2 hours it drained my battery almost to dead. Now, i work in radio shack, so I've had my phone on the charger and my battery was still dying. So in all haste, remove ATK!!!
Click to expand...
Click to collapse
Also go here and read.
http://geekfor.me/faq/you-shouldnt-be-using-a-task-killer-with-android/
Klathmon said:
There is a reason Maps is always running. When an app wants to get location data, it can call on GPS. GPS will return the distance from 3 (or more) satellites, various times, and latitude and longitude. This information is useless to the majority of apps that use it, so they will have to convert it to something useful (like nearby address or a city name).
Now, Google knew this, and instead of making each app that needs a city or address figure it out on its own (which would most likely be a slow, resource hungry process) Google made its Maps program open source. So now these apps can just make a call to the always running maps process and it returns an address, city name, nearby supermarkets, ect...
This app is also responsible for your phone being able to get a rough position without having GPS turned on, it gets WIFI data, Cell tower names, and various other things to figure out roughly where you are in the world. This lets apps like WeatherBug to get your city without ever using GPS.
So thats why its always running, and there is no need to try and kill it ever. Maps is a very well written program, and your better off just letting it do its thing. (if you try to fight it, it's probably going to win )
Click to expand...
Click to collapse
I used system tuner to prevent maps from starting up and it doesnt show up in running services anymore. It seems like my battery is a lot better this way.
The only time I really use maps is for gps. I use gps, maps turns on and then when I turn gps off, maps doesnt run in the background anymore. That's the only reason why im keeping system tuner I have no other need for location service.
Sent from my LG-P999 using xda premium
And plus I don't see why Maps always needs to be running. When I need it for location services, then it could just start up then, no need to always keep it running, I really do believe it drains a lot of my battery.
Sent from my LG-P999 using xda premium

Battery

I know I've made a few posts about this in the past, but now I've learned a few things since then.
I know the battery isn't the greatest on the infuse (no rom that I'm using atm..) but would like to get the most juice out of my device that I can. I have root access and currently use the apps "battery calibration" and "no-frills CPU control" which I set my cpu at a relatively low frequency to help keep juice.
My phone is drained throughout my day, even without use. I believe it primarily happens because my data (mobile network) consumes it. I know apps such as "juice defender" are great at reducing idle drainage because it shuts off your network connection while in idle to save battery. However, I have used this application in the past and after a few days of use, it shuts off my mobile connection altogether.
My question is, if I were to use this application again and my mobile network were to malfunction, would I be able to change my apn to regain my network connection? In the past I had to reset my phone to regain connection, which isn't really worth using if that's the only solution.
Or are there any other battery saver apps worth using??
Thanks
Sent from my SAMSUNG-SGH-I997 using xda app-developers app
Dr_Nacho said:
I know I've made a few posts about this in the past, but now I've learned a few things since then.
I know the battery isn't the greatest on the infuse (no rom that I'm using atm..) but would like to get the most juice out of my device that I can. I have root access and currently use the apps "battery calibration" and "no-frills CPU control" which I set my cpu at a relatively low frequency to help keep juice.
My phone is drained throughout my day, even without use. I believe it primarily happens because my data (mobile network) consumes it. I know apps such as "juice defender" are great at reducing idle drainage because it shuts off your network connection while in idle to save battery. However, I have used this application in the past and after a few days of use, it shuts off my mobile connection altogether.
My question is, if I were to use this application again and my mobile network were to malfunction, would I be able to change my apn to regain my network connection? In the past I had to reset my phone to regain connection, which isn't really worth using if that's the only solution.
Or are there any other battery saver apps worth using??
Thanks
Sent from my SAMSUNG-SGH-I997 using xda app-developers app
Click to expand...
Click to collapse
A bit more information is needed before a specific course of action can be recommended. How much battery life are you using in an average 24 hour period? Also, what version of Juice Defender(beta, free, plus, ultimate) are you using, and what specific settings are you utilizing. It is a very customizable program after all. You might look into Battery Indicator Pro, which estimates your total remaining battery life based on your level of usage. I would also recommend CPU spy, which, if your device is rooted, will show the percentages that your device is running at various CPU levels.
If you turn off all the locational stuff, turn off 'update my current location' in Navigator, and set your CPU gov to conservative, you might get better battery life. I've not had any lasting luck with any of the battery saving apps. In the end, I decided to buy a couple of Anker batteries from Amazon just in case I have a bad battery day... Also some of the battery saving mods work, but I'm not sure about applying them to ICS and JB ROMS. I haven't tried!
Battery life is what you make of it..
Anything running in the background will drain the battery.. email constantly checking for new messages, twitter, Facebook, GPS, WiFi if no connection is found, etc..
Anything that makes the phone process even while the screen is off is going to kill a battery..
What ROM are you using? Some ROMs have better life than others..
How much are you actually using the phone?
What's the brightness set at?
Have you tried changing the processor and slowed it down?
Lots of information that is missing is helpful..
Its powered by Jellybeaned AOKP!
I know apps such as "juice defender" are great at reducing idle drainage because it shuts off your network connection while in idle to save battery
Click to expand...
Click to collapse
Some have good luck with these, others don’t. I prefer to try to adjust settings myself.
I believe it primarily happens because my data (mobile network) consumes it.
Click to expand...
Click to collapse
How about putting a widget on your homescreen to toggle data on/off. Keep it on only when you need it. I go a step further, I use Tasker to automatically turn my data off every time my screen times out (because that means I’m not using it... I can restart my data later with my widget when I need it). Maybe that’s extreme, but I’m not just watching my battery.. I’m managing my limited data plan.
My phone is drained throughout my day, even without use.
Click to expand...
Click to collapse
It may be that you have wakelocks keeping your phone awake when it’s supposed to sleep. One way to see this is (in GB or above) Settings / About-Phone / Battery Use...then click on the small graph at the top... should expand it to a large graph with traces along the bottom including Awake and Screen On. If you have long periods of time where phone is awake while screen is off, that’s a wakelock problem. A good program to troubleshoot that is Better Battery Stats. If nothing else, follow the instructions in the first post in the BBS thread linked below, and then post a dump to the end of that BBS thread (the developer and a lot of other knowledgeable people follow that thread and will help you interpret results):
http://forum.xda-developers.com/showthread.php?t=1179809
Thru use of BBS, I found that Google Maps is one that was keeping mine awake and I think someone else on the forum reported the same. If that program (Maps) is causing problems, you can disable it from auto-starting on boot using Gemini Manager. It will still be available when you need it, just take a few seconds longer to load the first time after boot. Then need to reboot to stop it from causing wakelocks after use (there may be other easier ways, but this works for me).
Another program (Power Tutor) was helpful to me to see programs that were consuming unusual amount of battery although not necessarily thru wakelocks. In my case Dolphin Browser HD was occasionally drawing very high power even when that program was not actively in use.
electricpete1 said:
I found that Google Maps is one that was keeping mine awake and I think someone else on the forum reported the same. If that program (Maps) is causing problems, you can disable it from auto-starting on boot using Gemini Manager. It will still be available when you need it, just take a few seconds longer to load the first time after boot. Then need to reboot to stop it from causing wakelocks after use (there may be other easier ways, but this works for me).
Another program (Power Tutor) was helpful to me to see programs that were consuming unusual amount of battery although not necessarily thru wakelocks. In my case Dolphin Browser HD was occasionally drawing very high power even when that program was not actively in use.
Click to expand...
Click to collapse
So how can I stop maps to running in background? only rebooting the device is the only option?or is there any other option?
TIA
atrix4nag said:
So how can I stop maps to running in background? only rebooting the device is the only option?or is there any other option?
TIA
Click to expand...
Click to collapse
Just to provide more details on my previous post (not sure if it's answering your question):
I followed instructions here:
http://forum.xda-developers.com/showpost.php?p=29420959&postcount=7059
In particular, I installed the free program "Gemini Apps Manager". That allows you to stop programs from auto-loading at boot.
So I used the program to stopp Google Maps from auto-loading at boot.
That stopped a large chunk of my wakelocks, as long as I don't manually launch Google Maps.
If I do manually Google Maps, then those wakelocks come back, and to get rid of them I have to reboot.
I don't use Maps that often (only when I go on trips), so it's not a big problem for me to reboot when I'm finished with my trip to help keep my battery use low.
It may also be possible to kill it from the list of applications at Settings/Applications/ManageApplications and killing botht the application and the process...but I'm not sure if it will stay killed that way... haven't tried. I know some applications have hooks that make it hard to get rid of them once they're launched.
But (if you haven't already), I think it's a good idea to use BBS to find out what programs are causing problems on your phone. You may have other apps causing lot bigger problems than Maps. And it certainly may be the case that a program that acts up on one phone can be fine on another phone due to differences in the way the user configures the application settings and the phone settings (along with other possible differences in application version, ROM used, etc etc).
electricpete1 said:
Just to provide more details on my previous post (not sure if it's answering your question):
I followed instructions here:
http://forum.xda-developers.com/showpost.php?p=29420959&postcount=7059
In particular, I installed the free program "Gemini Apps Manager". That allows you to stop programs from auto-loading at boot.
So I used the program to stopp Google Maps from auto-loading at boot.
That stopped a large chunk of my wakelocks, as long as I don't manually launch Google Maps.
If I do manually Google Maps, then those wakelocks come back, and to get rid of them I have to reboot.
I don't use Maps that often (only when I go on trips), so it's not a big problem for me to reboot when I'm finished with my trip to help keep my battery use low.
It may also be possible to kill it from the list of applications at Settings/Applications/ManageApplications and killing botht the application and the process...but I'm not sure if it will stay killed that way... haven't tried. I know some applications have hooks that make it hard to get rid of them once they're launched.
But (if you haven't already), I think it's a good idea to use BBS to find out what programs are causing problems on your phone. You may have other apps causing lot bigger problems than Maps. And it certainly may be the case that a program that acts up on one phone can be fine on another phone due to differences in the way the user configures the application settings and the phone settings (along with other possible differences in application version, ROM used, etc etc).
Click to expand...
Click to collapse
Thanks for your detail explanation. My main question was how can close the app without restarting? i feel my major battery drain is from dolphin browser, befor dolphin i used opera, even that has the same problem. Most of the time, if I dont open dolphin, my phone battery is good, but once I open it, it drains battery. So i am looking for soemthing simple which does, without rebooting the device.
Any way thanks for your help.

How to get good battery life?

Hello everyone,
So I was wondering how to get good battery life?
I am on stock firmware latest update. No root.
Installed system wakelock detection but only whatsapp waking up like 5 times.
But, still draining a lot of percentage when the device is idle.
I used greenify to hibernate some apps.
Downgrading cpu is maybe an option.
I hope anyone has an idea!
Depends what you define as "good battery life." I find some people think they should be getting 12 hours SOT and 0% overnight drain because they read a post by someone who has their phone running with half the functions disabled and 5% screen brightness.
There are a couple of kernels that cap CPU performance if that's what you want. But you're probably better off figuring out what apps are using battery and optimize/remove them. Battery life is typically a userspace issue.
iElvis said:
Depends what you define as "good battery life." I find some people think they should be getting 12 hours SOT and 0% overnight drain because they read a post by someone who has their phone running with half the functions disabled and 5% screen brightness.
There are a couple of kernels that cap CPU performance if that's what you want. But you're probably better off figuring out what apps are using battery and optimize/remove them. Battery life is typically a userspace issue.
Click to expand...
Click to collapse
Now I am getting 3 hours of SOT max.
I do have quite a lot apps (127 apps)
But I can't figure out which ones are taking battery.
Read one of the battery guides posted in the forums, they might help you out.
With root you can detect drain eazy with betterbatterystats, if you wish to go that road.
Disable functions you don't need currently. Some apps track you with gps even when you don't use them wich drains a lot of battery. Especially from Apps that don't need this to function normally this is very uncool. Take away the permissions Apps don't need if possible.
Also look up Settings/ Battery for your battery consumption
Why not search the forum bro? Someone made a special post on how to get the best battery life...... i know its hard to use the search function but please try
ItsCrewz said:
Hello everyone,
So I was wondering how to get good battery life?
I am on stock firmware latest update. No root.
Installed system wakelock detection but only whatsapp waking up like 5 times.
But, still draining a lot of percentage when the device is idle.
I used greenify to hibernate some apps.
Downgrading cpu is maybe an option.
I hope anyone has an idea!
Click to expand...
Click to collapse
Stop using apps like Greenify and wakelock detector, they honestly do more harm than good with the newer versions of Android. OnePlus has this built in anyways, called battery optimization. Turn on advanced optimization and only allow apps you NEED to get real time notifications for, I get great battery life with that setup.
Lightbird said:
Disable functions you don't need currently. Some apps track you with gps even when you don't use them wich drains a lot of battery. Especially from Apps that don't need this to function normally this is very uncool. Take away the permissions Apps don't need if possible.
Also look up Settings/ Battery for your battery consumption
Click to expand...
Click to collapse
Thanks ill try!
geoff5093 said:
Stop using apps like Greenify and wakelock detector, they honestly do more harm than good with the newer versions of Android. OnePlus has this built in anyways, called battery optimization. Turn on advanced optimization and only allow apps you NEED to get real time notifications for, I get great battery life with that setup.
Click to expand...
Click to collapse
I have battery optimization turned on!
ItsCrewz said:
I have battery optimization turned on!
Click to expand...
Click to collapse
The advanced one as well?
ItsCrewz said:
I have battery optimization turned on!
Click to expand...
Click to collapse
I go to settings>accounts>google and turnoff all the syncing options. For calendar and contacts, when I add any, I go into there and just turn them on, let them sync and then turn them back off. Why just let them sync all day long with nothing to sync? Doesn't make sense to me. Also in Setting>Data Usage>Cellular Data Usage i tap each thing and disable background data for each individual app that I don't need doing anything. I leave apps like email, messaging apps (Textra, What'sApp web browser, Google Play Services, Solid Explorer, DropBox, Weather Android OS ) with background on so they work properly. So you know, things like Web Browsers and Solid Explorer you need their background data on so if you are downloading from the net or moving files with the file manager they will fail, so you have to leave those on. Likewise with Google Play Services, you can't download from the play store with background data disabled.
Also, you can turn off location permissions to all apps that don't need it. Go to settings>apps>App Permissions and you can select Location and it will list all apps that have the ability to request Location Permissions. Right now mine says 4 of 30 has location permissions. I have Samsung Internet, Google, Maps and Weather. I have all other apps location turned off. Here you can just go down the list instead have having to go into each app. I also Keep Location set to battery saving unless I need Maps and I just turn it to High Accuracy.
With this and keeping screen brightness on auto I get 9-11 hours SOT. Maybe a little less now since I just bought a gear S3 Frontier watch so my Bluetooth is always active now and communicating to the watch. Oh and a couple other things. I have work email set to push and personal email to sync every 3 hours and weather sync every 6 hours. These are things that are personal preferences and will cause battery life to vary. But setting up background data usage and Location permissions can go a long way for battery life.
Eric214 said:
I go to settings>accounts>google and turnoff all the syncing options. For calendar and contacts, when I add any, I go into there and just turn them on, let them sync and then turn them back off. Why just let them sync all day long with nothing to sync? Doesn't make sense to me. Also in Setting>Data Usage>Cellular Data Usage i tap each thing and disable background data for each individual app that I don't need doing anything. I leave apps like email, messaging apps (Textra, What'sApp web browser, Google Play Services, Solid Explorer, DropBox, Weather Android OS ) with background on so they work properly. So you know, things like Web Browsers and Solid Explorer you need their background data on so if you are downloading from the net or moving files with the file manager they will fail, so you have to leave those on. Likewise with Google Play Services, you can't download from the play store with background data disabled.
Also, you can turn off location permissions to all apps that don't need it. Go to settings>apps>App Permissions and you can select Location and it will list all apps that have the ability to request Location Permissions. Right now mine says 4 of 30 has location permissions. I have Samsung Internet, Google, Maps and Weather. I have all other apps location turned off. Here you can just go down the list instead have having to go into each app. I also Keep Location set to battery saving unless I need Maps and I just turn it to High Accuracy.
With this and keeping screen brightness on auto I get 9-11 hours SOT. Maybe a little less now since I just bought a gear S3 Frontier watch so my Bluetooth is always active now and communicating to the watch. Oh and a couple other things. I have work email set to push and personal email to sync every 3 hours and weather sync every 6 hours. These are things that are personal preferences and will cause battery life to vary. But setting up background data usage and Location permissions can go a long way for battery life.
Click to expand...
Click to collapse
How do you do to setting up the email to sync every 3 hours? For example with Gmail or outlook
cellular signal booster is the best solution to significantly reduce battery drawing.
AOSP with fully manual control of each and everyone app and service on your phone.
mf117 said:
How do you do to setting up the email to sync every 3 hours? For example with Gmail or outlook
Click to expand...
Click to collapse
I use blue mail. It's free and works with exchange for my work email. I don't use Gmail as it sucks for tweaking. I rarely use Google apps. I use Google calendar, YouTube, Google sheets and Google docs and that's it.
In blue mail there are sync settings
geoff5093 said:
The advanced one as well?
Click to expand...
Click to collapse
Yes
Eric214 said:
I go to settings>accounts>google and turnoff all the syncing options. For calendar and contacts, when I add any, I go into there and just turn them on, let them sync and then turn them back off. Why just let them sync all day long with nothing to sync? Doesn't make sense to me. Also in Setting>Data Usage>Cellular Data Usage i tap each thing and disable background data for each individual app that I don't need doing anything. I leave apps like email, messaging apps (Textra, What'sApp web browser, Google Play Services, Solid Explorer, DropBox, Weather Android OS ) with background on so they work properly. So you know, things like Web Browsers and Solid Explorer you need their background data on so if you are downloading from the net or moving files with the file manager they will fail, so you have to leave those on. Likewise with Google Play Services, you can't download from the play store with background data disabled.
Also, you can turn off location permissions to all apps that don't need it. Go to settings>apps>App Permissions and you can select Location and it will list all apps that have the ability to request Location Permissions. Right now mine says 4 of 30 has location permissions. I have Samsung Internet, Google, Maps and Weather. I have all other apps location turned off. Here you can just go down the list instead have having to go into each app. I also Keep Location set to battery saving unless I need Maps and I just turn it to High Accuracy.
With this and keeping screen brightness on auto I get 9-11 hours SOT. Maybe a little less now since I just bought a gear S3 Frontier watch so my Bluetooth is always active now and communicating to the watch. Oh and a couple other things. I have work email set to push and personal email to sync every 3 hours and weather sync every 6 hours. These are things that are personal preferences and will cause battery life to vary. But setting up background data usage and Location permissions can go a long way for battery life.
Click to expand...
Click to collapse
Thanks a lot! I did everything. Lets see if it works!
ItsCrewz said:
Thanks a lot! I did everything. Lets see if it works!
Click to expand...
Click to collapse
Let me know how it works out for you.
maybe you could try
1. going to developer option and decreasing the animation to 0.5x from 1x
2. disabling auto sync in accounts
3. enabling dark theme
4. using wifi more, than using 4G
you will significantly see improvement in the battery life, though the battery is already kickass in the first place
prawalhaina said:
maybe you could try
1. going to developer option and decreasing the animation to 0.5x from 1x
2. disabling auto sync in accounts
3. enabling dark theme
4. using wifi more, than using 4G
you will significantly see improvement in the battery life, though the battery is already kickass in the first place
Click to expand...
Click to collapse
Yep having all that already
geoff5093 said:
Stop using apps like Greenify and wakelock detector, they honestly do more harm than good with the newer versions of Android. OnePlus has this built in anyways, called battery optimization. Turn on advanced optimization and only allow apps you NEED to get real time notifications for, I get great battery life with that setup.
Click to expand...
Click to collapse
You sure because when i use greenify i get way better battery life and greenify also adopts to the newer version of android with shallow sleep.

Categories

Resources