yashsingh1/xdaforums huggingface dataset:
[G2 and Desire Z Q&A, Help & Troubleshooting] Nitemare3219:
So I just upgraded to CM7 a few days ago and re-added Swype. I noticed it makes a LOT more mistakes when I'm trying to swype words in than it did when I was running Virtuous. Putting the slider to the right for more error room only makes the word pop-up box come up much more frequently, it doesn't actually help with the problem I feel like I'm having. Before it would pick up every word I wanted seamlessly, now I could try to type in "prove" and get "pride" over and over until I move my finger slow and exact, I even had it use "I" instead of "you" once.
[G2 and Desire Z Q&A, Help & Troubleshooting] WarBird87:
im not quiet sure but i think there was something said about the original swype that came with the G2 not playing nice with CM7, a couple people are using the newest beta version and i guess its been better for them
[Sony Ericsson XPERIA X10 Mini] cuter:
hi please any chance to downgrade mu xperia mini to 1.6

because I cant root 2.1 and xrecovery but I did with 1.6?:o
[Sony Ericsson XPERIA X10 Mini] amey2606:
2.1 cab be rooted. Just follow this http://xdaforums.com/showthread.php?t=906231.

But if you still want to downgrade use this http://xdaforums.com/showthread.php?t=827273.

Hope this helps. :)
[Fascinate Android Development] suppliesidejesus:
***NOTICE***

The ROM Manager version of CWM does

NOT

wipe battery stats properly, as with many other things. What you need is jt1134's version of CWM that is all happy and works and stuff.

You can find his happy CWM here. And here. And also here.

And here.

Big thanks to LegionTHEFecalExcretion for the heads up on that.

***END NOTICE***

NOTE: On current DL30 and EB01 ROMs, you will not see battery life like you did on DL09 with undervolted kernels. There are NO undervolted kernels as of yet, everything kernel wise with Froyo ROMs in very much stock. These steps will improve your battery life in comparison to when you flashed Froyo, but you are not going to see spectacular changes in battery life up to what you were getting with undervolted DL09, etc. It's just not possible until we get undervolted kernels and Froyo matures for our device, development wise.

Hi everyone, I've been seeing a lot of threads about bad battery life, whether switching to Kaoscinate, Vanilla, or DL30. Stop it! Just kidding. There is a simple process everyone should follow when switching between different enough ROMs, like AOSP, CM6 and TW Eclair and Froyo. This is how you retrain your battery.

1. Charge your battery to 100% (when it gets there, let it SIT there, your phone is NOT reporting correctly).

2. Reboot to Recovery and Advanced -> Wipe Battery Stats.

3. Reboot, and use your phone until it is VERY low (5-10%, you can let it die if you want).

4. Charge your phone back to 100%

5. (Optional) Power down, then power on phone. (Thanks goes to BrwnSuperman for this suggestion, give it a try!)

Your battery issues should be solved. This needs to be done every once in a while, especially when switching between different ROMs and OS versions.

User dalrym05 posted this alternate method for retraining the battery on page 4 as well, so I thought I would share it here in the OP. I'm posting this as a

USE AT YOUR OWN RISK

method, as I have not tested it, and am not quite sure what the *228 steps for it actually accomplish and have to do with retraining the OS battery reporting, so I'm leaving it quoted to dalrym05 for the time being.

NOTE: I did edit his post to make it a little more clear. I'm slightly anal retentive that way. :)

HybridByNature had an excellent suggestion on page 4. If people have good tips and tricks for maintaining good battery life, and they are easily reproducible, then I will gladly add them to the OP here. What works for you?
[Fascinate Android Development] Holliday:
Would not surprise me if this is all it is. I have turned my phone off at 5% for an hour and turned it back on without charging and then it showed 45%. I know when batteries are low letting them sit a little bit can help, but not that much.

It is just being reported inaccurately by the OS.
[Fascinate Android Development] Syn Ack:
This how to has been reposted like 9001 times. But yes, this is one day to do it.
[Fascinate Android Development] suppliesidejesus:
Yes, but not as a thread, it gets posted in everyone else's "Why does my battery life suck ass" threads, so I made this so maybe people would see it and try it before posting another useless question thread in Development.
[Fascinate Android Development] lucas.scott:
Definitely works though. Did it yesterday. Good post. It has been posted in other threads ... but I think we all know people don't read through everything very often.
[Fascinate Android Development] destroyerbmx:
I have the battery charger and 3 batteries, I always run my battery low and leave it in the charger for a day.
[Fascinate Android Development] ataranine:
I did this last night and it didn't work too well for me.

