[GUIDE] Improving battery life for non-TW ROMs - Samsung Epic 4G Touch

A bit dated of a post, but most if not all still relevant. We have a lot of non-TW ROMs for this phone which sacrifice battery life for improved functionality, not by choice, but mainly because Samsung's lack of GPL compliance with regards to sharing kernel sources. Our community devs have done an incredible amount of work with their kernel forks, but Samsung's paid development teams obviously have a lot more time and incentive to work on it, and as such our community devs' graciously find even more fixes once source drops, then merge them into the community kernels we're all using. So as we wait in limbo for them to share their JB kernel contributions to our community:
Anyone that wants to add anything to the list, post to the thread and I'll keep collecting.
Workarounds for D710 battery drainers:​
battery saver scripts:rmikulus found this sweet piece of development gold: if you know how to run scripts,"Die Hard Battery Calibrator" will calibrate your battery in only about 20 minutes (must be plugged in that entire time)
Probably better to use the latest and greatest here instead, much easier to install, just a simple CWM zip AIO scripts:
Jelly Bean Tweak Pack for Epic 4G Touch Fixes Various Errors
--appears to help battery life and other various issues.
Voodoo LOUDER (paid) supercurio - Project Voodoo
--not battery-related, probably causing opposite effect actually, but many find an issue with headphone audio being maxed out at lower dB than desired. I'll confirm this works on CM10 nightlies.
WiFi : Turn it off when not in use, just like anything else. Tasker does a great job of automating this process.
raise the network scan interval to reduce background wifi radio usage (Rom Toolbox allows build.prop tweaks such as this,)
change the sleep policy for the wifi to Never While Charging to allow wifi connection to die when phone is off (toggle is in the touchkey menu while viewing wifi settings.)
NOTE: WiFi is a more desirable data connection than 4G as far as batt life is concerned. 4G is auto disabled when wifi is on for most ROMs. 4G (WiMax) is a new technology that still has yet to be perfected, not unlike these latest developments in ICS.
4G Radio: Also turn off when not in use. Use the latest modems available. Note that modems won'tt install from ODIN/mODIN flashes, gotta use CWM zip installs.
Haptic Feedback: Turn off haptic feedback, vibration kills. (Particular to CM9 ROM, haptic is set too strong right now, TouchWiz-based ROMs are fine, but if you can live w/o it...)
LED notifications: Another wakelock offender. Turn them off for now, it's one of the reasons the device stays awake when it should be sleeping. Sleep is good.
Get BetterBattery Stats by chamonix : Take a look at it after a long period of uptime without restarting (quick or full) to allow a greater set of data to parse into stats. Some apps you use may be eating away at your battery from the background. Spare Parts Plus and it's root-friendly brother BladeBuddy is also valuable.
Use the latest kernels available. If you're flashing CM nightlies, you're good to go, kernel modifications are updated in the same process.
Touch sounds and screen lock sound: These still cause partial wakelocks , leading to some amount of battery drain. System Settings>Sound menu to turn these off for now. (thx coiledwire)
The CM9 Team put together a similar list with a few things not listed here. Check the 'Power Saving Options' section on the CM9 Blog
----
Android-specific:​
BatteryStats.Bin This little file keeps a record of your battery usage, power amperage, etc. and every time you flash a rom, it gets wiped. The system's ability to track the exact power level of your battery is DIRECTLY dependent on this file, so if you don't allow the newly flashed system a few days to calculate averages over time, it won't really have time to realize how charged it really is. NOTE: this file has NOTHING to do with improving battery life, only calculating what the battery % shows in the statusbar (and in the battery statistics charts in the system settings menus.) I've sat at 5% battery life for an entire hour with screen on surfing the 'net. No way it was really 5% that entire time.
While wiping battery stats won't increase battery life, it will improve the calculation of the charge, if done properly. Stats are saved in /data, when a ROM is installed, initially the stats will not have much data to extrapolate from, and the battery probably isn't entirely full to begin with, therefore making a mess of a new ROM's recognition of the cell's true charge. It's best to wipe stats when your charge is above 4180mV (E4GT stock battery size.) I've seen mine as high as 4202mV. Also, if you've got aftermarket cells that aren't the same mAH rating, the results will be slightly wonky. Battery Calibration app can set a reminder to flush the battery stat counter file when the phone is charged, if you need to charge with your device on.
I notice that flashing roms with a battery @100% and charging will help in this regard, then once the system is fully booted, unplug it and drain it to 15%, then charge to 100%, then do :
Bump Charging is suggested by HTC developers to potentially DOUBLE your battery life.
Battery Tuning: We're running Lithium Ion batteries. Don't kill it to 0%. Ever. Tip: Condition your new cell phone’s battery to make it last longer (but be sure to condition it properly)
Live Wallpapers and other background services: If you can live without them, turn off the services. Many common apps trigger network connections on a periodic schedule, further causing drain. increase sync periods, or just sync manually.
Sync: Yet another form of background services. If your sync is running all the time from frequent emails, gvoice msgs. etc... and the like, try turning off some of your heavier data tranx and refreshing manually when you need it.
Again, please tack on posts for this thread if you have good additions to make, I'm just trying to collect a one-stop shop of battery life savers, and a place to point newbs when they start trainwrecking dev threads with questions about it. This is my humble way of giving back cuz I was one at one point.

Thanks, some of these tips most users may know but the one that helpped me was the notification light when running cm9! I worked 10 hours a day and cant use my phone but my battery was draining like crazy! Much better!

Solid advice. I do everything mentioned here. I also throw in a bump charge to finish it off..old habits die hard
Sent from my SPH-D710 using Xparent Blue Tapatalk 2

