Possible way to get great battery life? - Desire HD General

Hi I was thinking what if there was a way to manualy set the properties for the batterystats.bin file or if someone with really good battery life uploaded their battery stats file if we would end up getting the same battery life? I was going to give it a try but I can't seem to fine the values I need in the battery stats file soo...
Will someone that properly calibrated their battery or someone that gets amazing battery life upload their battery stats so I can try this and report back...maybe we can save us all valuable time by not needing to calibrate the battery every time we flash a rom! let's try it!

trh1341 said:
Hi I was thinking what if there was a way to manualy set the properties for the batterystats.bin file or if someone with really good battery life uploaded their battery stats file if we would end up getting the same battery life? I was going to give it a try but I can't seem to fine the values I need in the battery stats file soo...
Will someone that properly calibrated their battery or someone that gets amazing battery life upload their battery stats so I can try this and report back...maybe we can save us all valuable time by not needing to calibrate the battery every time we flash a rom! let's try it!
Click to expand...
Click to collapse
it depends on the Rom u are using....
For eg... I use CM7 and reaching a very great battery life but, I have flashed a new ernel (LordModUE 8.5), than I have flashed a PUV to undervolt the CPU. With No frills I set up the CPU in this way: 122 Mhz frq min and 1075 Mhz max freq...Ondemand Governor and VR like Script.
Than I leave only one mail on push and every widgets are upgraded when opened and not automatically.
Also the weather geo-localization is manually when opened.
Display light manually regulated on 15% and not on auto....
Display time on 30 second.
Sleep time set on 09.00 p.m. and wake up on 5.00 a.m..
When I sleep my device is in fly mode.
The Radio version is the latest with his relative RIL.
Good luck friend.....
greetings from Italy

Related

[Q] Very High Power Consumption Android On HD2