Also, when I go to wipe battery stats in the recovery, it doesn't tell me if it wiped or not, just goes back to the advanced menu.

And also, should I be concerned that when I cold boot into the recovery, it doesn't appear to be CWM? It says Android recovery...I know I have CWM recovery installed.
[Fascinate Android Development] miguel11691:
Samerhing happens to me... and I just took it off the charger and I'm on 96 percent in less than 1 min
[Fascinate Android Development] ataranine:
Wow same here..I just took mine off the charger bout 10 minutes ago and it's at 95% now. I guess I'm gonna let the battery run completely dead and charge it and see what happens.
[Fascinate Android Development] johnnyv5:
I did something similar. I charged to 100% while it was on, removed from charger then powered off. When phone was off I plugged charger back in and waited til it was at 100% then unplugged again and powered on. Waited until phone was completely on then unplugged again and connected to charger. Waited til it was at 100% and while still plugged in at 100% booted into recovery and wiped battery stats. Then rebooted phone into OS and unplugged. I had tried this previously with DL09 and it helped a little. Last night I wanted to see how my battery would drain after doing this. With WiFi on and I got about 10 emails during the night, from 8:30pm to 6:00am I lost only 13%!!! Previously I would have lost from 35 to 40%. ymmv

jv
[Fascinate Android Development] miguel11691:
my phone doesnt sleep even though my screen is off... how can i fix that
[Fascinate Android Development] ataranine:
Spare Parts says "Time spent without sleeping: 53m 15s (100%)

Wow.

If I go to Battery History and change the top dropdown to Partial Wake Usage, it says Android System at the top with a bar that's at least 75% full.
[Fascinate Android Development] Syn Ack:
Looks like Samsung has to make an update or patch to this LEAKED version LOL. I'm so fed up with people failing from Samsung and Verizon for this device.
[Fascinate Android Development] ataranine:
Yeah looks like I'll be going back to DL09.
[Fascinate Android Development] johnnyv5:
Give it some time. I was showing that as well but after about half a day I rechecked and it showed the correct percentage for Running time.

jv
[Fascinate Android Development] ataranine:
yours was also telling you it spent 100% of it's time without sleeping? Mine's been doing it for 2h 9m 25s...the same amount of time my phone's been on. :confused:
[Fascinate Android Development] johnnyv5:
I was pulling my hair out trying to figure this out too. It seems to have solved itself. Right now it is showing 47% usage. Sorry I couldn't help.

Jv
[Fascinate Android Development] suppliesidejesus:
This is a proven technique, and it takes patience. Seeing the battery drop from 100% down to 95 or 96% after unplugging is normal behavior. I've done this already. Left my phone unplugged overnight and lost 1% battery. If you're too impatient to take the time to do this, that's your loss. You'll see the battery life "improve" over the course of a few days as the reporting gets more and more accurate.

Sent from my Fascinate using the XDA app
[Fascinate Android Development] Kamar234:
I agree with supplysidejesus. This is a standard practice and should be done with each major rom or kernel install. This leak hasn't been put long enough for most of us to know what our expected battery life will be yet. Give it a few days for your phones to adjust.
[Fascinate Android Development] ludevious:
try disabling gps in the notifications, that worked for me, but once i turn gps on again, it will drive up to a high percentage.
[Fascinate Android Development] papstar:
Thanks ssj.
[Fascinate Android Development] ataranine:
My GPS is never on unless I need to use it.

My phone just died 5 minutes ago..about 11 hours of battery with moderate to heavy usage...I'm letting it charge all the way while it's off.
[Fascinate Android Development] suppliesidejesus:
No problem, I'm here to help. :-)

Sent from my Fascinate using the XDA app
[Fascinate Android Development] neyenlives:
mine goes on the charger every night or I don't get to use it the next day...I use mine hard all day, down to 30% or so when I get home from work every day, no problems on DL30 superclean .8 with DL09 modem
[Fascinate Android Development] DevinLeFevere:
I tried this and still only pulling 10hrs with no GPS, Sync, and brightness turned all the way down. Just adrn's v1.0 on dl09. ****!
[Fascinate Android Development] Daswolven:
In the process of calibrating. Charged to full, wiped battery stats, reboot. Been running full out for 6:24 as of now, and down to 5%. Usage consists of:

