FORUMS
Remove All Ads from XDA

Yet Another Battery Drain thread - Don't kill your phone - give it life!!

389 posts
Thanks Meter: 124
 
By bokbacken, Senior Member on 23rd December 2010, 12:59 PM
Post Reply Email Thread
Welcome to YABD – Yet Another Battery Drain thread
or Everything you wanted to know about Battery Drain but was too afraid to ask about

Click image for larger version

Name:	gavel.png
Views:	4890
Size:	54.4 KB
ID:	471512


Corrupt media database
Explanation: thumbnails and some database's could get corrupted making the media scanner running berserk, resulting in battery drain.

Fix: Using SGS Tools, Press [Apply script] select [clean_thumb_db.txt] and execute the script, this will delete the files that might get corrupted and reboot the phone so the database files and thumbnails get recreated.


WIFI Bug
Explanation: This is a mix of bugs and wrong settings, hardcore found some leftover debug code in the driver, tc80tc80 tested different routers seeing this effected the WIFI too, other users reported that the distance to the router effects battery drain as well. On top of this there are some settings that makes the WIFI running all the time that are not easily found.

Fix #1: Check your settings,[Wireless and network] select [Wi-Fi settings] uncheck [Network notification] press the menu key and select [Advanced] in [Wi-Fi sleep policy] select [When screen turns off]

Fix #2: See if you could try your phone with another router and compare to your home router, also check your signal that you have good coverage on the WIFI.

Fix #3: Use an updated Kernel, either hardcore's or trasig's and apply the wifi-fix (wifi-driver from JPA): update-wifi-dxjpa.zip


SGS Email 2.2.1
Explanation: The new email client has a bug making it drain the battery a lot if you set it to update every x minutes or manual update instead of push (exchange accounts)

Fix #1: Setup your account to push both on peak and off-peak, if you use imap or pop you can't do anything.

Fix #2: Use another email application, K9 or Improved Email have been reported to work much better. If you remove Samsung email you might need a fix if you have applications using your camera available here:CameraappsNoEmail.zip


Battery not "calibrated" - we don't have real facts on this one yet, so consider this our best guess
Explanation: It is said that the battery looses track of it's capacity (or rather the phone does) so it needs calibration.

Fix #1: Always flash new ROM:s with full battery.

Fix #2: Follow the guide TechnicR have on recal:
· Turn phone off and charge till full
· Start recovery and wipe battery stats
· Reboot and start the phone
· Use it heavily until it turns of by itself
· Connect charger and turn on the phone and wait until fully charged


Hardcore 256Hz vs. 500 Hz
Explanation: this is the system tick in the Linux system, number of interrupts per second for timesharing, gives a smoother appearance

Fix: None needed, the difference is not noticeable in battery drain.


Battery level drop to 95-98% when disconnecting charger
Explanation: We are used to that the battery is 100% chraged when we disconnect the charger, but with 2.2.1 we gat anything from 95-98%.

Fix: Not needed, this is a change in the charging cycle to prolong the life of the battery, but please take this in consideration of reporting battery drain, start counting from the actual value and not from 100%
For more info, check under Expert witnesses in the next post.


Could someone help me to explain the following phenomens as they are mentioned in so many various ways:
3D Gallery bug
Sensor driver hangs
Auto rotate bug

Link to my current phone config and battery life:
http://forum.xda-developers.com/show...&postcount=613


If you wan't to support me more than by contributing to this thread, consider if you would like a easy and automatic backup for your PC, 2Gb free plus a 256Mb bonus space for both you and me, thats 2.25Gb of free backup space for your mail and documents (and anything else you want) and for each referal you make in the future you get an extra 256Mb space added to your account.
I have been using Mozy for 3 years now and I'm very happy with it.
Sign up from here: https://mozy.com/home/free/ at the end of the registration please enter my referal code: BQBF53
The Following 39 Users Say Thank You to bokbacken For This Useful Post: [ View ] Gift bokbacken Ad-Free
 
 
23rd December 2010, 01:00 PM |#2  
bokbacken's Avatar
OP Senior Member
Flag Halmstad
Thanks Meter: 124
 