Hi,
Ive recently installed Android 2.2 Froyo on an SD card on my HD2 and the battery is going down so quick... it wasnt great in Windows mobile but now I'm struggling to get it to last all day...
I'm saying to myself this cant be normal, I'm also trying a Samsung Galaxy S and the battery is so much better!!
Is there anyway I can improve the battery power on my HD2, I know in a HD2 the battery is a 1350mah and the Galaxy S is a 1500mah battery.
Should that make such a difference?
I'm considering going back to Win Mobile but dont really want to but havent got any other choice if the battery carrys on like this....
I also notice the screen and back get really quite warm... I suppose Android is making the system work harder?!?!?!
Its safe to say that you havent read any of the threads about battery life.
Before you say I did a search and didnt find anything Ive already typed in battery in search and found a bunch of threads.
Now what you need to do is find out why its running so warm.
It could be the kernal version you are using.
Ways to improve battery life are using setcpu and underclocking. A lot of members use current widget as a method to see when High drain is occuring.
In sleep mode you should be seeing less than 10ma. If you dont see less then this there is a problem.
Set current widget to 1 min intervals.
Dont use task killers they dont help anything no matter what anyone says.
Dont compare the captivate to the hd2. 2 different phones.
I am using mccm 1.5 customize, and CurrentWidget shows 5mA on standby which I think is good enough. Sometimes, it shows 60mA on standby in a while and my battery drains very fast, even I use Advanced Task Killer but it does not help. I have to reboot the phone to get it back to 5mA on standby.
Anyone has any idea of what may cause my standby power that high (60mA)?
Thanks.
hazard99 said:
Its safe to say that you havent read any of the threads about battery life.
Before you say I did a search and didnt find anything Ive already typed in battery in search and found a bunch of threads.
Now what you need to do is find out why its running so warm.
It could be the kernal version you are using.
Ways to improve battery life are using setcpu and underclocking. A lot of members use current widget as a method to see when High drain is occuring.
In sleep mode you should be seeing less than 10ma. If you dont see less then this there is a problem.
Set current widget to 1 min intervals.
Dont use task killers they dont help anything no matter what anyone says.
Dont compare the captivate to the hd2. 2 different phones.
Click to expand...
Click to collapse
Thanks for your tips for better battery life. I was curious about a few things and hope you could clarify a few things for me and some instruction or threads on how to do so. And yes I have searched, that's the first thing I always do before I do anything web based as far as positng.
1. How do you setcpu and underclocking?
2. How do you find the amount of battery that standby takes? i.e. 60mA? How do you get to that setting in android?
Thanks for your help in advance.
Setcpu is an app used to control your cpu speed.
link included
http://forum.xda-developers.com/attachment.php?attachmentid=394848&d=1283568967
the setcpu dev's site with complete info on how to use it.
http://www.pokedev.com/setcpu/
To check ma's use (current widget)
http://forum.xda-developers.com/showthread.php?t=776085
long press on the desktop and apply current widget. It will ask you if you want to create a log. Create a log for 1 min intervals. Put the phone to sleep and leave it for a good 5 mins.
You can then open the log file usint astro file manager and check your drainage while sleep.
One thing I found is that If i am having high drain i turn my gps on and restart then it usually settles down and I can turn the gps off.
If you have apps that are syncing you will a higher than normal drain during those times the apps sync. if you set your apps to sync at longer intervals the amount of batter drain will be unnoticable.
I have major battery ocd. I constantly check my battery and have to force myself not to look but still use my phone as any normal person would.
I can pull more than 12 hours easy!
Thanks hazard99!
The first time I ran android I don't think I've had any battery issues and now that I'm looking at the percent on my homescreen Im beginning to feel battery OCD too. It's like I lose 1% atleast every 15 minutes when I look at my screen. But I did take and apply all the tips you told me and I do see that it only uses 5ma when screen is off. I truely don't understand. :/
Stop looking at your screen. Stop worrying. The more you look the more juice you use while the screen is on. There will be more points where the phone is off.
traithudo said:
I am using mccm 1.5 customize, and CurrentWidget shows 5mA on standby which I think is good enough. Sometimes, it shows 60mA on standby in a while and my battery drains very fast, even I use Advanced Task Killer but it does not help. I have to reboot the phone to get it back to 5mA on standby.
Anyone has any idea of what may cause my standby power that high (60mA)?
Thanks.
Click to expand...
Click to collapse
Ive also been trying to investigate this, my standby drain is usually 60+ mA, and during use it jumps to the 200's, strange stuff indeed....For you to have 5mA, lol i wish that was for me too =/
otakubakaa said:
Ive also been trying to investigate this, my standby drain is usually 60+ mA, and during use it jumps to the 200's, strange stuff indeed....For you to have 5mA, lol i wish that was for me too =/
Click to expand...
Click to collapse
What radio and wm are you using? Do you use SetCPU?
I had high battery consumption, too. But now I found something interesting...
Due I'm not allowed to post links, yet, search for the post with topic:
[SOLUTION] Possible solution for heavy battery drainage.
With this fix: over night I only lost 20% instead of 59% of battery.
uninstall SetCPU
10507 said:
What radio and wm are you using? Do you use SetCPU?
Click to expand...
Click to collapse
im using the same radio as you (2.10), energycookie rom 21916, and my setcpu is at interactive 245/729, and for sleep its at 245/384, hastarin kernal.
Use a Battdrv.dll from older HD2 ROM 1.48 Etc. I'm not sure if you recmod the module and replace the current one in Windows if you will get the same benefit as if you cooked the driver in.
i just updated my kernal to the latest zimage in mattc's froyosense's evo tree, and my standby is around 6-11 ma now, guess that solved some issues lol, anyone know whats the normal operating ma power consumption for texting?
EDIT: Now when i try to enable wifi i simply get "error", did i mess up on something? =/
EDIT: Solved above problem. WOOT!

HOW TO: Wipe Battery stats to improve battery life

