I'm thinking of making a script to reset my battery stats every morning when my phone is at 100%. I understand most of you won't believe this will extend battery life, but it has worked for me time and time again. After a couple days my overall battery life appears to shorten until the stats are reset. I believe this is because it resets the voltage threshold where the phone says to turn itself off. This is controlled by software because if the lithium ion battery gets too low then it is unable to recharge itself and will be damaged.
I am seeking advice on making a script. Can this be done with an app?
Sent from my HTC Amaze 4G using xda premium
I think you're wasting your time. Wiping battery stats does absolutely nothing. One of googles own developers said wiping stats is a myth. Its all placebo
---------- Post added at 02:11 PM ---------- Previous post was at 01:36 PM ----------
didnt want ya thinking i was making stuff up, so here ya go. just for reference, shes an android framework engineer. if you dont believe what she says, well then, i dont know what to tell ya
Dianne Hackborn - 6:42 PM - Public Today's myth debunking:
"The battery indicator in the status/notification bar is a reflection of the batterystats.bin file in the data/system/directory."
No, it does not.
This file is used to maintain, across reboots, low-level data about the kinds of operations the device and your apps are doing between battery changes. That is, it is solely used to compute the blame for battery usage shown in the "Battery Use" UI in settings.
That is, it has deeply significant things like "app X held a wake lock for 2 minutes" and "the screen was on at 60% brightness for 10 minutes."
It has no impact on the current battery level shown to you.
It has no impact on your battery life.
Deleting it is not going to do anything to make your more device more fantastic and wonderful... well, unless you have some deep hatred for seeing anything shown in the battery usage UI. And anyway, it is reset every time you unplug from power with a relatively full charge (thus why the battery usage UI data resets at that point), so this would be a much easier way to make it for away.
Click to expand...
Click to collapse
https://plus.google.com/u/0/105051985738280261832/posts/FV3LVtdVxPT
I will do more testing to ensure no placebo issue. If I had to prove it, what would convince you guys?
Sent from my HTC Amaze 4G using xda premium
jcparks said:
I will do more testing to ensure no placebo issue. If I had to prove it, what would convince you guys?
Sent from my HTC Amaze 4G using xda premium
Click to expand...
Click to collapse
Did you not read my post? She's a Google engineer man, without her and her crew there would be no android. How would you disprove the woman? This a black and white issue here man, you don't need to test for placebo or anything else. Wiping battery stats, calibrating, whatever you wanna call it is a MYTH
Terrible idea.
Sent from my SGH-T989 using xda premium
mrmako777 said:
Did you not read my post? She's a Google engineer man, without her and her crew there would be no android. How would you disprove the woman? This a black and white issue here man, you don't need to test for placebo or anything else. Wiping battery stats, calibrating, whatever you wanna call it is a MYTH
Click to expand...
Click to collapse
So letting your phone and charging it to 100% is a Myth to extend battery life ? Sense it Is "calibrating"
Sent from my HTC Amaze 4G using XDA
fuego77 said:
So letting your phone and charging it to 100% is a Myth to extend battery life ? Sense it Is "calibrating"
Sent from my HTC Amaze 4G using XDA
Click to expand...
Click to collapse
No, what he is saying is that wiping battery stats does nothing to improve battery life. What he was reffering to as calibrating, is different than what u are thinking
Sent from my NRGized Amaze...
via xda premium
fuego77 said:
So letting your phone and charging it to 100% is a Myth to extend battery life ? Sense it Is "calibrating"
Sent from my HTC Amaze 4G using XDA
Click to expand...
Click to collapse
here ya go. try this and see if it helps
http://forum.xda-developers.com/showthread.php?t=712990
I get it. Some/most don't believe that wiping battery stats extends your battery life. I really do understand that it makes no sense. The only thing I know is that on the days that I wipe my battery stats, the battery lasts longer and I can be on my phone more without terrible battery drain.
I don't care why this happens or gives me the perception of it happening. I will happily be wrong and ignorant and enjoy my phone more. I just want to figure out how to make a script that resets when I hit 100% in the morning after charging.
How can I make a script that is either triggered by time or battery percent? I looked into Init.d, but that seems to only work on startup.
Thanks for the responses.
mrmako777 said:
here ya go. try this and see if it helps
http://forum.xda-developers.com/showthread.php?t=712990
Click to expand...
Click to collapse
from link
To also help with Battery Life you can do these steps exactly: 1) Turn your device ON and Charge the device for 8 hours or more 2) Unplug the device and Turn the phone OFF and charge for 1 hour 3) Unplug the device Turn ON wait 2 minutes and Turn OFF and charge for another hour Your battery life should almost double, we have tested this on our devices and other agents have seen a major difference as well.
Click to expand...
Click to collapse
I'll try this, first. Thanks
jcparks said:
I will do more testing to ensure no placebo issue. If I had to prove it, what would convince you guys?
Click to expand...
Click to collapse
MONEY. Lots of MONEY.
...
... The Android engineer stated that the file is wiped when you restart ... just restart your phone every morning. Probably good for a lot of things.
So the special charging trick helps. Must get a few extra mA into the battery or something. Would be really cool to script something to perform the shutoff and startups. Looking into tasker app.
Sent from my HTC Amaze 4G using xda premium
I don't see too much high drain activity during that 14H. Care to show us what apps were active, and for how long, during that 14H?
I ve not seen many differece whit wipe...
Sent from my GT-I9001 using Tapatalk 2
Related
got this from techradar website is this true or what??
12. Don't drain the battery
The old advice to completely drain your battery to ensure proper operation doesn't stand any more, thanks to modern lithium-ion batteries. They don't have the charge memory issues that affected previous generation cells, and in fact perform better if you regularly charge them and keep them topped up.
Read more: http://www.techradar.com/news/phone...y-life-how-to-improve-it-697772#ixzz14BOnEVuP
It's perfectly fine to drain the battery.
You drain the battery to train the rom so it will learn the highs and low. That makes your battery icon more accurate from what I understand. So essentially it's not the battery we are conditioning it's the rom.
icandy75 said:
You drain the battery to train the rom so it will learn the highs and low. That makes your battery icon more accurate from what I understand. So essentially it's not the battery we are conditioning it's the rom.
Click to expand...
Click to collapse
+1 I completely agree
Friends don't let friends flash drunk
jayprime said:
+1 I completely agree
Friends don't let friends flash drunk
Click to expand...
Click to collapse
Digging the signature man.
Sent from my SGH-T959 using XDA App
Thanks everyone for not coming out like jerks.
Sent from my SGH-T959 using XDA App
Rodriguez92 said:
got this from techradar website is this true or what??
12. Don't drain the battery
The old advice to completely drain your battery to ensure proper operation doesn't stand any more, thanks to modern lithium-ion batteries. They don't have the charge memory issues that affected previous generation cells, and in fact perform better if you regularly charge them and keep them topped up.
Read more: http://www.techradar.com/news/phone...y-life-how-to-improve-it-697772#ixzz14BOnEVuP
Click to expand...
Click to collapse
All you really have to do is train the phones charging system. LiIon batteries do not have the sorts of memory issues that old fashioned NiCad's did.
Rodriguez92 said:
Thanks everyone for not coming out like jerks.
Sent from my SGH-T959 using XDA App
Click to expand...
Click to collapse
No worries, like you see if you post in the right section you wont get flamed.
i guess a picture is worth a 1000 words... have a look...
more pix for ur eyes ^_^
If your rooted, try battery calibration. Plenty of threads about, and varying methods.
If not, another battery, and if new, ensure charge fully, phone off, overnight, before first boot.
Sent from my GT-I9100 using xda premium
forgot to mention i'm running [Rom]Wanam v3.2 at that time, currently on v3.4, the dark extended areas is me at work where i turn airplane mode on due to serious bad reception at work... sync is on rest of the time for gmail/whatsapp/kakao other than that manual updates on twit and some news apps...
u can see the first jump in the first pic, that was due to me exchanging with 1st spare battery( got 4 + original batt= total of 5)
i dont know if its the phone and exchanging batteries thats causing such high battery losses at the end of the battery life...
plus yesterday and the day before battery goes crazy when it reaches 30-20% and when i go for a restart to freshen things up... the phone wont switch on thinking the battery is totally dead... i put in the new battery and its @ 100% ... switch back to the old battery to see where the 30-20% went... it wont start...
now im thinking... keeping 1 battery in the phone with a charge from 0-100% actually takes the phone all the way to 0% but exchanging the battery wont...
how am i supposed to use the full potential of the batteries...
UpInTheAir said:
If your rooted, try battery calibration. Plenty of threads about, and varying methods.
If not, another battery, and if new, ensure charge fully, phone off, overnight, before first boot.
Sent from my GT-I9100 using xda premium
Click to expand...
Click to collapse
been using this app since my old sgs, it sure works and have been using it ever since...
tho in the [Rom]Wanam ... install procedure says that its backing up the battery stats and this lead me to think that a batt calibration is not needed... or am i wrong to think so?
If you change batteries, all previous data will be irrelevant, and you need to calibrate each time. You can do things manually by installing battery monitor widget, charge to 100% AND until the mA reaches zero (Voltage spills be approx 4200mV). At this point, quickly delete battery stats (menu / stats /) and immediately unplug.
https://market.android.com/details?id=ccc71.bmw
Top help with monitoring, You can config the update rate and widget content so it shows mA, %, mV. Also have alarm when stops charging (if configured).
There is also an option for calibration, but I only use this method when done above first. Never discharge to zero, 1% min.
Sent from my GT-I9100 using xda premium
UpInTheAir said:
If you change batteries, all previous data will be irrelevant, and you need to calibrate each time. You can do things manually by installing battery monitor widget, charge to 100% AND until the mA reaches zero (Voltage spills be approx 4200mV). At this point, quickly delete battery stats (menu / stats /) and immediately unplug.
https://market.android.com/details?id=ccc71.bmw
Top help with monitoring, You can config the update rate and widget content so it shows mA, %, mV. Also have alarm when stops charging (if configured).
There is also an option for calibration, but I only use this method when done above first. Never discharge to zero, 1% min.
Sent from my GT-I9100 using xda premium
Click to expand...
Click to collapse
Thing is, what's the use of having spare batteries if this will happen on each battery swap and having to go thru calibration means having a charger nearby...
and by 0% i didnt actually mean 0 but till that 1% turned the phone off
if what u said is true, then i guess i need some kind of script to help and keep the batt data even after swapping.. based on 1 good calibrated file swapping batteries should start from a certain point even if the batteries do lose some of their charge but continue to moniter things as they were... i dunno if what i said makes sense... correct me if i'm wrong
Not really 100% sure, but sure I have not always calibrated after a battery swap in the dhd..The previous battery was calibrated and performing well, and the replacement would have been very close to 100% charge. I didn't notice any irregularities in the battery data, or battery drain.
So I suppose a good bat stats file should help the phone showing relatively "accurate" data after a battery swap, if they're both "conditioned" (gone through a number of charging cycles, not straight out of thre box)
Maybe I could be wrong, but based on past experience.
Sent from my GT-I9100 using xda premium
UpInTheAir said:
Not really 100% sure, but sure I have not always calibrated after a battery swap in the dhd..The previous battery was calibrated and performing well, and the replacement would have been very close to 100% charge. I didn't notice any irregularities in the battery data, or battery drain.
So I suppose a good bat stats file should help the phone showing relatively "accurate" data after a battery swap, if they're both "conditioned" (gone through a number of charging cycles, not straight out of thre box)
Maybe I could be wrong, but based on past experience.
Sent from my GT-I9100 using xda premium
Click to expand...
Click to collapse
thanks a lot for ur replies ^_^ much appreciated
anybody else wanna shed some light on this ?
This is a good app for more info on battery drainage.
http://forum.xda-developers.com/showthread.php?t=1179809
Have you tried different radios/modems for better reception? if your phone is struggling to get decent reception its going to use your battery.
You could try changing to 2G only in wireless settings. used to help me alot.
mynamesteve said:
This is a good app for more info on battery drainage.
http://forum.xda-developers.com/showthread.php?t=1179809
Have you tried different radios/modems for better reception? if your phone is struggling to get decent reception its going to use your battery.
You could try changing to 2G only in wireless settings. used to help me alot.
Click to expand...
Click to collapse
i'm already using it steve, thanx for the helpful info ^_^ , tho it has nothing to do with my strange problem... before going to work i switch to 2g coz i mainly use it for calls so after work is done, i wanna have fun with the phone so its back to 3g... i hardly have reception as i mentioned before is due to really thick walls and working underground in some rooms... its just common sense... plus im on latest modem and its actually performing better than other phones (nokia,BB,moto,iphones....) at where i work, 5 guys got convinced and got a sgs2 coz of mine lol
I don't have much of an explanation, I rebooted my phone and my battery tanked. Any ideas?
Sent from my SAMSUNG-SGH-I777 using xda premium
Battery may just need calibration
Sent from my SAMSUNG-SGH-I727 using xda premium
CollegeProfesor said:
I don't have much of an explanation, I rebooted my phone and my battery tanked. Any ideas?
Sent from my SAMSUNG-SGH-I777 using xda premium
Click to expand...
Click to collapse
I usually have the same problem, but only when my phone locks up and has to hard reboot. I've never selected reboot and it's done that... odd...
Theres many threads about this, and our batteries do NOT need calibration. It's based off of battery voltage, and during intensive tasks (like booting) the battery voltage takes a drop which the fuel gauge reads from, which is why you can see your percentage going up for a bit, then going back down.
It's more apparent at lower battery levels. With that much screen time and usage, I'm not suprised it dropped that much.
Just a battery glitch, nothing to be alarmed about. You'll see that it will stay at the reboot level or even rise after it realizes the real level.
Calibration doesn't do anything for these phones either.
I agree. I have been having this problem. I tried battery calibration but it doesn't help. So now I just live with it, I just avoid rebooting my phone.
I also would be glad if someone comes up with a solution to this problem.
I think I have tried about everything discussed in the xda forums, but nothing helps.
Sent from my AT&T Samsung Galaxy S II
If you need to reboot and your battery is below 75% connect it to a charger to avoid this.
It isn't something you can fix, search there is a few threads/posts about it.
Main post you should pay attention to...
Entropy512 said:
It can't be changed without hardware alterations.
As with anything in engineering, there are tradeoffs. The positive aspect of this fuel gauge design is that it does not require ANY calibration. No wiping battery stats, no "always flash firmware at 100%" - none of that.
The negative is that in a few corner cases, it gets thrown off temporarily. This is basically the only known one.
Click to expand...
Click to collapse
jazzboyrules said:
I agree. I have been having this problem. I tried battery calibration but it doesn't help. So now I just live with it, I just avoid rebooting my phone.
I also would be glad if someone comes up with a solution to this problem.
I think I have tried about everything discussed in the xda forums, but nothing helps.
Sent from my AT&T Samsung Galaxy S II
Click to expand...
Click to collapse
This "problem" is a function of the device hardware. The only way to get rid of it is to smash your phone with a hammer.
Sent from my SGH-I777 using XDA App
This really needs to go in the FAQ. You're not magically losing battery, just the estimate is dropping.
It only happens when there is heavy load (such as booting) right after a fuel gauge reset (such as a reboot).
So, either:
1) Don't reboot on battery <60% or so
2) Reboot while on a charger if you do reboot with low battery
3) Live with it, it'll resolve itself in an hour or two
It's a tradeoff - we have ONE corner case where the fuel gauge gets thrown off, in exchange for NEVER having to perform any battery calibration voodoo black magic. The fuel gauge will always converge towards truth, while other gauges will diverge over time, requiring periodic calibration cycles.
ohh, I didn't know we didn't need battery calibration, thanks for the information!
Sent from my SGH-I777 using XDA App
Hey guys, if you haven't guessed, I have an Evo 3D (Evo V 4G, details, details) and I've always used the extended battery from Zlaza. That worked wonderfully. Now the case for it broke and I have to get a new case or fix it. So I'm stuck on stock battery.
EDIT: For the record, I did use the regular battery for roughly two and a half weeks before jumping onboard the extended battery ship.
The Problem:
Stock battery (when I used it) never drained this rapidly. 30 Percent in two hours. I'm not streaming audio, listening to videos checking email or even browsing the web, I'm just listening to music on Poweramp. Occasionally I checked into XDA with it.
I'm on Harmonia (the, what stock should've been ROM for Virgin Mobile) using Buttered Toast Kernel clocked at stock using conservative governor. Any ideas why this might be happening? Is this normal? Have I been sucked out of the realm of normal due to having an ultra large 3460mAh battery? Keep in mind I have wiped battery stats and let it die (really easy now) then charged it up again before using it.
Any explanation would be great.
More in depth stats.
https://www.box.com/s/uz9j4brraeep88mxth9m
And this one was while I was flashing a ROM and jumping in and out of recovery earlier today...
https://www.box.com/s/xbv5cmil152gm78o57d1
A few thoughts:
1. Maybe the battery has gone bad (or a little bad) since you had it unused in the drawer for so long.
2. I lose quite a bit of battery every reboot.
3. I only get about 3 or so hours of screen on time when using stock battery
That's absolutely mind blowing. Nonetheless, thank you.
Sent from my HTCEVOV4G using xda app-developers app
thebeastglasser said:
That's absolutely mind blowing. Nonetheless, thank you.
Sent from my HTCEVOV4G using xda app-developers app
Click to expand...
Click to collapse
Try going into recovery and wiping battery stats.
Sent from my PG86100 using xda app-developers app
30% drain while listening to music is not out of the ordinary.
You could try changing your kernel and undervolting. Might help out but be sure to know what you are doing.
Also battery may be bad.
jktenor said:
Try going into recovery and wiping battery stats.
Sent from my PG86100 using xda app-developers app
Click to expand...
Click to collapse
Damn it, I meant to put that into my OP, yeah I did that.
malvarez92 said:
You could try changing your kernel and undervolting. Might help out but be sure to know what you are doing.
Also battery may be bad.
Click to expand...
Click to collapse
And undervolting is always an option, I figured using stock clock and conservative governor (along with set CPU profiles) would be enough. I may consider doing that, thanks.
Im assuming its your battery. On my evo battery life fluctuates alot. If i use it alot, i tend to get about 6-7 hours daily. If i hardly use it, it can go above 1 day. Right now im at a day and 12 hours. lol but have hardly used it
---------- Post added at 02:23 AM ---------- Previous post was at 02:18 AM ----------
I also think maybe you need to charge and let it discharge a couple of times since you havnt used it in a while. This should cycle it and should help the battery retain some more charge.
Hmm, that's something else that I didn't consider. I figured it would be fine because I'd used it in the past... Recalibration it is then.
Sent from my PARANOID 3VO
EDIT: By the way, what ROM?
Viper 3D r192 but the newest r202 has gps issues. i have also changed my kernel to (Bacillus anthracis) i dont think im allowed to say the actual name
Hahaha, thanks. I'll have to try it out.
Sent from my PARANOID 3VO
Just an observation, I bought 3 extra batteries with a wall charger, my original HTC battery is now a year old and there's a noticeable difference in battery longevity, my after market batteries last 30-50 % longer, so after 1 year it's time for a new battery
(Don't ask me for help as I couldn't care if your phone explodes, eh! )
That's always a possibility... I'm on Virgin Mobile and I got one of the Sprint Evo 3D instead of the Virgin Mobile ones... There's always the possibility that it had been lying around in a box for a year or so. Something else to consider I suppose.
Sent from my PARANOID 3VO
Batteries normally will lose the ability of retaining a full charge after many discharge and charge cycles, lithium ion batteries are prone to this as any rechargeable battery
(Don't ask me for help as I couldn't care if your phone explodes, eh! )
flashallthetime said:
Batteries normally will lose the ability of retaining a full charge after many discharge and charge cycles, lithium ion batteries are prone to this as any rechargeable battery
(Don't ask me for help as I couldn't care if your phone explodes, eh! )
Click to expand...
Click to collapse
This is probably your problem.
Lithium Ion batteries die slowly on the shelf too. They recommend you store them at 40% if they won't be in use, but there's no perfect way of storing a battery to prevent it from going bad.
However, charging it to 100% and leaving it is apparently really bad.
Maybe you did that before switching to the bigger battery?
Ahhh yeah... that's kind of exactly what I did.
FOR THOSE WITH BATTERY PROBLEMS:
1. After flashing your phone with a new ROM, install this software:
https://play.google.com/store/apps/d...ibration&hl=en
BATTERY CALIBRATOR - 47 KB size
2. Then, charge your phone to 100%.
3. IMPORTANT. Remove CHARGER first.
3. IMMEDIATELY hit "Battery Calibration" (1 or 2 seconds delay is fine, wait for BATTERY voltage to drop and be stable)
4. Use your phone normally (don't charge in between) till it hits 1%.
5. Then charge your phone UNINTERRUPTED (leave it for charging all night) till 100%.
6. Unplug and start using. You should be having as little as 2-3% battery drain for 6-8 hours of IDLING now. That's the optimization of a calibrated battery.
ENJOY! Hope this helps!
Even Google confirmed that deleting that one file has nothing to do with battery drain,its just place where phone saves battery using from apps.
Sent from my Xperia U using xda app-developers app
XperianPro said:
Even Google confirmed that deleting that one file has nothing to do with battery drain,its just place where phone saves battery using from apps.
Sent from my Xperia U using xda app-developers app
Click to expand...
Click to collapse
Surprisingly this issue continues to be resolved by simply following this easy trick. Worked for me, hence I shared it. Worked for good many other people. I don't see the explanation for that. As long as it fixes someone's headache, it's helpful.
You should charge your phone as often as possible. That's good for the battery.
Sent from my ST25i using xda app-developers app
troullis2004 said:
You should charge your phone as often as possible. That's good for the battery.
Sent from my ST25i using xda app-developers app
Click to expand...
Click to collapse
Umm. Where did you get THAT from?
thunderising said:
Umm. Where did you get THAT from?
Click to expand...
Click to collapse
sony mobile description thread, its there..it say charge you phone often,
olujnap316 said:
sony mobile description thread, its there..it say charge you phone often,
Click to expand...
Click to collapse
Don't see how that can help.
thunderising said:
Don't see how that can help.
Click to expand...
Click to collapse
me to surely it will shorten the life of the battery quicker than waiting for the battery to nearly flat i.e ~10% or less before you do recharge it
Thanks, it`s quite easy method.
aceado said:
me to surely it will shorten the life of the battery quicker than waiting for the battery to nearly flat i.e ~10% or less before you do recharge it
Click to expand...
Click to collapse
Letting Lithium Ion get to low charges then charging it will decrease battery life, you can leave them plugged in a charger and it will be fine, just like when you leave your laptop plugged in or leaving a UPS plugged in.
gigermunit said:
Letting Lithium Ion get to low charges then charging it will decrease battery life, you can leave them plugged in a charger and it will be fine, just like when you leave your laptop plugged in or leaving a UPS plugged in.
Click to expand...
Click to collapse
Oh, I didn't know that. THANKS!
thunderising said:
Umm. Where did you get THAT from?
Click to expand...
Click to collapse
check http://batteryuniversity.com/ it is true for lithium batteries
For root users, just use greenify will do.
Sent from my MT27i using xda premium
thunderising said:
Surprisingly this issue continues to be resolved by simply following this easy trick. Worked for me, hence I shared it. Worked for good many other people. I don't see the explanation for that. As long as it fixes someone's headache, it's helpful.
Click to expand...
Click to collapse
actually what battery calibration really do is it makes battery percentage display on status bar more "accurate".
when you flash a new rom, old battery data is not deleted so it will be inaccurate (ex: showing 52% on status bar when your battery is at 30%)
therefore, calibration doesn't improve battery life :laugh:
Ive heard of it before. keeping your battery level between 60% and 80% help prolong your battery's lifespan.
---------- Post added at 11:51 PM ---------- Previous post was at 11:48 PM ----------
Luzard said:
actually what battery calibration really do is it makes battery percentage display on status bar more "accurate".
when you flash a new rom, old battery data is not deleted so it will be inaccurate (ex: showing 52% on status bar when your battery is at 30%)
therefore, calibration doesn't improve battery life :laugh:
Click to expand...
Click to collapse
It kinda does improve your battery life, because for instance your phone is reading 10% while the phone actually have 30% then the phone may shut down anytime because it think it has low power.
help me please
Hi I am ray
I bought a new note 4 a month ago
I needed to root it badly but I cant find any proper way, so I flashed a prerooted custom rom called nameless rom v7. It is perfect in performance yet my battery charges to a maximum 87% and when it reaches 13% my device powers off...I tried calibration and clearing dalvik and reflashing rom abd buying a new battery but none had solved my problem. Please help me. My email is (but dont publish it or abuse it) wwwwwwward8 at gmail . com (since website dont allow me to post an email full) seeking help from you. And thanks in advance. And by the way I ama game hacker so if u help me get this solved I will let u chose any game 4 me 2 hack and get it as a reward