34 minutes of high quality Pandora

17 minutes text messaging

10 minutes of Facebook

2:30 screen on

1:15 call time

2:41 wifi running

15mb of data transfer browsing for most of the screen on time.
[Fascinate Android Development] syborg:
Wow Supplieside. In the last week you were really on top of being the post police - see below. Now you start a thread in dev that really belongs in general.

SSJ said:

"This belongs in the General section. Mods, please move this thread."

http://xdaforums.com/showthread.php?p=10998065#post10998065

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

"Any reason this was posted in the Development section?

It belongs in General. Request a Mod move this thread."

http://xdaforums.com/showthread.php?p=10998027#post10998027

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

"And post your questions in the general section, please.'

http://xdaforums.com/showthread.php?p=10997388#post10997388
[Fascinate Android Development] draco259:
Hmmm, the sleeping issue seems to have fixed itself on my phone as well. Also thanks ssj, I'm in the process of doing this right now.
[Fascinate Android Development] ataranine:
It seems turning Gps on and back off again when the phone boots helps with the phone running "100%" thing.
[Fascinate Android Development] BrwnSuperman:
This doesn't belong in the General Section. If this wasn't here I guarantee you there would be a dozen posts popping up with people complaining about their battery life and we'd be scouring the later pages for dev updates.

Thanks SSJ, your method worked.
[Fascinate Android Development] suppliesidejesus:
I point out threads in the Development section that don't belong. The Mods can't be on 24/7/365, and I post in questions that are posted where they don't belong to let the OP and others that see the threads know that's not where they belong. Notice that many of those threads I post in do end up getting moved, sometimes shortly after I post in them. This thread is a how to designed specifically to stop people from posting the same of one question over and over again in the wrong section. Have you noticed that the mods haven't moved this useful thread out of Development? If you're going to call someone out, call out one of the pointless question threads in the Development section. ;)

Glad I could help!

Thanks dude, I'm here to help! :)
[Fascinate Android Development] HybridByNature:
Extending Battery Life

This might also be a good place to add tips & tricks to extending battery life.

IE

-Close programs that you aren't using.

-Don't leave your camera or navigation running in the background.

-Turn off WiFi & GPS etc when you aren't using them.

-Don't run your screen at full brightness if you can help it.

-Figure out what uses more battery life than other things:

Pandora, internet browsing, downloading, camera/camcorder, Angry Birds etc.

If you are rooted, try and narrow it down to the best kernel/theme for your situation. I've found that I have better battery with a non-voodoo kernel but the performance increase is worth it so that's a trade-off that I make.

Let's hear from our readers: What is working for you?
[Fascinate Android Development] johnnyv5:
Unless you have poor 3G signal. In my office and at home I get 1 bar. If I don't use wifi my battery seems to drain alot faster so I keep wifi on and it actually helps battery life.....

Hopefully someone can confirm this....

jv
[Fascinate Android Development] suppliesidejesus:
Excellent idea!! This is the perfect thread for that.
[Fascinate Android Development] BrwnSuperman:
One more thing I would add is, after you charge it again the second time, reboot your phone at 100%. As in completely turn it off and turn it back on instead of doing the shortcut in accurate batt mod. I've been testing out what gives me the most battery with heavy usage. This has been the most consistent after following your steps.
[Fascinate Android Development] suppliesidejesus:
Certainly not a bad idea. I haven't done this myself, but I added it to the first post as an optional final step. Keep the ideas flowing!

Sent from my Fascinate using the XDA app
[Fascinate Android Development] dalrym05:
Here were my steps to better battery.

1.*228 option 1

2.*228 option 2

3. Run battery completely dead to 0%

4.plug in and boot immediatly into cwm

5.wipe batt stats and dalvik cache