coming form other android phones, ive learned to wipe batt stats in recovery to get the best life.
normaly i wind up seeing voltage @ 100% a little over 4.260v
now on our phones we dont have that option, and i noticed while trying out diferent roms that its hitting " 100% " at various voltages depending on what the batt truely was when flashing.
if i recall the file is : /data/system/batterystats.bin that we need to delete? corect?
well, before i did it, it hit 100% @ 3.782v and wouldnt go any higher...
now, im sitting @4.246... im not 100% sure its fully charged. ill let it sit overnight turned off and see where i wind up.
UPDATE 11-20
SO, voltages have been confirmed.
100% = 4.20-4.25 depending on battery condition
0%= dependent on the kernel generaly 3.2-3.0 {found some as high as 3.7v!} thank you to hastarin for pointing the files out
if your not seeing 4.2v your not getting full battery life.
sure enough, i was sitting just shy of 4.3v this am after an overnight charge with the phone turned off...
Interesting info, but where would you find out the voltage the battery is producing?
so, how to wipe the battery stats?
time to get down and dirty and learn to navigate thru the android OS.
download and set up the android SDK
http://developer.android.com/sdk/index.html
heres a newbie guide to adb in the nexus forum
http://forum.xda-developers.com/showthread.php?t=619153
for those less computer literate, you can use droid explorer to do alot of the stuff thru a GUI. it also will set up adb for you.
http://de.codeplex.com/
the code that you type in to remove the battery stats is
Code:
rm data/system/batterystats.bin
now to properly condition the battery.
turn off the phone, plug it in, preferably overnight.
boot the phone up while still pluged in.
delete the batterystats.bin file ether thru adb or terminal
drain the battery fully, untill it powers down. wait a min or two and reboot it to completely drain it.
congrats... your phone now knows corect voltage values for 100% and dead.
Remember: Flashing a new Android build erases the battery stats, and automaticly rebuilds them based on voltages it see's .
ie: you need to recondition after each flash to get max battery life.
i use the "battery life" widget by curvefish to show me temp, voltage etc.
Slampisko said:
Interesting info, but where would you find out the voltage the battery is producing?
Click to expand...
Click to collapse
some builds will show actual voltage under menu/about phone/battery use
otherwise i use the " battery life" widget by curvefish, available for free from the market. once you add it to the screen, tap it, hit settings, then check both charging info and extended info.
after conditioning the battery, im currently @27 hours since unplugging, gps, and wifi turned on the entire time, im @ 3.873v or 61%! granted, its been light usage its my secondary phone right now, but i am on the outskirts of service, and the week signal usualy sucks the battery...
ill update again , probably this time tomorow once it finaly dies...
just a little food for thought: its been over 27 hours since i unpluged, and my voltage is still higher than what the phone assumed was 100% @ the time of the initial flash....
@ 50 hours (still 10%) i finaly got sick of waiting for it to die. i turned screen on full bright, and ran gps test and locked the screen on. phone finaly died @ 2.988v im now charging it again with the phone turned off.
Umm why do we need this though ?
Wont the phone keep running as long as there is sufficient voltage in the battery ?
What is the use of this method ?
This is for people who have found a build they are happy with and want to use for a while so that their battery lasts longer, much longer. As the OP has posted, his phone is currently lasting about as long as it does in WinMo which is an impressive feat, more so being as he's running his GPS non-stop at the same time.
I for one am going to do this myself when I get the time. If I knew whether my alarm would go off while the phone was switched off (for the overnight charge) I'd do it tonight but cannot risk being late for work tomorrow lol
Thanks Reno but I meant HOW does it work ?
I thought this method just helps you see your battery's percentage .. Wont the battery run no matter what the percentage show as long as the battery has a charge ?
Can someone please explain this ?
Yeah I cant afford not waking up late as well, so im charging it while its on, would that affect anything ?
It will still charge up the battery wouldnt it ?
as stated in the op.... when you flash a build, android assumes whatever that voltage is =100% so if you realy only have 50% (about 3.7v) thats all it will charge to...
100% is realy 4.2v , this recalibrates it to alow it to fully charge.
do they not teach reading comprehension now a days? its not just this thread... its the whole forum!
Oh ok thanks ! Makes sense ..
Well I charged my phone during the night while it was switched on, in the morning the battery stated it has 4.212mV
Do I need to recalibrate it ?
recalibrating cant hurt.
For those of you who are using droidexplorer.... when right clicking on batterystats.bin and selecting delete the file does not disappear... is this how its suppose to be? If that is not suppose to happen then where exactly do you type "rm data/system/batterystats.bin"
in the console
for what its worth: Li-Io battery technology realy isnt different whether it be a phone, rc car, etc...
our batterys are a single cell. ie: rated 3.7v
4.2-4.25v is concidered by the industry as fully charged
3.7v is nominal voltage
3.2v "shorted" voltage : ie: voltage sag due to max discharge @nominal voltage
3.0v discharged
2.5v protection circuitry kicks in.
this jives with what i am now seeing on my phone after wipeing stats and calibrating...
it is also a industry standard to fully discharge ( 3.0v )about every 30 discharge cycles.
people please post what you are seeing for voltages 100/0 % before complaining about battery life.
ducvader said:
For those of you who are using droidexplorer.... when right clicking on batterystats.bin and selecting delete the file does not disappear... is this how its suppose to be? If that is not suppose to happen then where exactly do you type "rm data/system/batterystats.bin"
Click to expand...
Click to collapse
So this ^^^^ is the adb command?
Then I would type in
adb devices
rm data/system/batterystats.bin
Is this right,or is there any other commands I need after I put in adb devices?
very interesting
maybe i should try it..
4.2v @100%
This is just a quick question from a bit of logical thinking really...
Once we've got a properly calibrated Batterystats.bin file, can we back that up and use it with other builds?
Can we also therefore share it with other peoples phones as well?

