[How to] Brilliant Battery Life 100% working!
Big thanks to @DarkAdrien. His work insipires me. You can find his THREAD HERE
Due to request, I want to share with you my tips to improve battery life. That's guide is nothing so new, but sometimes little things, improve the situation a lot! So I decided to write this steps down to help you with you battery life, one of the most importatn things we ask to a custom rom.
Remember that battery drain is a kind weird problem, it can causes from many factors, sometimes difficult to say "who's the culprit"! Anyway, I use the steps with 10\10 success! If you follow these steps, your battery drain will solve for sure!
What you need
--Current Widget from Market--
--Elixir from Market--
Chose one of these two apps, the point is to have a widget on your home screen to keep under control the MHa values!
--Battery Calibration---from Market (Damo software)
: use this apps, not others!!(recommended)
You can also use current widget to log your battery drain, it could be useful to monitoring your battery drain during night. The log fileis placed in your sd card, and you can find it here, or view the log through Current Widget menu.
You can post your log here, so it's easier for me to help you to figure out how heavy is your battery drain. You must post a log of at least 2h, if it's less, is not possible to understand your battery behaviour! You can do it this way
2011/02/01 03:48:12,-5mA, il 55%
2011/02/01 03:53:20,-3mA, il 55%
2011/02/01 03:57:54,-66mA, il 55%
2011/02/01 04:07:46,-5mA, il 55%
2011/02/01 04:08:51,-5mA, il 55%
2011/02/01 04:18:44,-7mA, il 55%
2011/02/01 04:23:20,-3mA, il 55%
2011/02/01 04:33:13,-3mA, il 55%
2011/02/01 04:38:19,-3mA, il 54%
2011/02/01 04:48:12,-3mA, il 54%
2011/02/01 04:53:20,-3mA, il 54%
2011/02/01 04:58:12,-3mA, il 53%
2011/02/01 05:08:20,-3mA, il 53%
2011/02/01 05:18:13,-8mA, il 53%
2011/02/01 05:28:05,-5mA, il 53%
2011/02/01 05:37:58,-5mA, il 53%
2011/02/01 05:48:44,-5mA, il 53%
as you can see, two hours, 2% battery left! that's a very good battery performance, and our point is to reach such values (or less! sometimes my battery drain is 0.75% per hour!)
IMPORTANT NOTE: BATTERY DRAIN MUST BE BETWEEN 3 TO 10mA WITH WIFI OR DATA ON! Otherwise, with no connection, your battery drain will be awesome, I'm sure (sarcasmLOL)
What's the point, and the real improvement!
Keep in mind that the real improvement
is when phone is in full standby! when you use your phone a lot, it's normal to have battery drain, but if the battery drain is heavy when the phone is in "deep sleep" (standby), than your battery will not last even for a day! that's our point, and the most important thing we can improve!
Let's move on, and see what we can do!
How I install my Rom (if you follow these steps, this guide will work 100% for sure! Otherwise, fullwipes and Superwipes work too, but there's a difference! (I'll explain later)
--Put you rom in your SD card
--Go to Recovery (NOTE: I use ext4 Recovery from @Madmaxx, otherwise you can use CWM as well
--Go to "Mounts and Storage"(if you use CWM)--Go to wipe|format(if you use 4ext)
--Format sytem, then data, then cache partition
--Do wipe data factory reset (Very Very important things, it needs to re-mount your partitions after format clean! Otherwise rom won't boot at all!
--Now flash your rom
--Boot your Rom (Very important: let the rom boot completely before flash ANYTHING!!!!
Explanation: this kind of installation is the most clean installation possible. Note that "format" it's pretty different from "wipe". Wipe clean partition files, all is in your partition. Format clean all files in partition and partition files itself! That's a deeper clean, and can makes the difference. As I said, you can use fullwipes or similar as well.
Ok, now rom is flashed properly..let's move on to see how is battery drain!
Now you have your MHa monitoring widget on your home screen. Keep in mind that a good battery drain, stay between 3\10MHa..if you have higher values, than you have a problem! How can you solve it???
Clean Battery_stats.bin file to set the graphic percentage properly just in case (it's useless in terms of real battery consumption, the filse only contains info about how the battery percentage being showed in the system)
--Let the phone in charge, untill you see 0mA on current widget (or elixir)--
--Now open Battery Calibration--
--Chose remove battery_stats.bin---
--Click on "exit application"--(no reboot your phone from the app option!!)
--Reboot your phone COMPLETELY--(no hot restart!! Just reboot)
NOTE: keep the phone plugged during all of these steps
What's happening now?!
Now you have deleted a FS files. It means that Android will create the files again when you are booting your phone! But now, the files is being created properly, because you have charged your battery at his maximum capacity, and this means that the files.bin will show to android the correct, full capacity, of your battery!
Damn! I still got heavy battery drain! What the hell!
Just don't worry. You have to wait a full discharge, then a full charge again (full charhe means 0mA on current widget, green led IT'S NOT ENOUGH!!!) to see the result!
No way! Still have heavy battery drain!
Ok, now you are sure that your battery is perfectly calibrated! Let's move on to find the culprit!!!
Find "The Culprit"
--At this point, if you still have heavy battery drain, you have to find the culprit in your settings! settings means, downloaded apps, sync apps, weird tools
, bad flash. That's it! There's no reason why your battery fight against you
Follow these steps:
--If you have flashed your rom WITHOUT format (or superwipe) there's no way to establish what is causing your battery drain! So first of all, makes a clean installation--(remember guys, all roms are supposed to work fine, but if you install your rom just wiping cache or dalvik, than you cannot complain with dev's! You cannot have the best overall performances in a dirty system! That's the truth, ask to dev's, they'll confirm this, I'm sure!
--now you are booting your just clean flashed rom with a smile on your face
--On the installation wizard, DON'T LET THE GOOGLE RESTORE YOUR APPS, JUST SKIP THAT POINT, that's because if your battery is being calibrated, and your rom is being flashed properly, "The culprit" is one of your apps! If you restore them completely, you cannot understand what is causing battery drain in anyway!--
--Calibrate your battery again--
--Now check phones behaviour through current widget(you can install this one
--if values are between 3\10mA you're ok, and can skip calibration (but I suggest you to do it as well, just to be 100% sure)--
--Now, your battery drain it's awesome, I'm sure it is
(otherwise your battery sucks
or your Rom is bugged!
--Now, install your app's one by one and see what's happening--
--costantly check your battery drain through Current Widget. If it's ok, install another app, and so on--
--this way, you likely find "The Culprit
--another thing to keep in mind: check your syncing app. I have a lot of syncing (two fb account, two twitter account, two gmail account, two google account, another POP3 account, Weather account!) definitely a lot! And no one issue. Because I'm sure of my apps. I know how my battery drain should be, and when i install something new, I quickly discover if this apps makes my battery suffer!--
--that's all..or not??
The Ultimate Weapon
DISCLAIMER: this kind of tool and this kind of command from CMD may brick your phone if something goes wrong, or you make a mistake writing command, or you unplug your phone during processing!! I'm not responsible, use this way ONLY IF YOU KNOW EXACTLY WHAT YOUR DOING! This kind of clean is similar (but not the same) to format partitions from recovery. So if you're not sure, clean your partition from recovery or perform a full wipe. A dirty phone is always better than a bricked one's!! Trust me!!
to achieve a perfect, 100% clean installation you can use fastboot!
Bootloader works very well guys, and is the best tool we have on our dhd! You can do everything via bootloader, and you can make a perfect installation as well! Let me explain you how!!:
Fastboot Commander!! What a powerful tool! (Big Thanks to @Mumilover, visit his thread HERE)Eng-set off and Radio set-off needed!
--unpack zip and click on .exe application (is a stand alone app, so you have to click and confirm installation, that's all!)
--put DHD in "Fastboot Mode"--
--plug it to your pc usb--
--Wait for "print of device succesfull"--(if fails, check your sdk driver)
--here you go to "misc"--
--select: erase partitions (system,cache,userdata,boot(optional))--
--click on "Erase chosen partition"--
reboot dhd to recovery--
--don't care about error message like E:/can't found recovery log" or something like this. Iy's just recovery wich telling you that partitions are not mounted!--
--So wipe data factory reset to re-mount partitions, otherwise you can't flash anything!
--now flash your rom--
this way you are 1000x1000 sure that your phone is completely wiped! And when I said completely I mean COMPLETELY!! (except for recovery)
This tool is very useful to solves strange issues that a normal wipe cannot solve! Sometimes happen
Note: this tool it's amazing! You can do everything easily with it, but it's very powerful and as a consequence, dangerous! Use it with caution, make sure you know what your doing, and everything it's gonna be ok! Otherwise, I'm not responsible!
Please donate to the author, he deserve it, and visit his thread to hit his thanks button!
Through Shell(for expert user only!!!it's dangerous!)
Eng-set off and Radio set-off needed!
--all you can read above, you can do it WITHOUT tool from CMD (DOS)--
--put dhd in fastboot mode--
--plug it to your pc usb--
--open CMD, navigate to the folder that contains fastboot.exe and adb.exe--
--now write this command---fastboot erase system -w
(will clean system)
--than fastboot erase boot -w
(optional, will clean only boot partition)
Note: don't ask how to install\set\use\ sdk. You must know about this all you need to know. Who decide to flash in general, cannot ignore how sdk is and how use it!
DOWNLOAD FASTBOOT COMMANDER TOOL
This guide help you to find your best battery life. It works 100% for sure with EVERY rom, just because is not related to rom's,kernel,themes,etc.., but to Android, and your habits too, that is 7\10 the reason of your battery drain!
Is not supposed you follow this guide every time you flash a rom, but you can! But if you follow my steps, even once, you can figure out what is going wrong in your settings, especially if you have heavy battery drain with all the rom's!
Remember that every flash you do, delete your battery stats so you MUST calibrate your battery every time. It's easy, only things you have to do is care about your MHa values, and remember to charge your phone untill Current Widget shows 0, green led IS NOT ENOUGH.
Keep in mind that after calibration, you MUST wait 3 to 4 full charge discharge to have the best overall performances, but you cam see an huge improvemente till the first calibration!
Apps doesn't work! is there another way toproperly delete\restore my battery_stats.bin?!
Of course! You must go into recovery (whatever you use) and "wipe battery stats". It's just the same thing that you do with Battery Calibration app.
Ok now that's all Obviously, I'll support this thread as long as I can, but I must admit that I write it down all of my tricks to improve battery, and I say for sure that is enough to achieve the result! Use this guide to figure out what are your best settings, and remember, if you follow these steps carefully, the result is 100% guarantee!
Hope this help!