6.reboot and let charge fully before unplugging then completely discharge again and fully charge again. After this you should notice a very nice incrwase in battery as i did. My life is back up to par with eclair.
[Fascinate Android Development] wisconsinated:
Thanks for making this post! I hope it gets pinned up at the top. A lot of people will benefit from this.
[Fascinate Android Development] suppliesidejesus:
I'll add these steps to the first post as a suggestion by you and a "try at your own risk" alternate method. If people reproduce your results easily, I'll incorporate it fully into the first post. My only real question about your steps here is what does *228 option 1 and *228 option 2 have to do with correcting the OS battery reporting?

Maybe it'll get pinned, maybe it'll get put into the roll-up thread. We'll see! :)
[Fascinate Android Development] Sgtmack:
Well, I've cleared battery stats a couple of times, battery still sucks. So I was going to try to run it really low, and clear then, then charge and clear. My battery is at 13%. When I try to apply update.zip from the blue recovery screen, I get a low battery error. So I can't get in to CW to clear battery.

How do you get it in clockwork recovery at 0%? I can't at 13% with the phone plugged in.:mad:
[Fascinate Android Development] stayin100:
I work at Verizon and constantly plug my phone in at work if its below 50% and unplug it to walk around, so its constantly going on and off a charger, is that bad for the battery reporting?
[Fascinate Android Development] afbar1114:
so i have figured out that themes will cause issues such as bad battery life, lag, and lock ups. i had a theme and my battery was dieing faster then i have ever seen. this is what i did mind you i had the new cwm_froyo installed for recovery:

1. start up in red recovery

2. wipe data

3. wipe chache

4. wipe dalvaik cache

5. wipe battery stats

6. install super clean 1.0

7. wipe chace again

8. wipe dalvaik cache again

9. wipe battery stats again

10. reboot phone

11. once all apps are installed reboot in to recovery again and wipe chache once more then restart phone.

i did this and my battery is good and no lock ups, no bad battery life, and no lag. the phone also runs cooler.
[Fascinate Android Development] suppliesidejesus:
With my amatuer knowledge of the operating system, my guess would be no. The only reason that this process is necessary for our community is because of the constant flashing of ROMs, kernels, etc. Once you retrain the OS after your flashing is all said and done, the reporting SHOULD remain accurate. I too am constantly plugging and unplugging my phone at work, and I have not observed any negative effects on battery life or reporting done by the OS.

Sent from my Fascinate using the XDA app
[Fascinate Android Development] miguel11691:
Something strange happened to my battery last night .. I went to install the gb theme last night I was down to 13% and my charger plugged in the phone... when my phone rebooted it jumped to 66% in less than 2 min of charging while installing the them in cmw... I know this an error as my battery was completely dead... how can I fix this as my battery is dying like crazy
[Fascinate Android Development] beray5:
That's a typical symptom whenever your battery calibration data got wipe out or corrupted.

The procedure stated in the OP is a "full cycle" battery calibration. It established the starting baseline battery calibration data for your phone to work from.
[Fascinate Android Development] CGriffiths86:
When I wipe battery stats in Clockwork should it let me know that it has wiped them? I wipe and it doesn't really let me know that it is completed or anything? Also, I have done everything to re-calibrate and the phone charges all night and when i wake up and nplug its always around 97-98%.
[Fascinate Android Development] Daswolven:
I think it's kind of broken atm. Work around is to charge to complete full and re-wipe and then re-flash your rom. Pain in the butt, but shouldn't need to do it often.

If you switch roms, wait for a full charge to do it. :P
[Fascinate Android Development] CGriffiths86:
Oh..ok..so I need to:

1. Charge the phone to full

2. Boot into Clockwork, wipe data, wipe cache (leave batt stats alone?)

3. Reflash my BlackHole rom

4. Start fresh?
[Fascinate Android Development] stayin100:
I'm gonna do this tonight, I feel like my phone needs cleaned out and a fresh restart
[Fascinate Android Development] Kaze105:
I dont know how much its helping as i installed it the moment i flashed froyo, but i suggest people to try juice defender.

In the past 12 hours, i left it untouched pretty much and it decreased 5% (wow!) from 73% to 68%.
[Fascinate Android Development] Daswolven:
Should accomplish the objective. Otherwise battery stat wiping would be completely unnecessary. :)
[Fascinate Android Development] Smitty9803:
I've tried this twice but my battery life is still just as bad and spare parts still shows my phone is running at 100% (not sleeping.) Also, like someone else already mentioned, I get no confirmation when I wipe battery stats in recovery.