Editing batterystats.bin

I just had an idea if it was possible to edit the batterystats.bin file. This way we do not have to calibrate whatsoever and possibly "trick" the phone to use the battery longer before shutting down.
As I understood from the forums, full charge 100% is around 4.2v and flat 0% around 3.5v. This bring us a delta of 0.7v = 100%. If we could edit and write say 3.3v at 0% then we would gain 0.2v and extend the battery life for another 20%+?
What do you think? Probably for a start, those with excellent battery life could help to post their batterystats.bin file and let the others with draining issues try out your calibration file?
Well it wont work.
First that file is basicly a logfile.
Second the sgs need that power to work right.
Third you can damage the battery if you try to lower the power to much.
So if you want better battery time you need to se what app you use and that kind of things.
You can also buy a battery so you have more power.
You can also try to change it under the day.
**DamianGTO Steam kernel. 348MB Ram. 1000HZ. ext2/jfs . js3 base**
Thanks for the reply.
Just thought that since the phone load is the same and thus power consumption rate remains, only possible issue would be the battery information to the phone is not accurate:
battery is either not yet fully charged before the phone cuts off charging and/or the battery is not yet fully depleted before the phone force shutdown thus showing the 'effect' of fast drain
coatercup said:
Thanks for the reply.
Just thought that since the phone load is the same and thus power consumption rate remains, only possible issue would be the battery information to the phone is not accurate:
battery is either not yet fully charged before the phone cuts off charging and/or the battery is not yet fully depleted before the phone force shutdown thus showing the 'effect' of fast drain
Click to expand...
Click to collapse
Well all is a calculation on the power in the battery, but the phone need to now what is the max value and the low value the battery have to make a right calculation. Thats way it often works to delete the file when you have full power.
So its very hard to use others file, it will not be how your battery is.
Maby there is some place in the system you can tweak this, but its not good for the battery to over load it or lower the power to much.
MAby you get a better battery life for some time, but the battery will get broken and bad alot faster, then you need to buy a new battery. So i dont see any gain on that..

How to improve cm10 battery life?

Hey guys, I am starting this thread to let people share their view about the cm10 nightly battery life and ways to improve that. I get 16h of battery with 3h screen on time and some wifi and texting But the cell radio consumes 35% battery I dont know how to fix this. Can someone come up with a fix for this?
Battery
Install Ds Battery saver and turn it onto Aggressive. It will definitly increase your battery time whith 30-40%
krishnandb said:
Hey guys, I am starting this thread to let people share their view about the cm10 nightly battery life and ways to improve that. I get 16h of battery with 3h screen on time and some wifi and texting But the cell radio consumes 35% battery I dont know how to fix this. Can someone come up with a fix for this?
Click to expand...
Click to collapse
I have the following build.prop parameter included...seeems to make a little difference...
ro.ril.disable.power.collapse=1
pm.sleep_mode=1
wifi.supplicant_scan_interval=120
also i use "die_hard battery" script to calibrate my battery ..if running the script try the "NOBOL Technique"... it works fine for my and gives my an extra of 3% battery on top.. it´s not really amazing but better then nothing
check background processes .. delete everything you don´t need from autostart..also there might be some system apps you don´t use ..which can also be deleted. I have done this with titanium backup...
with this i have 11 user processes running whihc are really necessary for me ..and battery life around 24 - 30 hours ..depending on how heavily used my phone
Don´t forget to create a cwm backup before change something !!!
phreephiber said:
I have the following build.prop parameter included...seeems to make a little difference...
ro.ril.disable.power.collapse=1
pm.sleep_mode=1
wifi.supplicant_scan_interval=120
also i use "die_hard battery" script to calibrate my battery ..if running the script try the "NOBOL Technique"... it works fine for my and gives my an extra of 3% battery on top.. it´s not really amazing but better then nothing
check background processes .. delete everything you don´t need from autostart..also there might be some system apps you don´t use ..which can also be deleted. I have done this with titanium backup...
with this i have 11 user processes running whihc are really necessary for me ..and battery life around 24 - 30 hours ..depending on how heavily used my phone
Don´t forget to create a cwm backup before change something !!!
Click to expand...
Click to collapse
Hey dude thanks for ur views For you does cell radio consume 40% or so? can u post ur battery chart screenshot?

