1. DroidForums.net is currently undergoing a major software upgrade. If you are experiencing any problems logging in please: Contact Us

Get "Better" Battery Life - Reset Battery Stats

Discussion in 'Bugless' started by et23kochie, Dec 29, 2010.

  1. et23kochie
    Offline

    et23kochie New Member

    Joined:
    Jun 16, 2010
    Messages:
    12
    Likes Received:
    0
    Trophy Points:
    0
    I know this has been posted already, but people can't seem to find it so I thought I will put it up after typing it out for another thread. Doing this made a huge difference for me, your mileage may very.

    Here is what I did, and why for those who care.

    --- EDITED ---

    0. Make sure your phone is charged to 100%
    1. In ClockworkMod go to advanced, wipe battery stats (or, as of BB 0.6.2 you can go to settings, rom toolkit, troubleshoot, wipe battery stats - AKA PETE rocks and makes things easier)
    2. Use your phone till it dies (screen goes blank, ignore the battery percentages and low battery warning, if your stats were messed up you can run on "x" (5%) for awhile, I went about an hour on "x")
    3. Charge your phone 100%
    4. Your down. Don't run your phone dead more than once as it will not help (my understanding) and it isn't the best for the battery.

    --- EDITED ---

    The phone uses the stats to learn how much juice your battery can hold to show you percentages. When you wipe before flashing you reset those stats, and depending on how much battery you had left when you wiped and when/how you charge it right after that can pull those stats "smaller". By running the phone to true dead you get more accurate stats and therefore your phone will not tell you your battery is at 15% when it really is at 50%. So it looks like your battery life is better, when really you are just using "more" of battery (aka not charging your 50% full battery because the phone is complaining while thinking you are at 15%).
  2. ziltoid
    Offline

    ziltoid New Member

    Joined:
    Aug 14, 2010
    Messages:
    165
    Likes Received:
    0
    Trophy Points:
    0
    When you do the battery wipe in CW, are you supposed to get a message that it completed it? I dont see anything confirming that it did. I simply select it and it goes back to the menu.
  3. et23kochie
    Offline

    et23kochie New Member

    Joined:
    Jun 16, 2010
    Messages:
    12
    Likes Received:
    0
    Trophy Points:
    0
    I think that is how I remember it, but it has been a week.
  4. kurruptor
    Offline

    kurruptor New Member

    Joined:
    Dec 22, 2009
    Messages:
    21
    Likes Received:
    0
    Trophy Points:
    0
    So, this technically doesn't give you longer battery life? The display percentage will just behave more accurately?
  5. bekyndnunwind
    Offline

    bekyndnunwind New Member

    Joined:
    Apr 29, 2010
    Messages:
    58
    Likes Received:
    0
    Trophy Points:
    0
    Location:
    Central New York
    Or you can just go into Terminal Emulator and type:

    su
    rm /data/system/batterystats.bin
  6. KZIWarrior
    Offline

    KZIWarrior Active Member

    Joined:
    Dec 31, 2009
    Messages:
    2,625
    Likes Received:
    2
    Trophy Points:
    38
    Location:
    Nashville, TN
    Yes, Li-io batteries don't have memories so you don't 'train' the battery but you can train/calibrate the software which reads/translates the batteries status. Doing a complete discharge and full charge helps recalibrate the software (though you don't want to do it too often because full discharges can shorten the life of Li-io cells considerably if done to often.

    thanks, was looking for this, forgot it and seems I'm one of the few people still running SPRecovery.
  7. grinchy
    Offline

    grinchy New Member

    Joined:
    Jan 12, 2010
    Messages:
    716
    Likes Received:
    1
    Trophy Points:
    0
    Location:
    Lakeland,FL
    I found another way to completely drain battery quickly was leave the phone in recovery mode until it dies :)
  8. Orakle
    Offline

    Orakle New Member

    Joined:
    Mar 10, 2010
    Messages:
    76
    Likes Received:
    0
    Trophy Points:
    0
    Location:
    So. Cal.
    Do I type reboot on TE or anything else or just type da command and exit terminal...????

    Sent from my Droid using DroidForums App
  9. KZIWarrior
    Offline

    KZIWarrior Active Member

    Joined:
    Dec 31, 2009
    Messages:
    2,625
    Likes Received:
    2
    Trophy Points:
    38
    Location:
    Nashville, TN
    Just type the command and hit enter then exit. You could reboot if you wanted. If you really want to be efficient do this right after the battery has been fully charged.
  10. Orakle
    Offline

    Orakle New Member

    Joined:
    Mar 10, 2010
    Messages:
    76
    Likes Received:
    0
    Trophy Points:
    0
    Location:
    So. Cal.
    Kool...and I'm assumin dat da command would do good w. Any ROM right..???? :icon_eek:
  11. danielson2047
    Offline

    danielson2047 New Member

    Joined:
    Jul 1, 2010
    Messages:
    91
    Likes Received:
    0
    Trophy Points:
    0
    So wipe and then drain completely? I've always drained, charged to 100%, and then wiped the stats. Also, should you do this before installing a new rom each time? I've always wondered why i install one rom and i'm at 80%, flash a new rom and it drops to %30.
  12. KZIWarrior
    Offline

    KZIWarrior Active Member

    Joined:
    Dec 31, 2009
    Messages:
    2,625
    Likes Received:
    2
    Trophy Points:
    38
    Location:
    Nashville, TN
    Doesn't really matter. As long as soon after wiping you do a drain. The biggest thing is not to do 'too many' drains. Li-Io do NOT like being drained fully too often, it can actually shorten their cycle life. As per ROM I wouldn't do it every time you flash as this will result in too many deep cycles just do it whenever you think you're seeing poor battery life that you can't narrow down to ROM or kernel.
  13. yakitori
    Offline

    yakitori Premium Member Theme Developer Premium Member

    Joined:
    Sep 7, 2010
    Messages:
    2,589
    Likes Received:
    24
    Trophy Points:
    0
    Location:
    DFW Texas
    Charge to full...with phone plugged in...wipe stats. You can do it in root explorer or terminal. I just use root explorer. As soon as I delete..unplug phone and use till it powers off. Then charge fully

    Sent from my Droid using DroidForums App
  14. Droid DOES!!
    Offline

    Droid DOES!! What iDoesn't Theme Developer Premium Member

    Joined:
    Jun 12, 2010
    Messages:
    6,321
    Likes Received:
    12
    Trophy Points:
    0
    How so in RE? Would this be beneficial for my extended battery? If I reboot at 20%, its at 50% when it comes back on...?



    DroidForums junkie!!
  15. anewday
    Offline

    anewday New Member

    Joined:
    Feb 21, 2010
    Messages:
    248
    Likes Received:
    0
    Trophy Points:
    0
    Location:
    NYC
    Is it really necessary to run the battery to 0% twice? I already did it once and wiped stats once it hit 100%.
  16. et23kochie
    Offline

    et23kochie New Member

    Joined:
    Jun 16, 2010
    Messages:
    12
    Likes Received:
    0
    Trophy Points:
    0
    You do NOT need to run it dead before wiping stats. The important part is that your phone goes from 100% charged to 100% dead after you reset the stats. So if you were at 100% when you reset them and then ran it dead, you are done.

    I updated the first post as it was redundant and not as clear as it could be.
  17. anewday
    Offline

    anewday New Member

    Joined:
    Feb 21, 2010
    Messages:
    248
    Likes Received:
    0
    Trophy Points:
    0
    Location:
    NYC
    I wiped stats after charging it to 100% from dead so I suppose I have to run it dead again. Thanks for the clarification.
  18. anewday
    Offline

    anewday New Member

    Joined:
    Feb 21, 2010
    Messages:
    248
    Likes Received:
    0
    Trophy Points:
    0
    Location:
    NYC
    Crap, I don't think I typed su before the rm command. Will I get an error if I tried to remove the stats file? I don't want to test it as I'll have to repeat the process again.
  19. geoff5093
    Offline

    geoff5093 New Member

    Joined:
    May 5, 2010
    Messages:
    1,345
    Likes Received:
    29
    Trophy Points:
    0
    Location:
    Goffstown, NH
    Do you need to charge it in the phone, or can you charge it using a wall charger? I remember in the past when my phone runs dead and I try to plug it in it enters a boot loop and won't come out unless I charge the battery using my external wall charger.
  20. yakitori
    Offline

    yakitori Premium Member Theme Developer Premium Member

    Joined:
    Sep 7, 2010
    Messages:
    2,589
    Likes Received:
    24
    Trophy Points:
    0
    Location:
    DFW Texas
    you are better off charging full and then going to /data/system in root explorer and delete the batterystats.bin file.

    Save yourself juice that you are spending by booting to recovery to wipe the stats.

    you can also do this via terminal.

    su
    cd /data/system
    rm /batterystats.bin


    done.


    I personally think the best practice is to delete batt stats while phone is 100% charged, run it down dead, then recharge to 100%. Thats what I always do.
Search tags for this page
android battery reset
,
android battery stats reset
,
android clear battery stats
,
android reset battery
,
android reset battery statistics
,

android reset battery stats

,
battery reset android
,
clear battery stats android
,
how to clear battery stats android
,

how to reset battery stats android

,
reset android battery
,
reset android battery stats
,
reset battery android
,

reset battery stats android

,
resetting battery stats android