so is bump charging still a valid method? I've read that HTC developers suggest it, but you're saying old habits so I'm assuming you're aware of something about it.
[url="http://forum.xda-developers.com/showpost.php?p=25060053&postcount=1] Bump Charging [/url]

Dudebowski said:
so is bump charging still a valid method? I've read that HTC developers suggest it, but you're saying old habits so I'm assuming you're aware of something about it.
[url="http://forum.xda-developers.com/showpost.php?p=25060053&postcount=1] Bump Charging [/url]
Click to expand...
Click to collapse
Well, its just my routine. I charge to full, power down charge to full, unplug, power on, plug back in. When. I open Battery Calibration app, if battery shows 100% but only like 4110mV instead of 4180mV+ I will unplug and plug back in a minute later then wipe stats when it shows anything over 4175mV and 100% charge...confusing enough?! Lol
Sent from either ET4G or NS4G using Xparent Tapatalk 2

Thanks For the Guide.
I was really dissapointed with ICS.
I was still running EL29- Rooted and was running everyday on 14hrs with Wi-Fi always on. so after seeing that most bugs were fixed on FD24 i updated and yesterday i was running on 5hrs tops with Wi-Fi on.
So i did some suggested tweaks.
Wi-Fi off.( only ON when i need it)
GPS- I unchecked the last to option on the location.
Adjust haptic
uncheck some Sync from Google.
by the way what's? "Internet Sync"
and now.... im at 66% after 7hrs of being unplugged.

Internet sync meaning anything that may transfer data in the background like google talk, weather apps, Skype, etc.
Glad to hear those stats ! Take a screen Cap of the battery stats when it gets below 10% and post here
Sent from my SPH-D710 using XDA

Dudebowski said:
We're currently in a lull period between development phases now that ICS is blowing up all of our E4GT's. Samsung's kernels leave a lot to be desired, hence the current work towards a proper aftermarket kernel. ICS roms are very new, especially the custom ones going on in the dev kitchen right now. Software level ROM coding is one thing, the devs will get that fixed, but ultimately they're dependent on a solid kernel... and one of the biggest problems with the kernel, is that ever-elusive battery life.
so:
God-Tier devs, correct me if I'm wrong, and please add your thoughts, additions, and suggestions below. I'll try to keep a live OP post for a universal E4GT battery tweak guide.
Things that eat up our E4GT battery for now, with workarounds:​
WiFi : Turn it off when not in use
raise the network scan interval (Rom Toolbox allows build.prop tweaks such as this,)
change the sleep policy for the wifi to Never While Charging to allow wifi connection to die when phone is off (in spare parts).
NOTE: WiFi is a more desirable data connection than 4G as far as batt life is concerned. 4G is auto disabled when wifi is on for most ROMs.
4G: Also turn off when not in use. Use the latest modems available. Flash with odin/mobileOdin because the CWM flashables sometimes don't stick.
Haptic Feedback: Turn off haptic feedback, vibration kills. (Particular to CM9 ROM, haptic is set too strong right now, TouchWiz-based ROMs are fine, but if you can live w/o it...)
LED notifications: Another wakelock offender. Turn them off for now, it's one of the reasons the device stays awake when it should be sleeping. Sleep is good.
Get BetterBattery Stats by chamonix : Take a look at it after a long period of uptime without restarting (quick or full) to allow a greater set of data to parse into stats. Some apps you use may be eating away at your battery from the background. Spare Parts Plus and it's root-friendly brother BladeBuddy is also valuable.
Suggestion, with disclaimer: Use the latest stock or Rogue kernels and modems. sfhub keeps the most updated modem D/L list . Don't forget that you should not flash ANYTHING from ICS kernel/recoveries yet!!! There are known issues with these kernels, and every last one of them is a beta stage leak from samsung along with a custom recovery and some little tweaks to work with the various ICS roms. The flashing HAS bricked MANY phones! There will be great fanfare and notices from the developer teams once we have an ICS kernel that works. It's mostly dependent on Samsung releasing sourcecode, although there are some teams working on porting the source of the other Galaxy II's... the race is on!
Touch sounds and screen lock sound: These currently cause partial wakelocks in Galaxy S2 ICS ROMs , leading to some amount of battery drain. System Settings>Sound menu to turn these off for now. (thx coiledwire)
----
Universally true:​
Live Wallpapers: If you can live without electricsheep or the other various animated wallpapers, do so. I can't
Battery Tuning: If you didn't condition your battery when you first got it, good luck. In any event, try to condition it from here on out by burning it out completely (phone won't boot with it) then charge 100%, keep it off charge until it dies again, CWM Wipe Battery Stats, run the battery down again without charge. Repeat the charge/kill cycle a couple times. New kernel or ROM? Start from scratch again. Battery stats are saved in /data, so old stats can mess with a new ROM's recognition of the cell's true charge. Also, if you've got aftermarket cells that aren't the same mAH, you'll only get as good a conditioning as the weakest battery can take. Battery Calibration app can set a reminder to flush the battery stat counter file when the phone is charged, if you need to charge with your device on.
Sync: If your sync is running all the time from frequent emails, gvoice msgs. etc... and the like, try turning off some of your heavier data tranx and refreshing manually when you need it.
EDIT:
Darchstar and the CM9 Team put together a similar list with a few things not listed above. Check the 'Power Saving Options' section on the [url="http://e4gtcm.blogspot.com/p/customization-guide.html] CM9 Blog[/url]
I've also since learned that wiping battery stats does nothing with prolonging battery life. There's numerous articles quoting official Google/Android developers where they explain this flat out It may help your system recognize the true percentage of your charge, but that's about it.
[url="http://forum.xda-developers.com/showpost.php?p=25060053&postcount=1]Bump Charging[/url] is suggested by HTC developers to potentially DOUBLE your battery life.
Click to expand...
Click to collapse
Links in your edit post dont seem to work.

I've found that taking the wifi frequency band off of auto and changing to your desired frequency helped my battery when Im on wifi and the phone is sleeping
Sent from my SPH-D710 using XDA

Dudebowski said:
Internet sync meaning anything that may transfer data in the background like google talk, weather apps, Skype, etc.
Glad to hear those stats ! Take a screen Cap of the battery stats when it gets below 10% and post here
Sent from my SPH-D710 using XDA
Click to expand...
Click to collapse
Ok here are my screencapture for FD24.
I just updated to FD26 using NoData It looks like preserve all my settings so I'm gonna give it a shot tomorrow , I will report back.

CM9 when you finally get phone to sleep nice and soundly

....or just stick with GB roms that work and stop suffering yourself these ICS leaks.

Some of us have flash addiction. Some of us enjoy bring Guinea pigs for development. I for one just left my last phone running cm7 and couldn't bear the austerities of a stock ROM. The GB twiz hacks are alright, but it doesn't feel like home to me.
Sent from my SPH-D710 using XDA

A few of us are actually doing better with battery on ICS. One problem is that we get so many leaks and ROMs that the battery might not be having a chance to settle
Sent from my SPH-D710 using Xparent Blue Tapatalk 2

Beejis said:
Links in your edit post dont seem to work.
Click to expand...
Click to collapse
*fix'd.
im0rtalz said:
CM9 when you finally get phone to sleep nice and soundly
Click to expand...
Click to collapse
w00t w00t!

I get pretty good battery on AOKP:

Good thread, thanks for the tips.
Transmission sent from my slim n trim Galaxy S II.

Agree with just about everything. One thing that I disagree with is letting your battery die at all. It actually decreases the life of the battery in lithium ion batteries. Its an old school method for old batteries. Try never going under 15% if possible. Everything else is correct as far as I can tell.
Sent from my SPH-D710 using xda premium

On the topic of battery calibration, if you know how to run scripts, the creator of V6 Supercharger and 3G Turbocharger scripts has also created "Die Hard Battery Calibrator" which will calibrate your battery in only about 20 minutes (must be plugged in that entire time)
http://forum.xda-developers.com/showpost.php?p=18703418&postcount=5021

LordLugard said:
....or just stick with GB roms that work and stop suffering yourself these ICS leaks.
Click to expand...
Click to collapse
What he said
Sent from my SPH-D710 using XDA

Related

Battery Life

What methods do you use to save battery life? Lookin for anything from the most common practices to the least known. Describe complicated methods the best you can. Also looking for methods with the least sacrifice of power and screen brightness.
Sent with my CM7 G2 using XDA tansparent app.
Here you go, make sure you click on the "get 5 more here link"
http://www.goodandevo.net/2010/05/20-tips-to-improve-htc-evo-4g-battery-life.html
Although this article was made for the EVO, most of the tips still work with the G2. Just make sure you don't pay attention to the ones that involves anything dealing with CDMA, that doesn't deal with the G2.
Another article, http://wccftech.com/2010/09/19/busted-5-myths-increasing-decreasing-androids-battery-life/
Check out the other links at the end of it as well.
OP, are you rooted?
If so:
1) custom ROM with no bloatware that runs more efficiently
2) OC/UC capable kernel.
- Use SetCPU to UnderClock if you're really worried about battery. At the least, set a Screen Off profile to 245min/365max. Do a search there are tons of posts about optimal use of SetCPU.
General:
1) JuiceDefender is a great app to auto-toggle your 3G/WiFi radios when they're not in use to save you battery. Very configurable and the Free version is quite solid
2) I'm sure you're aware of the normal turn off WiFi, Bluetooth, GPS, etc. when not in use
3) If you don't need the most up-to-date e-mail/facebook/etc. updates then turn down the sync innerval or turn it off and manual sync when u want.
Judging by your signature if you're running CM7 you're rooted. So I would follow what martonikaj suggested with SetCPU. I have it OCed to 1.516 GHz but with the profiles set I am making beautiful battery times.
Also, something else that I've noticed is that if you have ClockworkMod Recovery you can wipe the battery stats. I do this every time I flash to a new ROM (which is why I stay away from the nightlies) by doing the following:
- Charge the battery to 100%
- Boot to Clockwork Recovery
- Do a Nandroid Backup (just because and just in case)
- Wipe Battery Stats (should be on the front menu, but I'm not in recovery)
- Reboot
- Use your phone as normal but do not charge it until the battery is 100% dead
- Put the phone on the charger and let it charge with the phone off
- Once the phone is charged, boot it up and use it normally (you can charge whenever now)
This will remap the battery stats and give a more accurate usage. It may be wonky the first couple days, saying you have 100% battery then dropping down to like 83%, but it gets more accurate after the building period. When I first OCed I was getting crap battery life, even with the profiles set. But after wiping the battery stats and regoing my phone can last usually a 12 hour day of constantly texting (roughly 250 - 300 a day) and having it sync everything about once an hour, and auto fetching emails from my GMail. Oh, and I have the Weather Channel, Twitter, Facebook, and Pandora widgets going on. So yeah, I swear by that
I use wifi whenever possible, reduces the search fro tmo crap network.

If you get great battery life, please share your tips here!

I'm currently on the CM7 ROM, I have juice defender and done all the minor tweaks as far as disabling wireless network location, turn off the wifi and GPS, and an app killer. I still only manage at max 9 hours before my phone tells me to recharge.
If your getting great battery life, help me and others by sharing your tips here.
Sent from my SPH-D700 using XDA App
Best tip is to stay on wifi as much as possible. I got 3 days on wifi and about 4 hours use.
Sent from my SPH-D700 using XDA App
I turn data off when im not using the internet and when I'm just listening to musc I just put my phone in airplane mode
Yeah, I need some help too. I get about a day and a half with no use at all, and about 10 hours with minimal use. 4 hours with real world usage... I can't deal with this. Could it be the battery? It performs like a 1 year old, used, refurb battery came with a stock phone!
Sent from my Samsung Epic 4G with Tapatalk
Have you configured the battery since flashing the rom?
I get decent enough battery life, with light usage I can go about 36 hours w/o a charge but on my heavy usage days I usually have to use the car charger a few times a day.
kennyglass123 said:
Best tip is to stay on wifi as much as possible. I got 3 days on wifi and about 4 hours use.
Sent from my SPH-D700 using XDA App
Click to expand...
Click to collapse
masaidjet said:
I turn data off when im not using the internet and when I'm just listening to musc I just put my phone in airplane mode
Click to expand...
Click to collapse
liquiddetox said:
Have you configured the battery since flashing the rom?
I get decent enough battery life, with light usage I can go about 36 hours w/o a charge but on my heavy usage days I usually have to use the car charger a few times a day.
Click to expand...
Click to collapse
all of these... biggest one is to turn off data when the phone is in your pocket. use wifi when u can, avoid using 4g unless plugged in, configure the battery in recovery (i've actually notice that this helps less than anything else for me), and finally: get an extended battery. it's worth the extra hours u can squeeze out of it. don't expect more than 4-5 hours screen on time with any rom/kernel/modem combo with a stock battery.
liquiddetox said:
Have you configured the battery since flashing the rom?
I get decent enough battery life, with light usage I can go about 36 hours w/o a charge but on my heavy usage days I usually have to use the car charger a few times a day.
Click to expand...
Click to collapse
Yeah I also did that wipe battery stats at recovery.
I just thought maybe my expectations were too high, although it seems as if my battery drains drop pretty fast.
I would say about -10% battery drop every hour, just checking the time and send/receive text messages. Occasionally I surf the Web on the phone when on break at work. Other than that the phone is in my pocket, and after my 9 hour workday my phone demands the charger.
This is with the stock battery, so I guess this is normal unless I'm using the extended battery?
...
Sent from I guess my SPH-D700 using XDA App
u could also run a kernel that allows for over (under) clocking/undervolting. that helps some, too
get the duricell portable battery extender, add milliamps to your arsinal in one way or another with extended batterys or whatever, if you call sprint and complain loudly and dickly they will rebate you the cost that u spend on a new battery or batt extender whatever... that being said all the above options work great, u can also use night mode on chainfire 3d to save battery, or perhaps half your pixel rate, or perhapes turn off some colors (havent seen an app to do this yet) and reset your battery memory in cwm, kill ur batt, charg while off, then cycle again like that. (theres an app for that) if your not rooted, root your phone. if you dont want to root your phone, cycle ur battery the old fasion way or pop it into a rooted phone and do it.
I used to get really poor battery life (due to my phone not sleeping as evidenced by Spare Parts app). I rooted, used Titanium Backup to freeze various apps, and got an Zboost antenna booster for the office and called Sprint who sent me an Airave for the house. I wiped battery stats and cleared my Dalvic cache and the thing the finally got me right was finding out the Amazon MP3 app was still logged in though not running. Once I made sure I was logged out of that and Lattitude (Google Map feature) and Facebook, I haven't had any problem with a sleeping phone. Stock Froyo, standard battery, but rooted. When they say a bad app keeps your phone from sleeping I think they mean an app that requires log in...although this does not seem to be a problem if you stay logged in from a browser, only from an app!
Breezy357 said:
I'm currently on the CM7 ROM, I have juice defender and done all the minor tweaks as far as disabling wireless network location, turn off the wifi and GPS, and an app killer. I still only manage at max 9 hours before my phone tells me to recharge.
If your getting great battery life, help me and others by sharing your tips here.
Sent from my SPH-D700 using XDA App
Click to expand...
Click to collapse
You may be shooting yourself in the foot with some of those things. App killers aren't that useful on Gingerbread since they keep killing apps that just reload on their own, and every time the reload it uses power. Just because an app is loaded doesn't mean it is running. Try letting the system take care of it. Juice Defender may help a little but it keeps shutting down data and starting it up, which means you don't get as much usefulness out of the phone and may waste power in some circumstances.
See what you have set to sync. Turn off any autosyncs you don't need, like weather screens, facebook, etc. If at all possible set them to only sync when you open the program.
I use the exchange option for gmail using the stock samsung app, which gives me push email but doesn't have to keep polling the server. I don't know if that makes a difference compared to imap, but it works well for me. don't think you have that option in CM7.
Wifi is a much more efficient way transfer data than 3G, use it whenever you can, and set it to never sleep. Otherwise the 3G radio keeps starting up again and wasting battery.
You can freeze the DRM stuff if you don't use it. I don't know if it really makes a difference but everyone thinks it does, so I do it.
Having a black wallpaper helps a little because on a AMOLED screen a black pixel uses no power.
The biggest battery killer is being in a bad signal area. If you always have 0 or 1 bars then your phone is going to always be draining the battery trying to find a good cell. In that case Roam Control may help you.
That's about all I do, and with the latest Stock gingerbread EH17 and EI22 I'm sitting with about 40 to 50% left after 12 hours, that's with light to moderate use.
I've been through the ringer with this. I'm pretty comfortable now, routinely managing to have 33% of battery left after 12hrs w/3g always on, sync always on, intermittent music listening, 2.5-3hrs of gaming and general "screen on" time (auto brightness), 1.1 GHz OC, no undervolting, and GPS always on. Here's what I'd suggest:
Flash a ROM w/ NO CIQ (thanks k0nane!) - In addition to being a leech on your privacy it's a leech on your battery. It's old news to long-time Epic owners at this point, but ditching CIQ improves battery life and overall responsiveness of the Epic. A popular stable Froyo ROM for this is SFR 1.2.
Minimize always-running services - Long press your homescreen, select "shortcuts," select "settings," and select "running services." Tap this to see what's running ongoing services (not apps) your phone is running. All of these are drawing current to stay in RAM. Things like Juice Defender, Tasker, and others show up here and draw power in doing so. JD and Tasker especially can drain a lot because they perform constant tasks as well. Uninstall them and let your phone manage itself.
The same goes for task managers and app-stoppers - Froyo and above does this fine on it's own
Freeze/Uninstall system services you don't use - This includes things like Sprint voicemail, the "Email" app, and the "SprintAndroidExtension.apk," and SNS services. You'll most likely find these on the "Running Services Page" as well. You can Titanium Backup to uninstall them, but I recommend the SDX Stock App Remover as that can restore them (TB can't reliably). TB can freeze these as well, which accomplishes basically the same thing. SNS is connected to Facebook, so if you use that a lot you might want to keep it. DRM services can also be removed, but may cause problems reading the SD card. I stay away from it.
Use Spare Parts to monitor wakelock and CPU usage - If you notice something giving you persistent trouble, shut it down. This is time-consuming, but you'll get a good feel for what apps are out there to accomplish similar tasks and which one best suits your needs.
Uninstall apps you don't use - Next time you wipe and flash a new ROM, reinstall or restore backed up apps as you need to use them and not all at once. You may find you don't need quite a few of them, allowing you to keep more space open on your phone and requiring less current to maintain them
Don't charge the battery overnight - most phones can reach capacity in 2-4 hours depending on charge level. Beyond that, holding at or around fully charged will degrade the battery by denying it the ability to release the stored energy. I charge mine in the evening a few hours before bed and top it off in the morning before leaving for work.
Get an 1800mAh battery sold for the Epic Touch - this is what moved me form "getting by" to "definitely comfortable." For around $25 (incl shipping) on ebay, I've gotten a new lease on my Epic's life. It may seem like cheating to bring in a new battery, but it makes a lot of difference WITHOUT adding more bulge to your phone (makes it a tad heavier though).
Hope this helps. Remember, of course, that what works for one phone won't necessarily work for another. Despite being the same model, minor imperfections in silicone can create individual temperaments for each phone.
I as always trying to make my battery last by stopping this and uninstalling that. Then I thought; why did I buy this phone with all of these capabilities to turn them all off
So, something like the "Hyperion Sprint Samsung Epic Touch 4G 2 x Battery + Charger" (too "young" to post a direct link)
Would fit in/work with the Epic 4G (without needing a new cover)? Even though its for the Touch?
Lol, I've been doing many of the suggestions across the board, and have gotten much better results. But I'm still not "comfortable" with my battery strength, especially when I'm unable to charge my phone all day...
Looking into your running services is a big one. week ago my battery life greatly decreased. I kept seeing market update pending and it wouldnt go away. Never update never go away. I manually updated the market and the battery is back to wonderful. It drops 2-3% at night off charger. Thats about 8 hours.
A sticky with all the main running services and which ones you can stop would be wonderful. I have sns services running. I think i can stop it but not positive. I also have sanservice running supposedly some type of samsung update. Its not doing anything but its been running for 2 days. No negative effect on battery(that i notice) but its running. Also make sure you turn location off. Ive also noticed that even when you back out of google maps its still in running services. A restart fixes that but thats annoying.
themow said:
Looking into your running services is a big one. week ago my battery life greatly decreased. I kept seeing market update pending and it wouldnt go away. Never update never go away. I manually updated the market and the battery is back to wonderful. It drops 2-3% at night off charger. Thats about 8 hours.
A sticky with all the main running services and which ones you can stop would be wonderful. I have sns services running. I think i can stop it but not positive. I also have sanservice running supposedly some type of samsung update. Its not doing anything but its been running for 2 days. No negative effect on battery(that i notice) but its running. Also make sure you turn location off. Ive also noticed that even when you back out of google maps its still in running services. A restart fixes that but thats annoying.
Click to expand...
Click to collapse
SNSservice is a Facebook and Feeds and Updates Widget service. ALWAYS stop it. It does not matter to Facebook, even if you use it, but if you remove the Feeds and Updates Widget on one of your screens, that service continues to search for it and will kill your battery in a matter of hours (it starts a "restarting" loop). Either leave the widget on or kill this service after every reboot or if you are rooted, freeze it along with DRM service.
My other battery tips are to log out or sign out of every app such as Lattitude, Facebook, Amazon MP3 (it's ok to use them, but don't just back/exit out, actually sign out of them so you have to log back in next time). Apparently, staying signed in causes your phone to not sleep and you can't find what is causing it (i.e. you can't see it "running" anywhere...people call it a misbehaving app, and you would have to delete apps one at a time to find it by trial and error).

Kernel Wakelocks and You

I am opening this thread to talk about kernel Wakelocks. It's a branch of this discussion in the Franco's Kernel thread.
Hopefully we can research what a lot of these wakelocks are and find ways of minimizing them in order to increase the efficiency (and reduce power consumption) on our devices.
What is a Wakelock?
A wakelock is a software method for applications to control the power state of your device. The purpose of a wakelock is in its name, to lock your device in an awake state keeping the CPU running and preventing it from entering Deep Sleep (Think of a music app or video player). A wakelock can also cause your device to turn on (think syncs or notifications).
A poorly coded application can acquire a wakelock and not release it, causing your device to remain on.
A partial wakelock means the CPU is ON, but the screen is OFF.
A full wakelock means the CPU and Screen are ON. (we don't really need to worry about this)
Sources:
http://developer.android.com/reference/android/os/PowerManager.html
http://developer.android.com/reference/android/os/PowerManager.WakeLock.html
How to help:
Install BetterBatteryStats which will show you what the wakelocks are on your device.
If you don't know what a specific wakelock is doing. Google it. Don't just google the wakelock name verbatim. Use part of it. They are usually logically named. But most often they are shortened or turned into acronyms (there are so many in IT) which makes them cyptic.
Kernel wakelocks are low level/hardware wakelocks from the kernel. We can only reduce these by modifying the kernel or reducing the usage of a certain feature of the kernel. By researching these we can improve the battery consumption and performance of the Kernel.
Partial wakelocks are wakelocks from apps. These can be reduced by uninstalling or disabling features in software. We can talk about those here too though it shouldn't be the focus as the answer will be "Uninstall/Disable feature X and talk to the app author". Preferably we should talk about partial wakelocks from Google services like maps and latitude.
psycho2097 said:
I think it would benefit a lot of noobs here,me included if someone started a thread compiling a list of the known wakelocks and how to avoid or get rid of them. For the life of me I can't figure out mipi_link, alarm_rtc,musb_autosuspend and I have no idea how to remove wlan_rx and vbus_tuna_otg. I would highly appreciate some help on these.
Sent from my Galaxy Nexus
Click to expand...
Click to collapse
wlan_rx is wireless LAN receive. Turn off wifi.
musb_autosuspend_wake_lock im pretty sure is a kernel powermanagement method to turn off power to the micro usb port and have any attached devices be placed in a power suspend mode. Probably most useful for the USB OTG support on this port.
alarm_rtc is Real-time clock alarm. It isn't the alarm to wake you up, tho it could be used by that. It's more like a scheduler on your phone, to make sure it is not sleeping when an application needs it. "AlarmManager is a universal process that MANY apps use to update time, push you notifications, etc. In most cases, it is a necessity; in other cases, you should really check it out and disable/uninstall things that have invoked it too much."
Sources:
http://developer.android.com/reference/android/app/AlarmManager.html
https://github.com/asksven/BetterBatteryStats-Knowledge-Base/wiki/AlarmManager
vbus_tuna_otg sounds like virtual bus for USB OTG devices. According to Franco this wakelock occurs when your "device [is] attached to the USB." From this I would take it to mean that if your GNex is attached to a computer via USB you will see this wakelock.
mipi_link stands for Mobile Industry Processor Interface but I am unsure of what this does specifically. From googling it it seems highly related to the cameras. Maybe its how we can see a live feed of the camera from the device.
Sources:
http://en.wikipedia.org/wiki/Mobile_Industry_Processor_Interface
PowerManagerService is the kernel wakelock that is a container for all of the partial wakelocks on the device.
Sources:
https://github.com/asksven/BetterBatteryStats-Knowledge-Base/wiki/PowerManagerService
AudioOut_1 AudioOut is used to play notification and system sounds. Putting your device on silent will make this go away.
Sources:
https://github.com/asksven/BetterBatteryStats-Knowledge-Base/wiki/AudioOut_1
Revisions:
2012.01.24 - Added "what is a wakelock" section
2012.01.24 - Initial Post
Awesome. theres also a wiki in the betterbatterystats website that explains some of the more known wakelocks, nonetheless, these will be very helpful to a new user.
https://github.com/asksven/BetterBatteryStats-Knowledge-Base/wiki/_pages
Also, the betterbatterystats thread at XDA has some intro level info.
edit: I just realised you already posted individual links.
These wake locks are beginning to piss me off really. Pardon my frustration. Check the screen shots of better battery stats. I don't have touch sounds checked or nfc enabled. I did use media player to play music in the train. I have these wake locks all over the place and haven't found any solution yet. Anyone any help much appreciated.this is all with stock rooted running Jame bond kernel. Stock kernel was better. Using default UV settings and some profiles.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Sent from my Galaxy Nexus using XDA App
vick1377 said:
These wake locks are beginning to piss me off really. Pardon my frustration. Check the screen shots of better battery stats. I don't have touch sounds checked or nfc enabled. I did use media player to play music in the train. I have these wake locks all over the place and haven't found any solution yet. Anyone any help much appreciated.this is all with stock rooted running Jame bond kernel. Stock kernel was better. Using default UV settings and some profiles.
Sent from my Galaxy Nexus using XDA App
Click to expand...
Click to collapse
Wakelocks are a normal part of the system. You can't get rid of them, but you can minimize the unnecessary ones for sure.
Yeah its unfortunate that the NFC wakelock occurs even with it disabled. Thankfully its very minimal.
The Audioout_1 wakelock im sure is all audio events. Like notifications and perhaps even music playing. Nothing you can do here.
Modem_USB im guessing is your USB Tethering for data? If you turned that off you might get rid of them as they don't even show up on mine.
Basically I would just be focusing on wakelocks that are proportionately higher than the others. If most wakelocks are 2-3 minutes after a full days use but you see a one or more holding wakelocks that are in the double digits, check those out.
Thank you for a quick response. Where do I turn off USB tethering which I don't have? As you see some of partial locks are very high. Also once you stop using per say audio player or mp3 player shouldn't that audio out wake lock go down or disappear. Off topic question when I flashed Jame bond kernel did I have to wipe cache and dalvik cache?
Are there some apps which can tell which apps are bringing these locks? I can post alogcat logs later from PC as I can't attach from phone as it only allows screenshots from gallery
Sent from my Galaxy Nexus using XDA App
vick1377 said:
Thank you for a quick response. Where do I turn off USB tethering which I don't have? As you see some of partial locks are very high. Also once you stop using per say audio player or mp3 player shouldn't that audio out wake lock go down or disappear. Off topic question when I flashed Jame bond kernel did I have to wipe cache and dalvik cache?
Are there some apps which can tell which apps are bringing these locks? I can post alogcat logs later from PC as I can't attach from phone as it only allows screenshots from gallery
Sent from my Galaxy Nexus using XDA App
Click to expand...
Click to collapse
Settings > More... > Tethering & Portable Hotspot > Make sure everything here is unchecked. You can only check/uncheck USB Tethering if the device is plugged in.
If you stop playing audio I would assume the audioout_1 wakelock to reduce significantly. If you look at your screenshot you see Android Media Player holding a wakelock for 23 minutes, and Audioout_1 for 24 minutes.
So I am assuming that if you didnt listen to any audio, audioout_1 would just say about 1 minute. You may never get it to dissappear fully even if the device is muted. This is something you'd want to try on your own and report back. Remember we're doing research together I'm not doing it for you
As for wiping cache and dalvik after flashing a kernel. Franco says you do not have to. So personally I don't. It definitely doesn't hurt other than wasting time. If you do flash a ROM though you must wipe both caches.
Finally you need to decide how much you want to reduce wakelocks. Like if you are listening to music there is nothing wrong with having your device awake. It shouldn't kill THAT much battery. Esp if you clock down to 350mhz.
You can dramatically reduce the AudioOut wakelock by disabling the following in SETTINGS > SOUNDS:
Touch sounds, dial pad touch tones and screen lock sound.
Disabling these three options eliminated my problem completely.
As for myself:
MIPI_LINK continues to be the #1 destroyer of my battery life, regardless of what ROM or kernel I flash. Even just flashing the ROM, wiping the battery stats and then leaving the phone on my desk untouched for 12+ hours can cut 10-20% off my battery life.
It's ridiculous. There is absolutely something wrong with the battery drain on the Galaxy Nexus, but some people have it, and others don't.
Wake locks
sishgupta said:
Settings > More... > Tethering & Portable Hotspot > Make sure everything here is unchecked. You can only check/uncheck USB Tethering if the device is plugged in.
If you stop playing audio I would assume the audioout_1 wakelock to reduce significantly. If you look at your screenshot you see Android Media Player holding a wakelock for 23 minutes, and Audioout_1 for 24 minutes.
So I am assuming that if you didnt listen to any audio, audioout_1 would just say about 1 minute. You may never get it to dissappear fully even if the device is muted. This is something you'd want to try on your own and report back. Remember we're doing research together I'm not doing it for you
As for wiping cache and dalvik after flashing a kernel. Franco says you do not have to. So personally I don't. It definitely doesn't hurt other than wasting time. If you do flash a ROM though you must wipe both caches.
Finally you need to device how much you want to reduce wakelocks. Like if you are listening to music there is nothing wrong with having your device awake. It shouldn't kill THAT much battery. Esp if you clock down to 350mhz.
Click to expand...
Click to collapse
Opening this thread is the best thing. Can't appreciate enough. So, I always have the phone in vibrate mode but turned to silent mode and checked the better battery stats, the audioout_1 still there but I think it's showing still the same as 25 minutes or so and but % has gone down to 6-7% from 10% and above. Regardless the time is not increasing even though it the wake lock is still there. I'm wondering if it doesn't refresh until after fully charge/unplugged. I checked both kernel and partial wake locks with option since unplugged and since charged. What I will do next is drain the battery fully few times too since it's an extended battery I got last week?
One thing for sure I was getting better battery life with stock rooted rom and stock kernel with some setcpu profiles. I made all the nandroid, titanium backups, what I will do next is flash the stock kernel and monitor the results and report back here for comparison. After then I will be super tempted to flash 4.0.3 franco's ROM and nightly kernel . I'm debating to wait for OTA 4.0.3 or custom ROM. I'm honestly not at all happy with jame bond kernel in terms of battery life. Can you also suggest some good radios to flash? Part of the problem could be the phone toggling between 3g and 4g connection. Most places I do get consistently but sometimes it switches back to 3g. Flashing new radio might improve the signal strength to keep it consistent on 4g so that no toggling required.
Absolutely we are doing this research together no doubt and you are helping a tons
---------- Post added at 01:48 PM ---------- Previous post was at 01:24 PM ----------
Regarding USB tethering, did you mean plugged via outlet or via data cable connecting to computer? When connected via charger cable (not data/charger cable that came with it) to AC outlet, I see usb tethering disable and grayed out. I think you probably meant via data cable connecting to USB port of computer. I will do that tonight once I get home and check to see if these usb related wake locks go away or reduce.
sishgupta said:
Wakelocks are a normal part of the system. You can't get rid of them, but you can minimize the unnecessary ones for sure.
Yeah its unfortunate that the NFC wakelock occurs even with it disabled. Thankfully its very minimal.
The Audioout_1 wakelock im sure is all audio events. Like notifications and perhaps even music playing. Nothing you can do here.
Modem_USB im guessing is your USB Tethering for data? If you turned that off you might get rid of them as they don't even show up on mine.
Basically I would just be focusing on wakelocks that are proportionately higher than the others. If most wakelocks are 2-3 minutes after a full days use but you see a one or more holding wakelocks that are in the double digits, check those out.
Click to expand...
Click to collapse
You are right in the audio wakelock, it happens only when you play something. Its not bad, its not something you should be trying to reduce.
Its not faulty, it happens only when anything is playd, screen lock sounds will significantly increase this, because that does cause a faulty wakelock.
sishgupta said:
Settings > More... > Tethering & Portable Hotspot > Make sure everything here is unchecked. You can only check/uncheck USB Tethering if the device is plugged in.
If you stop playing audio I would assume the audioout_1 wakelock to reduce significantly. If you look at your screenshot you see Android Media Player holding a wakelock for 23 minutes, and Audioout_1 for 24 minutes.
So I am assuming that if you didnt listen to any audio, audioout_1 would just say about 1 minute. You may never get it to dissappear fully even if the device is muted. This is something you'd want to try on your own and report back. Remember we're doing research together I'm not doing it for you
As for wiping cache and dalvik after flashing a kernel. Franco says you do not have to. So personally I don't. It definitely doesn't hurt other than wasting time. If you do flash a ROM though you must wipe both caches.
Finally you need to device how much you want to reduce wakelocks. Like if you are listening to music there is nothing wrong with having your device awake. It shouldn't kill THAT much battery. Esp if you clock down to 350mhz.
Click to expand...
Click to collapse
again, hes right here, if you listen to music continuously for a hour or so, and use only the volume key long-press to skip tracks, the gnex uses an extremely low power DAC to play music, takes only around 60-70 ma. You could play for ages without losing significant battery.
I disagree on the cache clean process tho. I have flashed a lot of roms/kernels, and not observing the correct procedure can cause significant problems.Most kernels use different tweaks, mods and scripts to make your system perform better, and its highly possible for one of the tweaks to just stay over and conflict with your new kernel, causing heavy wakelocks. When that happens, your best bet is wiping anyways. So better safe than sorry.
Thracks said:
You can dramatically reduce the AudioOut wakelock by disabling the following in SETTINGS > SOUNDS:
Touch sounds, dial pad touch tones and screen lock sound.
Disabling these three options eliminated my problem completely.
As for myself:
MIPI_LINK continues to be the #1 destroyer of my battery life, regardless of what ROM or kernel I flash. Even just flashing the ROM, wiping the battery stats and then leaving the phone on my desk untouched for 12+ hours can cut 10-20% off my battery life.
It's ridiculous. There is absolutely something wrong with the battery drain on the Galaxy Nexus, but some people have it, and others don't.
Click to expand...
Click to collapse
There is nothing wrong. The thing wrong here is that people have misconceptions. DONT CLEAR BATT STATS. It has been confirmed to not change anything. That was old battery tech. After flashing a new rom, i always do 2-3 charge cycles. after a new kernel, drain till empty then charge and use. I may be wrong, but I have never experienced any issues by this method. I regularly get 1% per 1-2 hrs depending on wifi/data on standby. Even 1% per 4hrs in wifi &data off.
vick1377 said:
Opening this thread is the best thing. Can't appreciate enough. So, I always have the phone in vibrate mode but turned to silent mode and checked the better battery stats, the audioout_1 still there but I think it's showing still the same as 25 minutes or so and but % has gone down to 6-7% from 10% and above. Regardless the time is not increasing even though it the wake lock is still there. I'm wondering if it doesn't refresh until after fully charge/unplugged. I checked both kernel and partial wake locks with option since unplugged and since charged. What I will do next is drain the battery fully few times too since it's an extended battery I got last week?
One thing for sure I was getting better battery life with stock rooted rom and stock kernel with some setcpu profiles. I made all the nandroid, titanium backups, what I will do next is flash the stock kernel and monitor the results and report back here for comparison. After then I will be super tempted to flash 4.0.3 franco's ROM and nightly kernel . I'm debating to wait for OTA 4.0.3 or custom ROM. I'm honestly not at all happy with jame bond kernel in terms of battery life. Can you also suggest some good radios to flash? Part of the problem could be the phone toggling between 3g and 4g connection. Most places I do get consistently but sometimes it switches back to 3g. Flashing new radio might improve the signal strength to keep it consistent on 4g so that no toggling required.
Absolutely we are doing this research together no doubt and you are helping a tons
Click to expand...
Click to collapse
You are correct in assuming it doesnt reset till fully cahrged. When fully charged, the <since charged> counter resets, however, any time you plug it in, the <since unplugged> counter resets.
I dont know whether u hav LTE/GSM, but kk6 does wonders for me in GSM. For example yest i was in a factory from 8am-3pm, with no signal time showing 70%. Absolutely no signal inside factory. I mean , like my whole battry bar is red, almost. My Captivate would be dead by 3pm. The nexus still had 72% juice left when i reached home at 3:30pm, that too with 40 mins screen on.
Also, 4.0.3 may have some issues, but thats y we r here, thats y we bought a nexus, to play with the latest and greatest.
THIS
IS
NEXUS.
psycho2097 said:
I disagree on the cache clean process tho. I have flashed a lot of roms/kernels, and not observing the correct procedure can cause significant problems.Most kernels use different tweaks, mods and scripts to make your system perform better, and its highly possible for one of the tweaks to just stay over and conflict with your new kernel, causing heavy wakelocks. When that happens, your best bet is wiping anyways. So better safe than sorry.
Click to expand...
Click to collapse
I'm just repeating what Franco said. He was very adamant about the kernel having nothing to do with the caches.
psycho2097 said:
DONT CLEAR BATT STATS. It has been confirmed to not change anything.
Click to expand...
Click to collapse
Correct. here is more information regarding this
http://www.xda-developers.com/andro...-battery-stats-does-not-improve-battery-life/
psycho2097 said:
After flashing a new rom, i always do 2-3 charge cycles. after a new kernel, drain till empty then charge and use.
Click to expand...
Click to collapse
IMHO there is no point to this. What would this achieve?
psycho2097 said:
kk6 does wonders for me in GSM.
Click to expand...
Click to collapse
XXKL1 is out. Check it out, its very good. Link in my sig.
psycho2097 said:
Also, 4.0.3 may have some issues, but thats y we r here, thats y we bought a nexus, to play with the latest and greatest.
THIS
IS
NEXUS.
Click to expand...
Click to collapse
Quoted for truth
psycho2097 said:
You are right in the audio wakelock, it happens only when you play something. Its not bad, its not something you should be trying to reduce.
Its not faulty, it happens only when anything is playd, screen lock sounds will significantly increase this, because that does cause a faulty wakelock.
again, hes right here, if you listen to music continuously for a hour or so, and use only the volume key long-press to skip tracks, the gnex uses an extremely low power DAC to play music, takes only around 60-70 ma. You could play for ages without losing significant battery.
I disagree on the cache clean process tho. I have flashed a lot of roms/kernels, and not observing the correct procedure can cause significant problems.Most kernels use different tweaks, mods and scripts to make your system perform better, and its highly possible for one of the tweaks to just stay over and conflict with your new kernel, causing heavy wakelocks. When that happens, your best bet is wiping anyways. So better safe than sorry.
There is nothing wrong. The thing wrong here is that people have misconceptions. DONT CLEAR BATT STATS. It has been confirmed to not change anything. That was old battery tech. After flashing a new rom, i always do 2-3 charge cycles. after a new kernel, drain till empty then charge and use. I may be wrong, but I have never experienced any issues by this method. I regularly get 1% per 1-2 hrs depending on wifi/data on standby. Even 1% per 4hrs in wifi &data off.
You are correct in assuming it doesnt reset till fully cahrged. When fully charged, the <since charged> counter resets, however, any time you plug it in, the <since unplugged> counter resets.
I dont know whether u hav LTE/GSM, but kk6 does wonders for me in GSM. For example yest i was in a factory from 8am-3pm, with no signal time showing 70%. Absolutely no signal inside factory. I mean , like my whole battry bar is red, almost. My Captivate would be dead by 3pm. The nexus still had 72% juice left when i reached home at 3:30pm, that too with 40 mins screen on.
Also, 4.0.3 may have some issues, but thats y we r here, thats y we bought a nexus, to play with the latest and greatest.
THIS
IS
NEXUS.
Click to expand...
Click to collapse
You guys are amazing. Now I'm seeing some life and some hope . One thing I have researched around which is an obvious thing lol that GSM users are getting much better battery life than LTE ones. Obviously I'm on Verizon LTE after I dumped AT&T's garbage 3g and their hspa (whatever they call it). Their LTE is only in limited right now and I'm in Tri-State area. Verizon blows every one away when it comes to speeds . And Nexus was coming to verizon and I was dying to move to Verizon after testing many of their 4g LTE phones at many different locations and stores which just simply blows my wifi speeds away at home .
By kk6 I'm assuming you mean the baseband radio version you flashed which boosted your signal strength. I haven't flashed roms yet on this, will probably for fun. Are all these radios compatible with stock rom or have to flash 4.0.3 first. OH definitely I love Android to death now. I have been using Apple the crap for few years and missing out the freedom to do anything and everything on the phones. I will never ever never ever go back to Apple and their outdated technology, they come with these new features, technology which has been there for years. What pissed me off the most was iphone 4s what a joke with no 4g and same screen when there are gorgeous looking android devices blow their Iphone 5, 6, 7 probably as they live in stone age . OK let me not divert attention to real issue
I want to correct a misconception. I am not suggesting anyone clear battery stats to improve battery life. I read Google+ like the rest of you. I clear the battery stats so I have a 100% clean battery log to start from before I do any testing.
I do the same just for testing purposes though.
Thracks said:
I want to correct a misconception. I am not suggesting anyone clear battery stats to improve battery life. I read Google+ like the rest of you. I clear the battery stats so I have a 100% clean battery log to start from before I do any testing.
Click to expand...
Click to collapse
Yes the thing which does get jacked up sometimes is the charging 'meter' If you so will.so the drop times for battery levels might not be uniform anymore.say it drops like crazy around 60 and very slowly around 10. As I mentioned in my comment earlier that is why I do one or two charge cycles,not to improve battery but to set the meter straight. In the Google+ post it was said that it doesn't improve battery, I agree completely,as I have never found evidence to the contrary. But setting the scale right? I think it does. Anyways without further proof its futile to discuss this point. Let's get back to the point of discussing wakelocks!
Sent from my Galaxy Nexus
vick1377 said:
You guys are amazing. Now I'm seeing some life and some hope . One thing I have researched around which is an obvious thing lol that GSM users are getting much better battery life than LTE ones. Obviously I'm on Verizon LTE after I dumped AT&T's garbage 3g and their hspa (whatever they call it). Their LTE is only in limited right now and I'm in Tri-State area. Verizon blows every one away when it comes to speeds . And Nexus was coming to verizon and I was dying to move to Verizon after testing many of their 4g LTE phones at many different locations and stores which just simply blows my wifi speeds away at home .
Click to expand...
Click to collapse
Yes I so understand the speeds,I have seen my colleagues bionic. However you must understand that the phone Is maintaining 2 connections at once,because lte is a whole different chip. Its bound to take more battery. Beyond minimizing your wakelocks,using an optimized kernel and staying in a lte area or actively managing lte, you can't do much.
By kk6 I'm assuming you mean the baseband radio version you flashed which boosted your signal strength. I haven't flashed roms yet on this, will probably for fun. Are all these radios compatible with stock rom or have to flash 4.0.3 first. OH definitely I love Android to death now. I have been using Apple the crap for few years and missing out the freedom to do anything and everything on the phones. I will never ever never ever go back to Apple and their outdated technology, they come with these new features, technology which has been there for years. What pissed me off the most was iphone 4s what a joke with no 4g and same screen when there are gorgeous looking android devices blow their Iphone 5, 6, 7 probably as they live in stone age . OK let me not divert attention to real issue
Click to expand...
Click to collapse
Yes its a radio. I do not think its Verizon compatible. Think its just for GSM,but I could be wrong. And you don't want to start a discussion about apple right now,trust me.as you can see from my sig, I am a fan boy. A PUREBRED ANDROID fanatic. I see anything small or bricklike, name starting with an 'i' ,I go "HULK SMASH!"
Sent from my Galaxy Nexus
psycho2097 said:
Yes its a radio. I do not think its Verizon compatible. Think its just for GSM,but I could be wrong.
Click to expand...
Click to collapse
You are correct. The basebands starting with XX or UG (or some other region code) are GSM only.
Verizon basebands for the GNex start with a I515 prefix, such as I515.EK04 or I515.EK06. Also IIRC there are two radios for Verizon phones, a CDMA one and an LTE one.
Still couldn't get rid of modem_usb locks and power management locks. I connected via usb data cable to my laptop and usb tethering got enabled (non grayed out) but it was never checked anyways in the first place so I left the way it is everything unchecked. The moment you take the phone of your charger, these locks go up and around 3-15 minutes consuming each about 2-8% or more of cpu. Yesterday it lost around 12-15% in less than an hour. I will test it out today fully and see what I get.
This is what I got in terms of battery consumption yesterday from a single charge and let it drain fully and automatically shut down the phone. And this is on Verizon LTE which obviously does consume more juice especially when used . I had a screen time of about few 2 minutes shy of 3 hours, battery lasted for 11 hours and some 40 minutes, Android OS - 16%, keep awake about 5 hours 15 minutes. I have had gone about 12-16 hours on stock Kernel but little less screen time of about 2 hours or so.
I will test it today before flashing the stock kernel and test that out completely again too.
@Thracks and @psycho2097
The battery stats are cleared every time you charge your phone and then unplug it as stated clearly in the google+ post. There's no need to manually clear it ever.
Well I managed to sort out my Wakelock issues with Autorun Manager. I went into the "Google Services Framework" and switched off my gtalk services. Also switched off a few others.
You can also turn off widgets that you don't use.
PS. Don't blame me if it crashes your phone.
I switched off a number of things and its running fine for me still. Now only have two major Wakelocks, "RILJ" and "MAIL_SERVICE".
jhericurls said:
Well I managed to sort out my Wakelock issues with Autorun Manager. I want into the "Google Services Framework" and switched off my gtalk services. Also switched off a few others.
You can also turn off widgets that you don't use.
PS. Don't blame me if it crashes your phone.
I switched off a number of things and its running fine for me still. Now only have two major Wakelocks, "RILJ" and "MAIL_SERVICE".
Click to expand...
Click to collapse
Were you able to get rid of modem_usb locks and power management locks? If so, how. Downloading autorun manager as I type this message

Ways to save battery on a rooted G2/Desire Z?

I have a rooted G2/Desire Z. What are some ways that I could save battery? It seems it takes only a few hours for it to reach 50%. Granted the phone is now >2 years old and the battery is probably aging. I've done all the basics such as screen brightness set to auto, dim after 30 seconds, etc. etc. etc. What more could I do?
Alternatively, are there any apps that can control the phone/cpu to work a certain way to save battery life?
Thanks
valeous said:
I have a rooted G2/Desire Z. What are some ways that I could save battery? It seems it takes only a few hours for it to reach 50%. Granted the phone is now >2 years old and the battery is probably aging. I've done all the basics such as screen brightness set to auto, dim after 30 seconds, etc. etc. etc. What more could I do?
Alternatively, are there any apps that can control the phone/cpu to work a certain way to save battery life?
Thanks
Click to expand...
Click to collapse
Setcpu,set screen off profile to lower clock..freeze some bloatware up..and also try v6 supercharger
Sent from my HTC Desire Z using xda app-developers app
Easiest way:
Uninstall fabebook app, flash a sense rom where you can access most fb functions without the app.
For real, my battery life went from about 10% an hour to 4% an hour on average.
Sent from my HTC Vision using xda app-developers app
Honestly, way number 1 is to get a new battery. Old batteries just start to drain much faster as they get older. Pick up an Evo Design 4G stock battery for a nice boost.
2. Turn brightness off auto and put it as low as you can handle. Keep a brightness slider on your notification bar for those situations you need to turn it up quickly.
3.Turn everything that "syncs" off of push and set it for 1hour+ intervals if possible.
I have had great standby time using the OC daemon that is packaged with the mimicry ROM as well.
There is this trick that helps. On a monthly bases drain the battery and re-charge with the phone on ie also a good Rom an a good radio version like .19 will keep your battery good don't use lots of ram manager apps and bettery saver apps the run backgroung processes that drain your battery fast
HIT THANKS IF I HELPED
Sent from my HTC Desire Z using xda premium
With 2 year-old battery there are only 2 options:
1. Replace the battery
2. Buy a new phone
mruwek said:
With 2 year-old battery there are only 2 options:
1. Replace the battery
2. Buy a new phone
Click to expand...
Click to collapse
^This (regards to #1), and working batteries are rather cheap, the fat one I got (3500mAh) was 9$, but you can easily get a stock replacement of the 1300-1500 range to fit with the default battery cover.
Far as tips, rooted or not:
1) Screen to automatic, or avoid 'full brightness'. Your screen consumes the most of your battery, automatic or lower brightness can improve the life significantly. This is the big one as your screen will typically be 80-90% of your battery life.
2) If you are near wifi often, System Setting -> Wifi -> Advanced (via menu) -> Sleep profile to always on. This will set it so that the wifi connectivity is always on even with the screen off. A connected good wifi connection uses far less battery than your 2G/3G data constantly searching for a good or better data connectivity. Simply turn off wifi completely when not in an area with wifi (or if you're driving around).
3) Avoid unnecessary applications. Don't use twitter? Freeze/Disable the application under manage app or under Titanium Backup (generally it's not good to 'uninstall' an application completely if it came with the rom).
4) SetCPU with profiles is one way to do it, unless your rom comes with a CPU Daemon already (ie: mimicry with virtuous OC Daemon), When setting a "screen off" profile, try not to go below 768mhz for the maximum, as going with 384mhz for example may be too slow for the phone to effectively wake up when a call or notification comes in.
5) You can use an app such as Tasker (not to be confused with task killer). Where you can assign automatic tasks, such as automatically setting Radio to 2G when connected to wifi (some roms like AOKP do this automatically under power control), or other tasks depending on the circumstances.
6) The first time you get a new battery, make sure you leave it on the charger for a good 5-6 hours so that it accurately 'tops off', the phone won't know accurately what's 100% and what's 0% until it has been fully charged (least 6 hours minimum), and fully drained, after which it'll more accurately report your battery % as it's used and will have more accurate usage stats.
7) If you're a T-Mobile subscriber, consider the 26.13.04.19 radio as well as the T-Mobile Wifi calling app, wifi uses less power in the long run than your radio via cell towers. If you'll be in a location that has wifi often you will benefit from this over not using Wifi Calling. (The main downside is you cannot currently send/receive MMS over wifi calling, but Calls and SMS[txt] work fine). Even if you don't use the wifi calling app, the 26.13.04.19 radio provides better battery life over the older one.
---------- Post added at 10:53 AM ---------- Previous post was at 10:48 AM ----------
strip419 said:
There is this trick that helps. On a monthly bases drain the battery and re-charge with the phone on ie also a good Rom an a good radio version like .19 will keep your battery good don't use lots of ram manager apps and bettery saver apps the run backgroung processes that drain your battery fast
HIT THANKS IF I HELPED
Sent from my HTC Desire Z using xda premium
Click to expand...
Click to collapse
Course it helps to clear battery stats before performing this task so that the OS/Battery-Stats records the new maximum and minimum values of the battery. Though you don't need to do it monthly, I would say closer to 6 months would be appropiate if you don't want to make a monthly habit of it.
You mainly only do this on account of battery aging (over time the battery will not hold as much charge as it once did), You normally know if you need to do this task again if it appears to be on 98% or 99% forever never reaching 100%, meaning that the battery is no longer able to hold the juice to provide the former-maximum mV value, re-doing the battery stats simply makes the new maximum marked as 100%.
PS: Strip419, on an off-topic note, I tend not to 'thank' people who ask/beg for it. If your post is worthy of thanks, they'll be clicked on their own accord.
OK MAN I'LL KEEP THAT IN MIND
Sent from my HTC Desire Z using xda premium
Best rom I've ever used for battery life is EliteMod. That rom did something crazy, cause my phone lasted for days before it need charging, and I use facebook and all that good stuff. It's not as fast as other roms, but battery life is certainly the best on that rom.
Also yea, before with stock battery my phone would last a day at best, and now I have a 1800 battery that makes it last for 2 days easy. So if your phone is at least 2 years old, get a new battery. They're dirt cheap on Ebay or Amazon. The phone comes with a 1300 stock.
simply change for normal use 2G instead of 3G.
A couple of questions--I'm using EliteMod CM7
kbeezie said:
2) If you are near wifi often, System Setting -> Wifi -> Advanced (via menu) -> Sleep profile to always on. This will set it so that the wifi connectivity is always on even with the screen off. A connected good wifi connection uses far less battery than your 2G/3G data constantly searching for a good or better data connectivity. Simply turn off wifi completely when not in an area with wifi (or if you're driving around).
Click to expand...
Click to collapse
My Advanced settings don't look quite like yours, alas. (I'm using EliteMod cm7.) The section is entitled "Wi-Fi sleep policy, Specify when to switch from Wi-Fi to mobile data" and the only options are " When screen turns off," "Never when plugged in," and just plain "Never." I assume that the "Never" option, that is, never switch from Wi-Fi to mobile data, is what you mean...that is in any event the default (set by this particular ROM?)
But my problem goes beyond not quite understanding the semantics of "Never" (off?) vs. "Always on." What I continue to find odd is that my highest battery usages, at least according to Battery Monitor Widget, are never the screen at all; rather they are cell standby, Wi-Fi, phone idle and Android System...Display is down at 6% just now, for example (and I've been up for hours, have read the news on the phone, emailed, texted, etc. This is on EliteMod only, btw, I used Flinny's latest build (.94?) for a few days recently, and while battery usage was worse, at least the display was at the top of the list, where it (presumably?) belonged.
I have all the latest and greatest tweaks from the the forums (for cm7 roms, that is) the .19 radio and sd-ext and all ext4 partitions. Am running the generic 3500mah "fat boy" battery...drained and refilled several times, all according to instructions...mine only shows maybe, umm, 2300 or so mah, but that's not the issue for just now...it's why my usage looks so odd, and how to fix it, if need be.
thanks to all,
p-d
oh yeah. I have long used (pre-rooting) Lookout and Pouzerate's Green Power free apps...have now turned them off (well, uninstalled them, in fact) just to see if, indeed, battery helper apps make things worse, running in the background... any thoughts on that topic would be welcome as well.
Moving to Q&A

battery draining too fast new or old

im on a stock rom not rooted and new battery and old battery both discharge really fast. Totally dead in 5-6hrs light use. Im guessing there is a hardware issue with the phone as this isnt normal. Any ideas?
lets see I did a factory reset after Jellybean update
changed the battery for a new one
biggest power drain is showing up as screen 33-39%
I have the thing on power saving mode and mobile data I turn off when not in use.
only thing I can think of that I didnt try is flashing another radio. But I doubt thats it because ive put it in airplane mode and it still looses power fast.
craig198 said:
im on a stock rom not rooted and new battery and old battery both discharge really fast. Totally dead in 5-6hrs light use. Im guessing there is a hardware issue with the phone as this isnt normal. Any ideas?
lets see I did a factory reset after Jellybean update
changed the battery for a new one
biggest power drain is showing up as screen 33-39%
I have the thing on power saving mode and mobile data I turn off when not in use.
only thing I can think of that I didnt try is flashing another radio. But I doubt thats it because ive put it in airplane mode and it still looses power fast.
Click to expand...
Click to collapse
Get Better Battery Stats and check your wake locks. A lot of information in that thread. Might have a rogue app draining you.
Edit: also screen on is always going to be your biggest drain. Keep brightness down as much as you can. App called screen filter is good for achieving lower brightness than system allows. You could try the ktoonsz kernel, undervolted as well. Turning off sounds in settings (key press, vibrate, etc as well). Toggle data and WiFi when not using. These are just some basic suggestions.
Sent from my cracked out SGS3
This is my second s3 and the first one never had a problem going 10-12 hrs normal use. Im thinking it is a hardware issue as I did a factory reset and it still persists on fast draining.
Edit.. I just disable google talk maybe that was causing it?
It's not Google Talk. Check your battery and it'll show you what's drainage ng it the most. Also check screen brightness
Sent from my GT-I9300 using xda premium
Benconquerer said:
It's not Google Talk. Check your battery and it'll show you what's drainage ng it the most. Also check screen brightness
Sent from my GT-I9300 using xda premium
Click to expand...
Click to collapse
well after the screen 40% we have android OS @ lower 30%
Do you have an SD-Card in?
I was getting the same battery life, took out my SD-Card, and I'm getting 7 hours on screen time with stock battery.
andybones said:
Do you have an SD-Card in?
I was getting the same battery life, took out my SD-Card, and I'm getting 7 hours on screen time with stock battery.
Click to expand...
Click to collapse
lol sd card?? well I tried it anyway and no, it still drains like a pissing racehorse. Ive noticed this phone gets pretty warm sometimes even with light use. Im not sure what is causing this but must be a factor in why the battery life is so poor. When I talk on phone, not very often, the ear piece actually gets hot. Im gonna send this puppy to samsung and see what they can do.
GSam Battery Monitor can offer better details about your battery usage, including wakelocks, cpu usage, etc.. It's more detailed than what Android offers.
I'd also recommend using an AOSP based rom as they include out any carrier/Samsung services that may adversely affect your battery life, particularly in a fringe coverage area or with many sync and push items. I'd also stay away from powersave mode for the time being.
If you want to know for sure, I'd do something like this:
- update PRL on current rom
- wipe and format everything in CWM
- flash rom as per developer suggestions
- wipe battery stats
- boot and do not sign in with your Google account (very important!)
- do not install or restore any apps
- turn off auto-sync and leave data on
- enable auto brightness
- confirm that phone signal is somewhere between -50 and -90dbm
- turn off phone and charge overnight
- turn on in the morning and use normally for the day
- install GSAM if issues persist
Please post back with updates.
It could be a hardware problem also you know.... if something ground off in the phone then the battery will drain faster than anything....I had a n96 with a grounded problem and it use to dead in 4 hrs....

Categories

Resources