More
Gathering the suspects
Let’s get rid of the “I think” “If you only do” and “I’ve heard that” and start arresting the suspects, line them up, and execute them (oops, did I say that out loud?), and put them in quarantine until further notice.

To keep this thread cleaner, we’ll only focus on 2.2.1 mainly XXJPU/X/Y and not bother with to old 2.2 ROMS

Let's end the guesswork and start a scientific approach on this, it’s ok to suspect something, but you must have some evidence.
We need repeatability on the problems, so if you did something that started to drain your battery, describe this in as much detail as possible so someone else can verify your findings.

Click image for larger version

Name:	gavel.png
Views:	2206
Size:	54.4 KB
ID:	484844

I have gathered some suspects but now I need your help in Collecting Scientific Information (CSI) to round up more suspects or eliminating them so we might find the truth about the drainage problem.


Forensic tools:
Free/Pay, Application name + author
Both, SystemPanel by NextApp
Free, OS Monitor by eolwral
Free, Android System Info by ElectricSheep
Free, Shark for Root by Elviss Kustans (not native version)
Free, Shark Reader by Elviss Kustans

Battery Monitoring / Saving tools:
Free/Pay, Application name + author
Free, JuicePlotter by Latedroid
Free, JuiceDefender by Latedroid
Free, Battery snap by Xhelas
Free, Brightness Level by CurveFish - let you lower the brightness another 8% and give you some extra milage
Free, Screen Filter by haxor industry, reduce the brightness a lot! thanks for the tip lpy

List of suspects:
#1 SGS Email 2.2.1 sync set on every x minutes - will be charged as an environmental villain, is put in custody pending trial
#2 Battery not “calibrated”
#3 Corrupt database files for media scanner
#4 Modem version X
#5 Voodoo lagfix
#6 WIFI bug - could be organized crime here, many villains involved. hardcore has infiltrated them and so far he has put 2 of them behind bars!
#7 Non KIES updates - could Samsung original updates be better

Prosecutor’s witnesses:
For suspect #1, SGS Email 2.2.1:
http://forum.xda-developers.com/showpost.php?p=8554755&postcount=546
http://code.google.com/p/android/issues/detail?id=9307 - very strong witness

For suspect #2, Battery not calibrated:
http://forum.xda-developers.com/showthread.php?t=722862
http://forum.xda-developers.com/showpost.php?p=9075485&postcount=5653
http://forum.xda-developers.com/show...&postcount=143
http://forum.xda-developers.com/show...ostcount=11053

For suspect #3, Corrupt database files for media scanner
http://forum.xda-developers.com/showpost.php?p=9075485&postcount=5653

For suspect #6, WIFI bug
http://forum.xda-developers.com/show...5&postcount=29
http://forum.xda-developers.com/show...postcount=6627 - hardcore found some leftover code in WIFI driver
http://forum.xda-developers.com/showthread.php?t=873779 - tc80tc80 tested different wifi routers with scary result!

For suspect #7, Non KIES updates
http://forum.xda-developers.com/show...2&postcount=69
http://forum.xda-developers.com/show...8&postcount=73

Defender’s witnesses:

For suspect #6, WIFI bug
http://forum.xda-developers.com/show...8&postcount=49


Expert witnesses / interesting battery info:
http://www.androidpolice.com/2010/12/14/your-battery-gauge-is-lying-to-you-everything-you-need-to-know-about-bump-charging-and-inconsistent-battery-drain/
http://batteryuniversity.com/learn/a...ased_batteries