[Q] Lag and battery problems.

I am using auroraspv3ce final.
With most of time in sleep with wifi, it goes 8-9 hours.
If i use for example twitter facebook, it goes maximum 4-5 hours.
And mostly applications stop or lag so ihave to stop activity. I am using automemory ptimizer in aggressive mode (100 mb free) but still i have this problem.
For example when someonecalls me, 2-3 seconds waiting, i can see the person name. It shows number first.
What applications do you suggetst or what should i do?
I want to do tests memroy and battery tests to see if something is wrong. How?
I have battery problem too is normal not that much. Did you try to reduce clock speed governor? Interactive is good. Try and report.
dark_vader said:
I have battery problem too is normal not that much. Did you try to reduce clock speed governor? Interactive is good. Try and report.
Click to expand...
Click to collapse
I dont know how to reduce and what governor is. Can you please tell me about it?
wHEN i open battery in settings, screen is about %25 at least. But my display is always lowets. %15 cell standby, %15 android %15 phone idle and twitter facebook each %4
Cursed Chico said:
I dont know how to reduce and what governor is. Can you please tell me about it?
wHEN i open battery in settings, screen is about %25 at least. But my display is always lowets. %15 cell standby, %15 android %15 phone idle and twitter facebook each %4
Click to expand...
Click to collapse
Yes of course. Go to menu and run application No-frills CPU control. For example select 806 Mhz for Max.clock and 245 Mhz for Min. clock. Governor you can choose Interactive.
dark_vader said:
Yes of course. Go to menu and run application No-frills CPU control. For example select 806 Mhz for Max.clock and 245 Mhz for Min. clock. Governor you can choose Interactive.
Click to expand...
Click to collapse
I did, it success but what is that for? To reduce battery? It seems now fast, opening apps, closing.
Yes it's for reduce battery. Namely if you don't play games (like me) that clock is perfect for that purpose. Interactive governor is good too mainly if you don't always need screen on aka idle.
You can test others clock for min and max but that governor is excellent.
so eeez
best way to improve battery live is propper calibration
https://play.google.com/store/apps/details?id=com.nema.batterycalibration
it needs root.
best way to calibrate battery is fully charge then unplug restart device plug in charge till 100% and do it again over and over for 3 times then... calibrate battery
fully discharge and charge again till 100 w/o breaks
also update your soft to soon coming v6 of auroraSP
hope i helpd
Battery Drain Wifi
I have done calibrations and changed clock speeds to no avail, Wifi really chews battery on most ROMs. e.g. Fully charged at 8pm and completely dead when i wake up the next morning.
Might simply be a case of new battery, does poor battery affect phone performance?
jo3fis said:
I have done calibrations and changed clock speeds to no avail, Wifi really chews battery on most ROMs. e.g. Fully charged at 8pm and completely dead when i wake up the next morning.
Might simply be a case of new battery, does poor battery affect phone performance?
Click to expand...
Click to collapse
Yes your battery is dead or almost it's not normal take out so fast
.
You can buy this battery http://www.bigupbattery.com/T-Mobile-HB4F1-Pulse-Battery-p/bupb1694.htm is good but don't except to be perfect. I have that and phone can be 1,5 2 days without charging.
Look at this topic http://forum.xda-developers.com/showthread.php?t=2029032&page=2
dark_vader said:
Yes your battery is dead or almost it's not normal take out so fast
.
You can buy this battery http://www.bigupbattery.com/T-Mobile-HB4F1-Pulse-Battery-p/bupb1694.htm is good but don't except to be perfect. I have that and phone can be 1,5 2 days without charging.
Look at this topic http://forum.xda-developers.com/showthread.php?t=2029032&page=2
Click to expand...
Click to collapse
Thanks mate, I bought this one shortly before reading your post http://www.trademe.co.nz/Browse/Listing.aspx?id=638683016 only $6NZD
Looking forward to having decent battery life again!

Categories

Resources