I followed the "how to: DL30 Leak" thread to flash DL30 and the new_cwm.zip, wiping data/cache first. Any suggestions? Or should I just start over fresh and re-flash everything?

Thanks for any input.

UPDATE: I ended up flashing Blackhole for DL30 on a full battery after wiping everything and it seems to have solved my problem. I haven't even finished the full battery cycle and am already back to normal battery life. If a couple full cycles don't help your battery life, try flashing the rom again on a full battery (and wipe everything).
[Fascinate Android Development] :
@OP

Should probably edit the op to reflect that the CWM flashed from Rom Manager isnt wiping battery properly. Should link to JT's new recovery.

Second........ What about users such as me who use 2-3 different batteries via a battery only charger? *Woe is me* :(
[Fascinate Android Development] suppliesidejesus:
Will do, although people should know the the ROM Manager version of recovery is bad news bears already.

If you use multiple batteries, train the OS with ONE of the batteries. After that, only switch your batteries when the new one is full. I imagine you won't have much trouble with accurate reporting as long as you just do the training with 1 of the batteries.
[Fascinate Android Development] amcq1010:
I too have been experiencing dramatic battery level drop since the DL30 update.. I'm following the tips in the first post..

As a historical reference... From the moment I took phone off charger this morning, it lost a little more than 10% per hour... Hopefully with tonights effort, tomorrow will be better.

Via Tapatalk on SGS Fascinate.
[Fascinate Android Development] ataranine:
Everyone must be ignoring my posts.

I was getting horrible battery life a few days ago but since then its been phenomenal.

Wanna know how? When you boot the phone up for the first time, pull down the notification bar and turn mobile data off for about 2 minutes and let the phone sleep. After that two minutes go into Spare Parts and check the battery history to see if "Running" is at a lower percent or not.

Turn mobile data back on after that and your phone should be sleeping like it's supposed to from that point on. Until this issue is fixed within another rom, that's most likely what you'll have to do.

I do this every time I start my phone up and I get about 36 hours on one charge with background data on. Few days ago I was lucky to get more than 8.

Take it or leave it.
[Fascinate Android Development] beray5:
Congrats on resolving your problem.

Typically all battery algorithms achieved optimal battery life and accuracy after 3 full cycles of data collection without wiping the stat. This can be performed manually which takes all day, for users who don't do manually then it sometimes took weeks or months of use to achieve optimal calibration.

You can save yourself this huge waste of time and effort in the future by periodically make sure the phone is fully charged, copying "/data/system/batterystats.bin" to your SDCard. In a pinch you simply restore your saved optimal calibration data then reboot your phone and you are all done.
[Fascinate Android Development] Smitty9803:
Well it looks like I spoke too soon. Battery life has gone to crap again overnight.

Quick rundown: Flashed the stock DL30 leak last week and immediately got horrible battery life. Tried cycling the battery 2 times with no luck, phone still stayed awake 100% of the time. I went to bed one night at 48% and woke up the next morning with a dead battery. Sunday night: flashed Blackhole DL30 on full battery, set the phone up to my liking, re-installed spare parts which then showed the phone was sleeping again. The phone was at 76% when I went to bed, and when I woke up Monday morning it was at 74%. I ran the phone dead Monday and recharged overnight to complete a full cycle. I took the phone off of the charger at 8am this morning and with little to no use, I am now at 67%. Spare parts is showing the phone is running 100% of the time again. I've tried every method I have read about with the same result. This just doesn't make sense to me. I am honestly at a loss of what to do now.

As for your suggestion, I'll try that once I'm back to getting consistent life out of the battery. I appreciate it.

EDIT: 20 minutes after posting this, I noticed my battery wasn't draining as fast...checked spare parts and average running time is down to around 71% and dropping. I give up trying to figure this thing out...lol.
[Fascinate Android Development] DevinLeFevere:
I turned my Wifi off and my battery is FINALLY back to normal. I was leaving it on @ home 24/7, Oddly enough with it turned off I only lost 5% over night and everything is back to normal as of today.
[Fascinate Android Development] 40kalkillah:
Finally added power control widget and turned data off that way. Its been an over an hour and dropped only 1%. Done all previous suggestions with no luck.

I actually like my Fascinate
[Fascinate Android Development] kamileon:
This worked like a charm for me...my battery life is phenomenal now...guess it was the theme I was using...