If you want to support me me more than by contributing to this thread, consider if you would like an easy and automatic backup for your PC, 2Gb free plus a 256Mb bonus space for both you and me, that’s 2.25Gb of free backup space for your mail and documents (and anything else you want) and for each referral you make in the future you get an extra 256Mb space added to your account.
I have been using Mozy for 3 years now and I'm very happy with it.
Sign up from here: https://mozy.com/home/free/ at the end of the registration please enter my referral code: BQBF53
The Following 7 Users Say Thank You to bokbacken For This Useful Post: [ View ] Gift bokbacken Ad-Free
23rd December 2010, 01:01 PM |#3  
bokbacken's Avatar
OP Senior Member
Flag Halmstad
Thanks Meter: 124
 
More
A little stuff that could be good
Usefull stuff and help will be collected here


To find out if suspect #3 has visited your phone (frequent flashers should suspect this) then this might help:
In SGSTools ther is a script to do that procedure of removing thumbnails and also delete two databases so they get rebuilt after reboot. In SGSTool (search market, need root) press Apply script then select clean_thumb_db.txt

----------

Modems could have a positive/negative effect on battery life, it could depend on what carrier you are on different regions could also matter.

pele78 have made a very good page about different modems, please take a look at it:
http://forum.xda-developers.com/show...ostcount=11945

And DocRambone has a great collection of modems if you want to test another to see if it gives you a couple of extra hours in you SGS:
http://forum.xda-developers.com/show...ostcount=14434

-----------

lpy hooked up a multimeter to the battery and did some live measurements, I have put them in one post that you find here:
http://forum.xda-developers.com/show...&postcount=387

-----------

TheYar has a batterythread over at the captivates forums, you might find some interesting things over there as well:
http://forum.xda-developers.com/showthread.php?t=806211

-----------

rigor.m made this suggestion:
To check for wifi bug, from a pc, log in to your router, check what IP your phone got, ping that IP from your PC does the phone respond when wifi should be off? - Report your findings!

-----------
Added January 11:

About the battery meter, hardcore found something weird, please see his post:
http://forum.xda-developers.com/show...postcount=8811
Regarding these things, please check the links under Expert witnesses in the previous post.

-----------

Feel obliged to recommend a visit to hardcore's Speedmod kernel thread:
http://forum.xda-developers.com/show...6#post10056736
Also this post for a different wifi firmware:
http://forum.xda-developers.com/show...postcount=6706
And a direct link to his download page:
http://touristinparadise.blogspot.co...-speedmod.html

And now I also add trasig's Advanced Voodoo 5 kernel with OC/UV:
http://forum.xda-developers.com/showthread.php?t=823300
Direct link to his download page:
http://kernel.1ug.org/

If you want to support me me more than by contributing to this thread, consider if you would like an easy and automatic backup for your PC, 2Gb free plus a 256Mb bonus space for both you and me, that’s 2.25Gb of free backup space for your mail and documents (and anything else you want) and for each referral you make in the future you get an extra 256Mb space added to your account.
I have been using Mozy for 3 years now and I'm very happy with it.
Sign up from here: https://mozy.com/home/free/ at the end of the registration please enter my referral code: BQBF53
The Following 3 Users Say Thank You to bokbacken For This Useful Post: [ View ] Gift bokbacken Ad-Free
23rd December 2010, 01:02 PM |#4  
bokbacken's Avatar
OP Senior Member
Flag Halmstad
Thanks Meter: 124
 
More
Extra - useful CWM files
Info moved to post #1 - reserved for additional info

If you want to support me me more than by contributing to this thread, consider if you would like an easy and automatic backup for your PC, 2Gb free plus a 256Mb bonus space for both you and me, that’s 2.25Gb of free backup space for your mail and documents (and anything else you want) and for each referral you make in the future you get an extra 256Mb space added to your account.
I have been using Mozy for 3 years now and I'm very happy with it.
Sign up from here: https://mozy.com/home/free/ at the end of the registration please enter my referral code: BQBF53
Attached Files
File Type: zip CameraappsNoEmail.zip - [Click for QR Code] (189.0 KB, 166 views)
File Type: zip update-wifi-dxjpa.zip - [Click for QR Code] (656.0 KB, 881 views)
File Type: zip AOSP_Email_2.2_plus_Camerafix.zip - [Click for QR Code] (792.6 KB, 98 views)
File Type: zip AOSP_email.zip - [Click for QR Code] (759.0 KB, 36 views)
The Following User Says Thank You to bokbacken For This Useful Post: [ View ] Gift bokbacken Ad-Free
23rd December 2010, 01:19 PM |#5  
Member
Thanks Meter: 7
 
More
I have tested mine overnight (JPX) and lost 10% in around 8 hrs. 2.2.1 email client set to sync every hour on two accounts. I have now turned it off and will update once tested again.

Using built in monitor and SGSInfo, I've found no anomalies in battery usage, but it is higher than previous firmwares.

Good idea for a thread!
23rd December 2010, 01:22 PM |#6  
Senior Member
Thanks Meter: 20
 
More
Ah, this is the perfect thread for me. I'm in the midst of trying to recalibrate my battery. I can say though, that with wifi and 3g off, I get next to no drain. (A bit annoying having to have them off though). I do however get drain with 3g on. I currently have gmail sync on and I've updated with the AOSP email now with push sync for exchange to see if it helps.
23rd December 2010, 01:30 PM |#7  
Senior Member
Thanks Meter: 9
 
More
OK, I'll share my current status.

I've been using XWJPA with JPM modem for more than a month and was very satisfied with battery life.
Recently I upgraded to Doc's rom v5.1 (XXJPX based) and that introduced a battery drain problem.
When WiFi is connected, the phone fails to sleep properly and is running more than 50% of the time when idle, which results in huge loss of power (more than 10% per hour on several ocasions).
I've since upgraded to Doc's v6, v6.1, v6.2 as well as stock XXJPY, kernels Voodoo 5.0.3, Hardcore's K12, and stock, modems JPM, JPP, JPY = problem persists. All testing done on clean flashed roms with no additional software installed.

Another (well known) issue i'm having since JM1 is "Time without signal: 50%" which is easily solved by switching Airplane Mode On and Off, but it's annoying nonetheless, especially if you forget to do it upon restart only to find your battery is flat 5 hours later.
The Following User Says Thank You to NetCopAD For This Useful Post: [ View ] Gift NetCopAD Ad-Free
23rd December 2010, 01:31 PM |#8  
Junior Member
Thanks Meter: 1
 
More
Thumbs up
Darkyy has fixed this wifi battery drain issue and a load of other stuff in his latest ROM

http://forum.xda-developers.com/showthread.php?t=814091

Excellent ROM, pure speed and looks tasty
The Following User Says Thank You to hydrouk For This Useful Post: [ View ] Gift hydrouk Ad-Free
23rd December 2010, 01:45 PM |#9  
corgar's Avatar
Senior Member
Flag Rome
Thanks Meter: 120
 
Donate to Me
More
check wifi sleep policy too
23rd December 2010, 01:45 PM |#10  
Senior Member
Flag San Juan
Thanks Meter: 252
 
More
I experienced quite a ridiculous amount of drain on the stock + voodoo kernel bundled with Doc's JPY 6.1 ROM as well as on SpeedMod k11c. I literally saw my battery dwindle down as I was using it normally yesterday.

No games, no music or video...just exchanging a few text messages and setting up my apps and such again after a fresh flash. Wifi, 3g, Bluetooth, Auto-Rotate, GPS were all off. Brightness set to the lowest possible. Still lost as much as 10-15% in an hour and let's say within that one hour the screen was on for half the time (I was out of the house so I didn't time it or anything)...

Have not had good battery life since Doc's JP8 ROM sadly and that was back in the days of 2.2...
23rd December 2010, 01:45 PM |#11  
Senior Member
Thanks Meter: 9
 
More
Quote:
Originally Posted by hydrouk

Darkyy has fixed this wifi battery drain issue and a load of other stuff in his latest ROM

http://forum.xda-developers.com/showthread.php?t=814091

Excellent ROM, pure speed and looks tasty

AFAIK he has not fixed it, but thinks XXJPY has the fix included, which is not the case for me.
Post Reply Subscribe to Thread

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes