Wiping battery stats - Motorola Droid X2

Interesting article on Rootzwiki:
Wiping Battery Stats is Pointless, Says Google Jan 13 2012 09:30 PM | Ashley Glenn in Articles
Over time wiping battery stats has become a regular ritual among the Android enthusiast community. Buy a new battery? Wipe your battery stats! Upgrade to a bigger battery? Wipe your battery stats! Change kernels or restore a nandroid backup? You know what to do: wipe battery stats! But this ritual may soon become a thing of the past thanks to Google engineer Dianne Hackborn, who sheds a light on the subject that puts the tightly-held practice of wiping battery stats in the same league as carrying a lucky rabbit's foot or throwing a pinch of spilled salt over your shoulder.
Recommending that users wipe their battery stats appears in so many places and as a cure for so many ills that it has become ubiquitous. Adherents to this practice will sit and wait for their phones to report a full charge, then use an app that deletes the batterystats.bin file or reboot into recovery mode and wipe it from there. This supposedly cures a number of ills such as battery scaling issues, poor battery percentage reporting, and any of a myriad other number of issues. The truth is, according to Android Framework Engineer Dianne Hackborn, that this file is a repository for information about system activity and that it actually takes care of itself without the need for user intervention. From Dianne's post:
Quote
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 go away.
It really can't be put more straightforward than that, folks. So rest assured next time you put a new battery in or flash a new kernel or restore an old backup that all you have to do to help your phone or tablet play nice with its battery is charge it to 100% and do nothing else. It really is that simple. But don't worry, enthusiasts - you'll find plenty of other reasons to hang out in recovery anyway.
Know of a sweet app, trick, mod, or hack for your Android device? Send us a tip! [email protected]
Sent from my MB870 using xda premium

This is interesting, so Google engineering will incorporate it into new OTA's? Or does this mean I've wasted time while flashing countless Roms?

Pixelation said:
This is interesting, so Google engineering will incorporate it into new OTA's? Or does this mean I've wasted time while flashing countless Roms?
Click to expand...
Click to collapse
I'm reading this as we've been wasting time.
Sent from my MB870 using xda premium

Not wasting time flashing countless roms. Just wasting time wiping battery stats. That's the way it looks to me. Personally, I've always thought wiping battery stats was nothing but a whole lot of voodoo. Never had the need for it, don't see why anybody else would either. Let the flames begin.

I knew it couldn't possibly have an effect on actual battery life, but I thought maybe the file collected information about the length of the battery to calibrate the meter (because let's face it, with the X2 battery bug it's pretty clear that it doesn't get the value directly from the battery).
Funny thing about calibrating when it gets to 100 though...if there truly is something wrong with the meter, why would you suddenly trust it to know when it's charged? This is why I'd always charge it for a little extra and go by the voltage meter.

So basically, I've seen a couple of different readings. I've always waited past 100% and in different ROMs I've seen 4192, 4196, 4198, & 4200 mah.
I use the extended battery, sooooo readings may vary between regular battery.

Pixelation said:
So basically, I've seen a couple of different readings. I've always waited past 100% and in different ROMs I've seen 4192, 4196, 4198, & 4200 mah.
I use the extended battery, sooooo readings may vary between regular battery.
Click to expand...
Click to collapse
I have an extended battery as well. Actually, I have two extended batteries and two regular batteries. Got the first one with my droid X, then a faulty extended battery (bad batch where the meter doesn't read right), then a replacement extended battery, then the one that came with my X2. No two are the same, but they should all max out near 4200 mV.

Edit: I use one extended battery.
Ok this screen is after install of CM 7 tonight, it reads 4205 mah, so why is it different, with different Roms?
Weird isn't it?

Pixelation said:
Edit: I use one extended battery.
Ok this screen is after install of CM 7 tonight, it reads 4205 mah, so why is it different, with different Roms?
Weird isn't it?
Click to expand...
Click to collapse
The stats can easily drift if you don't flash ROMs with your phone at 100% battery, hence why sometimes the calibration is needed [be sure to wipe stats when at 100% [either via app or recovery], best thing to do is fully discharge battery until auto off occurs and then fully charge with AC Wall Adapter and charge only screen, then when it hits 100% wait a few min, restart to OS to be sure it also says 100% [if not wait until it does and wait about 20 min longer] then restart to recovery and flash away [you could also wipe battery stats as part of flash if you do as stated before flashing]. I usually set it up so I fully discharge the phone [restarting to be sure a couple to few times] and then charge with phone off and charge only screen overnight and flash my ROM first thing in the morning right before I unplug it and unplug once I reach the point I am ready to restart device and do initial boot after flashing. Further details below...
Basically charge to 100% [or as absolutely close as you can get it [AC Wall charger is best unless you REALLY are forced to do it via USB and is best to charge via the charge only screen [phone is powered off and not booted in to the OS and all you normally see is just a battery filling on screen [and is fastest way to charge battery]]. Wait an additional 20 - 30 min after it registers 100% [this is to be sure the battery is absolutely topped off essentially] and I will generally do a restart as sometimes the battery may come back to less than 100% on a restart if your phone is not judging the battery right and is in need of calibration. If it does not register after restart wait until it hits 100% and wait the additional 20 min [you can cut out the initial 20 min wait if you want to do the restart to verify just wait the 20 min once you feel sure battery is as topped off as you can get it], then after wiping restart from recovery and unplug. Now be sure to drain the battery until auto shutoff [either stream media if in a hurry or through general usage. Either way wait until auto shut off.]. I usually will power the device back on and be sure it is not going to get back to the OS [if it even gets to boot logo I wait a few seconds and power it on again to be sure all I get is the boot vibrate on my device [some don't have this, but usually it's tablets almost all phones [and definitely both Motorola and Samsung do this]. I then charge it to full [again AC wall charger recommended as above and again with charge only, but as stated if you cant live with phone off or whatever you can do it with OS running as well. You are free to go as you wish after this second full charge really though if you do a couple more [dont have to be insane] it can help ensure the statistics get a good start.
As I believe I stated above the best way to avoid calibration as long as possible is to charge phone to 100% via phone off screen [with AC Adapter and wait the extra 20 min after it registers full before you flash [I will sometimes take it a step further, leave it plugged in while flashing my install zips and then once I go to restart system for the initial boot after ROM flash I will unplug the charger from the phone.
Hope this helps

Related

[Q] Battery charging quite slow

I got an replacement due to my phone beyond repair.
I'm running original stock firmware, of-course rooted. Since the replacement I'm trying to get my phone to full charge but it doesn't and also I notice that the charging is quite slow.
I installed "Battery Monitor Widget" to see how much power it is drawing and found that AC power draws only about 350+mA and sometimes it is as low as 8mA. (Some times it draws about 750+mA). I notice that the temperature also reaches somewhere about 45 to 48 degree.
Once it reaches about 90% or so, it starts to drain battery instead of charing it.
I find it quite abnormal. Anyone with this kind of problem and found an solution?
Thanks in advance for the replies and suggestions.
What I'd sudjest is updating your phone through seus or PC companion or if your an American at & t user update to a newer firmware through the flash tool (you can find I link to it through my signiture) or if you can't update try and use the repair option through seus or PC compainion.
Sent from my X10 using XDA Premium App
The Gingerbread Man said:
What I'd sudjest is updating your phone through seus or PC companion or if your an American at & t user update to a newer firmware through the flash tool (you can find I link to it through my signiture) or if you can't update try and use the repair option through seus or PC compainion.
Sent from my X10 using XDA Premium App
Click to expand...
Click to collapse
Thanks for your reply.
I did that yesterday. I repaired the firmware and reloaded all the application one by one from scratch. The only thing I restored is contacts so that I could eliminate all the other factors which can cause this issue.
My other suggestion would be to install xrecovery and wipe your battery stats I guess. You can find a link to xrecovery through the link in my sig
Sent from my X10 using XDA Premium App
The Gingerbread Man said:
My other suggestion would be to install xrecovery and wipe your battery stats I guess. You can find a link to xrecovery through the link in my sig
Sent from my X10 using XDA Premium App
Click to expand...
Click to collapse
Thanks once again for the reply.
I tired that too every time I try to charge the phone. Still it refuses to complete the charging.
Any other suggestions are welcome.
What about off line charging ie; turning the phone off and doing that way?
Sent from my X10 using XDA Premium App
The Gingerbread Man said:
My other suggestion would be to install xrecovery and wipe your battery stats I guess. You can find a link to xrecovery through the link in my sig
Sent from my X10 using XDA Premium App
Click to expand...
Click to collapse
+1 it helped me off this problem
Sent from my X10i using XDA App
The Gingerbread Man said:
What about off line charging ie; turning the phone off and doing that way?
Sent from my X10 using XDA Premium App
Click to expand...
Click to collapse
Good idea. I will try that as well as try to do a clean wipe and just try to charge with nothing loaded in. That will give a better idea where the problem is.
Thanks for the great tip, I will update you tomorrow.
Had that happen before, I had to remove sim card and let it drain out slowly for a week, then charge. Problem solved
I think I had similar problem, except that my processor went on full load when its almost fully charged causing it to drain the battery instead. Still lookin for answer to that, will wiping battery stats help?
I reset my phone to factory and did a re-flashing again using SEUS and I tried it charging immediately without loading any application (only loaded Battery Monitor Widget from Market to see the battery temperature and mA units drawn) and wow, it charged like a normal X10. So I guess it has something to do with whatever I loaded or modded it with.
I'm trying to find it out. Later tonight I will try to load all the application one-by-one and try again to charge to see whether I can isolate it.
During this process, I did takeout my SIM card for a period of 1 hour or so, so not sure whether that did the trick (If that's the case, thanks to gogogu)
In the meantime, I have a strong feeling it would be due to the flashtool and new recovery, but again there isn't any proof. I suspect this because this is the new thing I did compared to my old phone.
Any thoughts are welcome.
Monitor the CPU usage as well
zymphonyx said:
Monitor the CPU usage as well
Click to expand...
Click to collapse
I don't have issues with processor. It works at full throttle when it supposed to work and then goes back to normal.
Hrmmm alright, but if you ever had the draining issue while charging and the battery temp rises up again. Check the CPU usage just incase
After yesterday's event, seems like stable (I did face the same issue once). Not sure which cured it and currently monitoring...
EDIT: Back to square one. The issue started again and the battery refues to fully charge! I'm going mad
Finally given up, sent for service and came back after 5 days of repair.
Repair Notes: No problem found !!!
But today morning I tried to charge and it's the same issue . Makes me go mad. Really, I don't know what to do!
Please help me friends .......
I too have exactly the same problem with my x10i.....
tried everything like rooting, using stock & custom ROMs, etc... still problem persist ...
while charging , power goes from 900mA to 200mA or lower, & doesn't reach 100% full...
i use current widget from market to read the power values ....
please help me friends .... to resolve my problem ...
Thanks a lot...
Makzer.
nobody replying
hello mates...
please reply to my problem dear friends ..
looking forward ...
LiveSquare said:
I got an replacement due to my phone beyond repair.
I'm running original stock firmware, of-course rooted. Since the replacement I'm trying to get my phone to full charge but it doesn't and also I notice that the charging is quite slow.
I installed "Battery Monitor Widget" to see how much power it is drawing and found that AC power draws only about 350+mA and sometimes it is as low as 8mA. (Some times it draws about 750+mA). I notice that the temperature also reaches somewhere about 45 to 48 degree.
Once it reaches about 90% or so, it starts to drain battery instead of charing it.
I find it quite abnormal. Anyone with this kind of problem and found an solution?
Thanks in advance for the replies and suggestions.
Click to expand...
Click to collapse
What program do you use to check your battery temperature. I rememeber there was one that wass bettery draining. The same is also possible with battery level monitor
Sent from X10
Use this tool forum.xda-developers.com/showthread.php?t=1415600
Please read this. There is a lot of batt info on xda just search
http://forum.xda-developers.com/showthread.php?t=871051
I realize that much of this is common knowledge on XDA. Still, every day I see people post about how their phone "loses" 10% as soon as it comes off the charger. I also have friends who can't understand why their battery drains so quickly. Trying to explain this to people without hard numbers is often met with doubt, so I figured that I'd actually plot it out with real data.
So it's not a piece that is optimized for this audience, but I hope that you find it interesting.
--------------------------------------------------
Your Smartphone is Lying to You
(and it's not such a bad thing)
Climbing out of bed, about to start your day, you unplug your new smartphone from its wall charger and quickly check your email. You've left it plugged in overnight, and the battery gauge shows 100%. After a quick shower, you remember that you forgot to send your client a file last night. You pick up your phone again, but the battery gauge now reads 90%. A 10% drop in 10 minutes? The phone must be defective, right?
A common complaint about today's smartphones is their short battery life compared to older cell phones. Years ago, if you accidentally left your charger at home, your phone could still make it through a weeklong vacation with life to spare (I did it more than once). With the newest phones on the market, you might be lucky enough to make it through a weekend.
And why should we expect anything else? Phones used to have a very short list of features: make and receive phone calls. Today we use them for email, web surfing, GPS navigation, photos, video, games, and a host of other tasks. They used to sport tiny displays, while we now have giant touch screens with bright and vibrant colors. All of these features come at a cost: large energy requirements.
Interestingly enough, improvements in battery management technology have compounded the average user's perception of this problem. Older phones were rather inelegant in their charging behavior; usually filling the battery to capacity and then switching to a trickle current to maintain the highest charge possible. This offered the highest usage time in the short-term, but was damaging the battery over the course of ownership. As explained at Battery University, "The time at which the battery stays at [maximum charge] should be as short as possible. Prolonged high voltage promotes corrosion, especially at elevated temperatures."[1]
This is why many new phones will "lose" up to 10% within a few minutes of coming off the charger. The reality is that the battery was only at 100% capacity for a brief moment, after which the battery management system allowed it to slowly dip down to around 90%. Leaving the phone plugged in overnight does not make a difference: the phone only uses the wall current to maintain a partial charge state.
To monitor this, I installed CurrentWidget on my HTC ADR6300 (Droid Incredible), an app that can log how much electric current is being drawn from the battery or received from the charger. Setting it to record log entries every 10 seconds, I have collected a few days worth of data. While many variables are involved (phone hardware, ROM, kernel, etc) and no two devices will perform exactly the same, the trends that I will describe are becoming more common in new phones. This is not just isolated to a single platform or a single manufacturer.
Chart 1 shows system reported battery levels over the course of one night, with the phone plugged in to a charger. Notice that as the battery level approaches 100%, the charging current gradually decreases. After a full charge is reached, wall current is cut completely, with the phone switching back to the battery for all of its power. It isn't until about two hours later that you can see the phone starts receiving wall current again, and even then it is only in brief bursts.
The steep drop in reported battery seen past the 6.5 hour mark shows the phone being unplugged. While the current draw does increase at this point (since the phone is being used), it still cannot account for the reported 6% depletion in 3 minutes. It should also be obvious that maintaining a 100% charge state is impossible given the long spans in which the phone is only operating on battery power.
Using the data from CurrentWidget, however, it is quite easy to project the actual battery state. Starting with the assumption that the first battery percentage reading is accurate, each subsequent point is calculated based on mA draw and time. Chart 2 includes this projection.
Now we can see that the 6% drop after unplugging is simply the battery gauge catching up with reality.
The phone manufacturers essentially have three choices:
1. Use older charging styles which actually maintain a full battery, thereby decreasing its eventual life
2. Use new charging methods and have an accurate battery gauge
3. Use new charging methods and have the inaccurate battery gauge
Option one has clearly fallen out of favor as it prematurely wears devices. Option two, while being honest, would most likely be met with many complaints. After all, how many people want to see their phone draining down to 90% while it is still plugged in? Option three therefore offers an odd compromise. Maybe phone companies think that users will be less likely to worry about a quick drop off the charger than they will worry about a "defective" charger that doesn't keep their phone at 100% while plugged in.
Bump It. Or Should You?
One technique that has gained popularity in the user community is "bump charging." To bump charge a device, turn it off completely, and plug it into a charger. Wait until the indicator light shows a full charge (on the ADR6300, for example, the charging LED changes from amber to green) but do not yet turn the device back on. Instead, disconnect and immediately reconnect the power cord. The device will now accept more charge before saying it is full. This disconnect/reconnect process can be repeated multiple times, each time squeezing just a little bit more into the battery. Does it work?
The following chart plots battery depletion after the device has received a hefty bump charge (6 cycles) and then turned on to use battery power. Note that the system does not show the battery dropping from 100% until well over an hour of unplugged use, at which point it starts to steadily decline. Again, however, it should be obvious that the battery gauge is not syncing up with reality. How could the rate of depletion be increasing over the first 5 hours while the rate of current draw is relatively steady? And why does the projected battery line separate from the reported levels, but then exactly mirror the later rises and falls?
The answer, of course, is that bump charging definitely works. Rather than anchoring our projected values to the first data point of 100%, what happens if we anchor against a later point in the plot?
Aligning the data suggests that a heavy bump charge increases initial capacity by approximately 15%. Note that the only other time that the lines separate in this graph was once again when the phone was put on the charger and topped up to 100%. Just as with the first set of graphs, the phone kept reporting 100% until it was unplugged, dropped rapidly, and again caught up with our projections.
So what does it all mean?
If you absolutely need the highest capacity on a device like this, you will need to bump charge. There are currently people experimenting with "fixes" for this, but I have yet to see one that works. Be warned, however, that repeated bump charging will wear your battery faster and begin to reduce its capacity. If you are a "power user" who will buy a new battery a few months from now anyway, this presumably isn't a concern. If you are an average consumer who uses a device for a few years, I would recommend that you stay away from bump charging. The bottom line is that you don't really "need" to do it unless you are actually depleting your battery to 0% on a regular basis.
If you are someone who can top off your phone on a regular basis, do it. Plug it in when you're at home. Plug it in when you're at your desk. As explained by Battery University, "Several partial discharges with frequent recharges are better for lithium-ion than one deep one. Recharging a partially charged lithium-ion does not cause harm because there is no memory."[2]
Beyond that, the best advice I can offer is to stop paying such close attention to your battery gauge and to just use your phone. Charge it whenever you can, and then stop obsessing over the exact numbers. If you really need more usage time, buy an extended-capacity battery and use it normally.
From my XPERIA X10S v8.2 on JaBKerneL @ 1.15ghz

Inaccurate battery% ALWAYS

Regardless of any calibration method i try, i can never get an accurate battery reading. (Before i continue, ill point out that every app ive used to check my battery health has said "good")
Ive tried calibrating with/without the calibration app. Ive tried just deleting the batterystats via rootexplorer. ive tried calibrating before/after cycling. nothing seems to work.
the reason i know its not working, is because i will calibrate/cycle. lets say ill start a day with 100%. ill unplug my phone, leave for work, and use my phone moderately to feel out the battery drain. then at some point, ill plug it into my charger at work......just now, for example, after three hours of use my phone went from 100%-71%....i went to charge it, and once i plugged it in my percentage display changed from 71% to 63%!!! my percentage will constantly jump up and down throughout the day when i plug/unplug my phone.
anyone else experience this?
PS - its not ROM or kernel, its been happening to me for the last 2-3 months...ive flashed several roms/kernels in that timespan, and have ODINed at least once.
PPS - Ill also add that when i unplug my phone to start my day (after its been charging all night), it will stay at 100% for about 30-45min, at which point it will then start draining on an average of 1%/10min. i feel this may have something to do with it.....does it have something to do with me calibrating at too high of a voltage??
Well as for your inaccurate battery readings, i would suggest that you to odin back to stock and. Leave the phone to charge for 4hours(the time my phone takes to charge from 0-100%)then use the battery calibration app or wipe battery stats via cwm. And as for the draining it might be corrected after you calibrate it.
I know this coz I have experienced this in the past and i'd lose around 1% every 20-25mins now.
Sent from my SGH-T959 using XDA App
stanton93 said:
Well as for your inaccurate battery readings, i would suggest that you to odin back to stock and then use the battery calibration app or wipe battery stats via cwm. And as for the draining it might be corrected after you calibrate it.
I know this coz I have experienced this in the past and i'd lose around 1% every 20-25mins now.
Sent from my SGH-T959 using XDA App
Click to expand...
Click to collapse
please read OP
UPDATE: i just rebooted my phone at 56%....it booted up and it displayed 24%......wtf is this
You said you've ODIN'd like once.... dude, if you aren't going to be cool with suggestions, esp the most obvious ones, not sure what it is you expect from us.
Should I hit thanks? JK
Call T-Mo and tell them and get a new battery.... they WILL give you one.
the best way to calibrate ur phone and its worked perfect for me. Charge it to 100% and then unplug it and as soon as unplug it go to sgs tools and run apply script and inside apply script there is delete battery stats. Click on that and it will take less then 10 sec and ur battery will be running great. Now this works great on my phone i hope it works on urs nicely.
At your PPS: This is completely normal and expected battery behaviour. It SHOULD happen. Here is why
http://phandroid.com/2010/12/25/you...is-lying-to-you-and-its-not-such-a-bad-thing/
Please read this article fully to understand why it happens and why it SHOULD happen. As for your plug/unplug deviations...I have seen those but it has rarely been more than 2-3% difference which is around the normal range. It sounds like a bad calibration issue to me but then again I can't be sure, especially if you said you have done a calibration correctly. You can try a new battery like the poster above me suggests.
s15274n said:
You said you've ODIN'd like once.... dude, if you aren't going to be cool with suggestions, esp the most obvious ones, not sure what it is you expect from us.
Should I hit thanks? JK
Call T-Mo and tell them and get a new battery.... they WILL give you one.
Click to expand...
Click to collapse
So if i clearly state in the OP that it was happening to me before and after ive ODINed, and someone says you should ODIN...thats not a lazy suggestion?
or if someone says to try calibrating, when I stated several times in the OP that ive tried multiple calibration methods...thats not a lazy suggestion?
What i expect is if ive pointed out that ive already taken troubleshooting steps, then dont suggest those troubleshooting steps. no one is forcing a response, so if you dont know, simply dont answer. dont just read the title, skim the post, and give programmed suggestions.
theres absolutely nothing wrong with trying to seek out answers other than the conventional ones. ODIN and reflash are the laziest responses......granted, they will often fix problems, but there may be other ways to solve certain issues.
The goal of my OP was to see if anyone else had experienced it, and if someone responded affirmatively, i would ask them about their calibration methods and we could brainstorm. I would much rather seek out problem-solving knowledge before resorting to ODIN/reflash/new battery/new device...which teach nothing.
movieaddict said:
the best way to calibrate ur phone and its worked perfect for me. Charge it to 100% and then unplug it and as soon as unplug it go to sgs tools and run apply script and inside apply script there is delete battery stats. Click on that and it will take less then 10 sec and ur battery will be running great. Now this works great on my phone i hope it works on urs nicely.
Click to expand...
Click to collapse
This is typically the method i use. i usually let it charge for an hour or so beyond when it reaches 100%, just to ensure i have a full charge. this has not worked for me. i also take it a step further and let my phone discharge all the way until it dies, let it charge overnight when powered off, then ill wipe the battery stats first thing when i wake up.
}{Alienz}{ said:
At your PPS: This is completely normal and expected battery behaviour. It SHOULD happen. Here is why
http://phandroid.com/2010/12/25/you...is-lying-to-you-and-its-not-such-a-bad-thing/
Please read this article fully to understand why it happens and why it SHOULD happen. As for your plug/unplug deviations...I have seen those but it has rarely been more than 2-3% difference which is around the normal range. It sounds like a bad calibration issue to me but then again I can't be sure, especially if you said you have done a calibration correctly. You can try a new battery like the poster above me suggests.
Click to expand...
Click to collapse
i will definitely read this...this is something ive always been very curious about
}{Alienz}{ said:
At your PPS: This is completely normal and expected battery behaviour. It SHOULD happen. Here is why
http://phandroid.com/2010/12/25/you...is-lying-to-you-and-its-not-such-a-bad-thing/
Please read this article fully to understand why it happens and why it SHOULD happen. As for your plug/unplug deviations...I have seen those but it has rarely been more than 2-3% difference which is around the normal range. It sounds like a bad calibration issue to me but then again I can't be sure, especially if you said you have done a calibration correctly. You can try a new battery like the poster above me suggests.
Click to expand...
Click to collapse
this was an extremely informative read. it doesnt shed light on all of my problems...but it definitely explains the longer battery life upon unplugging in the morning. my only question is how am i getting that extra juice when im not actually "bump charging"...i just plug it in when i go to bed, and unplug it when i wake up.....maybe my phone doesnt stop sucking in a charge the moment it hits 100%?
i agree with what he says about not paying too much attention to your battery.....but when its bouncing up and down by 20% increments, thats cause for concern haha. im going to calibrate one more time tonight, and i i get similar results i will swap batteries with another vibrant user.
do you guys suggest deep cycling, before or after wiping battery stats? (or should i just wipe stats at a full charge, and not deep cycle at all) >>> there seems to be different opinions on deep cycling throughout XDA
I have had a similar issue. After flashing Roms, plyugging and unplugging it was jumping by a good 10-15%. This turned out to be a simple bad calibration. Normal jumping should be up to 2%, more than that usually indicates bad calibration. Granted, normally nowdays, mine does not jump at all.
I recommend cycling it fully empty. That means, go ahead and drain to 0. Then let it shut off. Then turn it on again. Keep turning it on till it STOPs being able to turn on. Then charge it completely. Don't charge overnight as that will charge to 90-95% as the article suggested. Charge it while you're awake so you see when it hits 100%. It's even preffered if you charged it while the phone is off. After it hits 100%, give it another hour on the charger. You can even bump charge to ensure it hits full charge. To bump charge, after it's full, disconnect and reconnect the charger every 20 minutes for that last hour you're charging. Then unplug it, boot into recovery using the 3 buttons. Wipe the battery stats from there. Boot normally into your ROM. See if it is still jumping by 20%. Worst case scenario should be a 5% jump. Let us know what happens.
^ See, there is my confusion... there is a great example of how to calibrate, but the OP seems to get in a tiffy for offering up a suggestion he has done (calibrating). I'd also be cautious about the bump charging as that will really hurt the battery. I'm not one to try and get something for free, but why not just get a new battery?
s15274n said:
^ See, there is my confusion... there is a great example of how to calibrate, but the OP seems to get in a tiffy for offering up a suggestion he has done (calibrating). I'd also be cautious about the bump charging as that will really hurt the battery. I'm not one to try and get something for free, but why not just get a new battery?
Click to expand...
Click to collapse
I support the new battery notion too. It's FREE.
Drain your phone til its dead.... charge it up full.... run a battery calibration app on the market and let it die fully again then charge to 100 percent one last time... good to go!
You might even try using a differnet battery
TopShelf10 said:
Regardless of any calibration method i try, i can never get an accurate battery reading. (Before i continue, ill point out that every app ive used to check my battery health has said "good")
Ive tried calibrating with/without the calibration app. Ive tried just deleting the batterystats via rootexplorer. ive tried calibrating before/after cycling. nothing seems to work.
the reason i know its not working, is because i will calibrate/cycle. lets say ill start a day with 100%. ill unplug my phone, leave for work, and use my phone moderately to feel out the battery drain. then at some point, ill plug it into my charger at work......just now, for example, after three hours of use my phone went from 100%-71%....i went to charge it, and once i plugged it in my percentage display changed from 71% to 63%!!! my percentage will constantly jump up and down throughout the day when i plug/unplug my phone.
anyone else experience this?
Topshelf, I have run into these problems, There are a couple of things that cause the battery to be wonky.
1st Samsung has the battery set not to 100% but actually less (95-98%) so when it is charged and reads 100% as soon as you unplug you get a immediate reading of 95-98% (nice huh?)
The dev/mods, and others have tried to rectify this. No one has found an exact fix for this. On thing I have found that does help is to charge to 100% then unplug and then plug into the computer and recharge back to 100% (the lower milliamp off the computer seems to allow you to get to a higher percentage). Then calibrate. Now when you do that the battery calibration/battery widget/and phone All will read more close (for me +/-3%). This is one of the issues you raised.
The other is the battery drain, with some of the custom roms the gallery seems to one of the culprits, mms sometimes stays on with others and some others that are in TSR but instead of being asleep they are taking resources.
I have used systems panel to trouble shoot and that has helped me. I think you may want to ask Explodingboy70, Roman or whitehawkx, they know more on this and maybe can help.
Hope you get it solved......... stay with it you will........... I did.........
PS the mv setting for the battery is supposed to be 4200mv mine never gets above 4196mv
Click to expand...
Click to collapse

battery caliberation

hi
is it required to battery caliberate after flashing new rom?
and when ever i reboot my system either battery jumps from 10% to 30 or more
or becomes less than 10%..
if i should then which app should i use?
any guidnace
plz
TY
No such thing. After you flash a new rom, charge the phone to 100%, turn it off, remove the battery for 30 seconds, replace the battery, turn phone on, enjoy.
Anyone selling you the whole calibration thing is selling you voodoo.
hi
thanks for your reply
plz suggest me best battery app with battery saving feature , suggestion on what we can do with remaining battery , expected full time charge , complete graph or battery usage history by apps?
paid or free , tell me best one
thank you
There's lots of battery apps on Google Play, there's no such thing as the best one, go have a look under the Tools section in Apps (you'll also find some under productivity). Stay away from apps like Juice Defender that claim to save you battery by doing things automatically which you can do yourself in two seconds, these have been proven time & again on XDA to use more juice than they save.
ivl try battery monitor
thank you
No probs ;-)
MistahBungle said:
No such thing. After you flash a new rom, charge the phone to 100%, turn it off, remove the battery for 30 seconds, replace the battery, turn phone on, enjoy.
Anyone selling you the whole calibration thing is selling you voodoo.
Click to expand...
Click to collapse
Wouldn't that procedure above be considered calibrating the battery? LOL. J/K. Couldn't resist .
Sent from my SAMSUNG-SGH-I727 using Tapatalk 2
@up
actually it cannot. this way you only help the system in your phone recognize full capacity of battery (which is not even full because not one battery works at it's full capacity - but it's fullest you will get at this point of your battery life). when it's about calibrating - listen to MistahBungle - it's all voodoo. you cannot calibrate li-ion battery unless you kill it and then revive. by killing it I don't mean depleting it in your phone, because even when phone shows the battery is fully depleted it's really not - there is still some juice in it. you'd have to use e.g. special charger which can drawn juice out of battery and make it really empty. only then your battery is dead and useless. you may revive it by applying cca. 5V but actually it not always works. so you cannot calibrate your battery in home environment.
what you can do is "re-calibrating" so called fuel gauge (description under links given below) and you may also help your system recognize the real state of your battery charge. sometimes it happens that systems readings are wrong and battery is on 85% but system is reading it as 50 or 100%. to help it read battery chip correctly you do the thing MistahBungle so helpfully described. sometimes you even don't have to do it but wait 2-3 charging cycles and system will adjust it's reading itself. by charging cycles I mean charging like from 20-100%. why not from 0%? because even if it's not a real depletion state, li-ion batteries doesn't like the state of being discharged too much.
more on this and lot of other helpfull information you will find here:
http://batteryuniversity.com/learn/article/how_to_prolong_lithium_based_batteries
http://www.androidpolice.com/2010/1...bump-charging-and-inconsistent-battery-drain/
gaeilge said:
@up
actually it cannot. this way you only help the system in your phone recognize full capacity of battery (which is not even full because not one battery works at it's full capacity - but it's fullest you will get at this point of your battery life). when it's about calibrating - listen to MistahBungle - it's all voodoo. you cannot calibrate li-ion battery unless you kill it and then revive. by killing it I don't mean depleting it in your phone, because even when phone shows the battery is fully depleted it's really not - there is still some juice in it. you'd have to use e.g. special charger which can drawn juice out of battery and make it really empty. only then your battery is dead and useless. you may revive it by applying cca. 5V but actually it not always works. so you cannot calibrate your battery in home environment.
what you can do is "re-calibrating" so called fuel gauge (description under links given below) and you may also help your system recognize the real state of your battery charge. sometimes it happens that systems readings are wrong and battery is on 85% but system is reading it as 50 or 100%. to help it read battery chip correctly you do the thing MistahBungle so helpfully described. sometimes you even don't have to do it but wait 2-3 charging cycles and system will adjust it's reading itself. by charging cycles I mean charging like from 20-100%. why not from 0%? because even if it's not a real depletion state, li-ion batteries doesn't like the state of being discharged too much.
more on this and lot of other helpfull information you will find here:
http://batteryuniversity.com/learn/article/how_to_prolong_lithium_based_batteries
http://www.androidpolice.com/2010/1...bump-charging-and-inconsistent-battery-drain/
Click to expand...
Click to collapse
read that ..
thank you
and is there any way to stop auto startups of apps?i have around 200apps and most of them i use around once a day or not even once
i use android assistant to manage startup but it does on boot and after some time if i check running apps most of apps will be there running
is there any app to block it running automatically? not just at startup ? full control like anything?
thank you
actually I cannot help with that. I don't use such a software and really don't believe in it. but, the fact is that I do not use so many apps. other fact is that surely there is some useful software that could help you with that task, i just do not use one and personally I'm not interested in it. I know that perhaps the best method is to freeze them with titanium but if you use these apps from time to time then it would become complicated and not worth the effort.
still I have few questions:
why would you like to stop them from working? do they drain your battery? if so then check your logs with bbs and find out which ones are draining, try to change their setting or get rid of them, or at least close only these ones. long time ago I was fighting with some apps that I do not use often and they start themselves from time to time. I didn't want to get rid of them, so before every night I was killing them one-by-one from applications menu (actually most of them didn't wake up until I ran them myself). finally, after many tests I got to the point that it doesn't make any difference. apps I was killing, even if running, didn't use any recourses, didn't produce wakelocks, they were just using some RAM. and if it is the reason of your concern then do not be worried - they may use as much RAM as they want - android will free RAM when it will need it.
now I do not kill any apps and by night I lose 0-2% of battery which is my only concern - what should we care more? CPU, RAM - let it work as long as it doesn't stop us from enjoying our phone and make a usage of it uncomfortable.
and if you're worried about packet data then you may limit it for each app using system menu in ICS.
ancilary said:
read that ..
thank you
and is there any way to stop auto startups of apps?i have around 200apps and most of them i use around once a day or not even once
i use android assistant to manage startup but it does on boot and after some time if i check running apps most of apps will be there running
is there any app to block it running automatically? not just at startup ? full control like anything?
thank you
Click to expand...
Click to collapse
Thanks dude. I also have the similar problem. I have spent months on it without any improvement. Now I'm quite frustrated and not optimistic on the solution you have provided towards my issue, but your decription gives me a lot of clue.
But my problem is even more tricky, I would like to share it here so see if anyone have met it before, or if I need to start a new thread to deal with it:
The problem can be generally decribed as below:
1. When the battery is fully charged, unplug and consume the juice until the level reach around 30%, then the phone is shut down automatically; after I plugin the power and restart the phone, the battery level is displayed as 0%;
2. After charging for a while from 0% , restart the phone and you will see the battery level directly goes back to 50%, but still with very low voltage;
3. Changing with a new battery won't solve the issue -- though the new battery itself may also have problem(not sure if it is genuine), but I don't think a fake battery and an old battery should behave almost the same, so I don't think it is the battery's problem; criticize if I'm wrong
4. Re-flashing a new rom won't solve the issue either. I have tried different CM9 nightlies and now I'm using CM10 nightlies, none of them is immune to the problem;
5. Clear the battery state won't solve the problem. It is hard to say whether it improves the situation at least a tiny bit. I mean it may work somehow, e.g. My phone used to be shut down at 50% battery level and now it can last to 36%. But it never totally solve the problem once and for all, so I still don't trust this caliberation thing may work.
I hope I have clearly stated my issue. I'm so at the end of my patience, this little bastard have been always torturing me You guys are the last I can count on I really hope I came here earlier so as not to have wasted so much time.

ZeroLemon Fuel Gauge Fix Samsung Galaxy Note 4 [BETA]

First Beta Release on Lollipop BioShock
Alright guys, I have shaped this mod up to the best of my abilities and I present to you the Bravo version of it. I will get other kernel versions of this mod out but in the mean time I am sticking with the Original work space one based off of the Lollipop BioShock 3.10.40. I know this is the older version, but I will mass update ALL the kernels really soon. Basically everything (even the app) are enclosed into 1 ZIP file so all you have to do is flash the Kernel and you are ready to go. A couple of things I would like to get out there:
1. You should have a Fully charged ZL Battery. I wouldn't say before flashing this as you can re-calibrate the app, but I would recommend that you do so to avoid any confusion.
2. When you charge the battery with this mod, yes the percentage does charge fast and it will most likely show 100% BEFORE the battery reaches 100%. There is a issue with the current/mA flow readings IN the app and that will be fixed in the near future. Please understand that TRUE 100% is when the phone says "Fully Charged 100%, Unplug Charger" not when the Fuel gauge (next to the clock) says 100%.
3. Some people ask "Will the app Accurately calculate the battery to avoid shutting down at lets say 15% or still running 1% for days like normal"? And the answer to that is most likely Yes, and Possibly no. I say yes to the first part because you can put in the different drain values of each component in the Note 4 so that the app can detect the draining and calculate accordingly. Now, I will warn you that I have never used this mod to do a full complete drain. So I will say I wouldn't recommend letting the battery go all the way down to 15% (just as a safety net if you plan on going out, etc) in-case the battery does hit 3.4 volts which is the Note 4's 0% Shutdown target. And the 1% mod is almost unlikely.
4. Finally, I have received your messages and Emotion Kernel seems to be the popular Kernel at this time (I will be using it in the coming days also) so I will get to that next once I get the source code loaded. (KitKat users, you are not forgotten) I will also be posting the Kernel files so that Kernel devs can make different variants once I hear from you guys on how this mod is working. To me, I think its great. From the way it was before I can say its a Improvement from the drain calculation side. The charging side needs work, but hey, you hardly have to charge the dang thing anyways lol.
Now to the Installation
Of course, I would recommend that you do a backup of course and that you have a backup kernel with you. Basically, if you can use this kernel http://forum.xda-developers.com/note...-2014-t2962744 It should work.
Once you have flashed the file below "BioShock_N910T_TW_LP_Extended_Battery_Mod_OFFICIA L_BRAVO.zip", you should also wipe delvik and cache just to make sure everything goes smoothly. If the mod was successfully installed, your battery level should read "101%". It will read 101% every time you reboot just to keep things clean and then go back to the App's fuel gauge level 1 minute after boot.
If it shows 101%, go into your Apps and you should see a App called "Fuel Gauge Extended..." Open that app up and wait about 3-5 seconds for everything to populate (Done to keep battery usage down). Make sure to check Start on Boot if you want the service to start with the phone (which I think EVERYONE should do) and then tap start monitor. You might get a SuperSU permission screen which you want to grant permissions to. Once you see the Status saying "Running" go down to the debug area to the "Patch Status" string and it should report "ok/[success]]" and your real battery gauge should read whatever the Software Status says.
This app also doesn't have the on screen dedicated 3-dot menu buttons so you have to go old fashioned and how down the left menu soft-key for a second until a menu pops up at the bottom which shoes Start Full Charge, Set full battery, and configuration. This is where you can calibrate your battery so that once you fully charged your battery, you go into the app and select "Set full battery" to set the app and battery capacity to 100%. Please note that this will take anywhere from 30 seconds to 1 minute to update the battery meter globally. You don't want to press either one of these when you already have calibrated the battery before and you are at half a charge as you will lose your capacity remaining level and accuracy until you fully charge again.
Under configuration, you can make the app calibrate to 100% every time your phone displays "Fully charged, disconnect charger". You can also disable the notification under Notification Icon.
Hardware current is where you can change the different consumption values of each component. I wouldn't mess around here too much as you could create a imbalance within the app calculations.
And basically that's pretty much it. IF and SHOULD you have any problems, just reply here or shoot me a PM and I will help you to the best of my abilities.
Thank you guys for your patience and I hope you enjoy this beta mod.
About the values that you input, this would lead to inconsistencies wouldn't it? Like how would we be able to know the exact values? Is it possible to use the values in the Fuel Gage chip?
e.g. It still says there is charge in the battery, but there is none, and the phone just switches off in the middle of use?
jayden485 said:
About the values that you input, this would lead to inconsistencies wouldn't it? Like how would we be able to know the exact values? Is it possible to use the values in the Fuel Gage chip?
e.g. It still says there is charge in the battery, but there is none, and the phone just switches off in the middle of use?
Click to expand...
Click to collapse
While this maybe true, you also have to take into consideration that the battery already does this without this mod when it stays at 1% for extended periods of time. Also, there is a file in the framework-res.apk that has all the power profiles of each component in its mAH values. But I am pretty sure with this mod, I wouldn't think you would drain the battery all the way to 2 or 5% expecting to go another day or to go to work with it. When you get down to 5%, the screen dims automatically so that alone would force people to charge the phone. But that is a good question. Now the ONLY Time the percent values would be off is when you use the phone in recovery mode for extended periods of time or when you charge the phone when the phone is off, you have to go into the app and reset to 100%. I am working on a code which makes the percent automatically go to 100% when voltages hit fully charged.
7 Hours off battery.
Sent from my SM-N910T using XDA Free mobile app
TheLoneWolf20 said:
While this maybe true, you also have to take into consideration that the battery already does this without this mod when it stays at 1% for extended periods of time. Also, there is a file in the framework-res.apk that has all the power profiles of each component in its mAH values. But I am pretty sure with this mod, I wouldn't think you would drain the battery all the way to 2 or 5% expecting to go another day or to go to work with it. When you get down to 5%, the screen dims automatically so that alone would force people to charge the phone. But that is a good question.
Click to expand...
Click to collapse
So we don't have to find values? Is that how the Fuel Gage chip does it? How confident are you in how accurate this will be?
jayden485 said:
So we don't have to find values? Is that how the Fuel Gage chip does it? How confident are you in how accurate this will be?
Click to expand...
Click to collapse
The fuel chip uses voltage levels as well as values stored in the kernel to come up with a near accurate reading. What I can do is put the stock battery in and set the app to the stock capacity and see if the app capacity matches up with the Fuel gauge capacity. But I am pretty confident that it will be accurate. Again, even if we get to 5 or 3% battery before shut down, its MUCH better than getting to 1% and still have 55% battery left. And that can be fixed.
The app can tell the different brightness levels from 0 to 255, Rather bluetooth, wifi, gps is on or off, talking on phone, etc. and it auto adjusts accordingly.
Sent from my SM-N910T using XDA Free mobile app
Now we are cooking with gasoline
It couldn't be any worse than not doing anything so.
Sent from my SM-N910T using XDA Free mobile app
following this thread to see results, as my zerolemon is yet to arrive later this month so can't really test anything
Warnahly said:
following this thread to see results, as my zerolemon is yet to arrive later this month so can't really test anything
Click to expand...
Click to collapse
Alright no problem. I didn't release anything yet until I make sure everything is super stable.
I'm waiting for the release
I had to delay releasing the beta because I found a major issue with the current polling fix which shut down charging prematurely because it didn't poll any Temperature and Voltage levels form the Thermistors. But I have found the string I was looking for all along and I will begin going the back door way. Once I can get that done, I will have no problem releasing the beta for testing. Before I officially post it on here, I want to give it to a select people first to let them try it out and report back to me any issues they encounter so if you are interested in Testing it, please send me a PM. I have a couple of people already down. ALSO, Please put down what kernel you are using, The Source Code link of the kernel and the Variant of your Note 4. I am working with the BioShock Kernel right now and I am planning to do a Emotion version as well. For those who are on AOSP or AOKP kernels / ROMS shoot me a PM and I can see what I can do. Once again, I want to thank you guys for your continued patience.
One more thing, It also helps to charge your ZL Battery all the way to 100%
Congrats! Persistence pays off.
Emotion kernel for me
I finally got the polling redirected so that the phone still reads the Temp, Voltage, Current, and other values which makes sure that the battery remains safe. Only the calculated capacity from the App will go through the system. I could release it right now, but I want to fix one more value before it passes me.
Running more test before I pass it on to some of you guys for your testing. I have the Temperature, Current and Voltage sensors working now I just need to make the current percent value stick with the file so when I do a restart, it doesn't jump up.
Sent from my SM-N910T using XDA Free mobile app
First Beta Release on Lollipop BioShock
Alright guys, I have shaped this mod up to the best of my abilities and I present to you the Bravo version of it. I will get other kernel versions of this mod out but in the mean time I am sticking with the Original work space one based off of the Lollipop BioShock 3.10.40. I know this is the older version, but I will mass update ALL the kernels really soon. Basically everything (even the app) are enclosed into 1 ZIP file so all you have to do is flash the Kernel and you are ready to go. A couple of things I would like to get out there:
1. You should have a Fully charged ZL Battery. I wouldn't say before flashing this as you can re-calibrate the app, but I would recommend that you do so to avoid any confusion.
2. When you charge the battery with this mod, yes the percentage does charge fast and it will most likely show 100% BEFORE the battery reaches 100%. There is a issue with the current/mA flow readings IN the app and that will be fixed in the near future. Please understand that TRUE 100% is when the phone says "Fully Charged 100%, Unplug Charger" not when the Fuel gauge (next to the clock) says 100%.
3. Some people ask "Will the app Accurately calculate the battery to avoid shutting down at lets say 15% or still running 1% for days like normal"? And the answer to that is most likely Yes, and Possibly no. I say yes to the first part because you can put in the different drain values of each component in the Note 4 so that the app can detect the draining and calculate accordingly. Now, I will warn you that I have never used this mod to do a full complete drain. So I will say I wouldn't recommend letting the battery go all the way down to 15% (just as a safety net if you plan on going out, etc) in-case the battery does hit 3.4 volts which is the Note 4's 0% Shutdown target. And the 1% mod is almost unlikely.
4. Finally, I have received your messages and Emotion Kernel seems to be the popular Kernel at this time (I will be using it in the coming days also) so I will get to that next once I get the source code loaded. (KitKat users, you are not forgotten) I will also be posting the Kernel files so that Kernel devs can make different variants once I hear from you guys on how this mod is working. To me, I think its great. From the way it was before I can say its a Improvement from the drain calculation side. The charging side needs work, but hey, you hardly have to charge the dang thing anyways lol.
Now to the Installation
Of course, I would recommend that you do a backup of course and that you have a backup kernel with you. Basically, if you can use this kernel http://forum.xda-developers.com/not...pment/kernel-bioshock-1-5-dec-4-2014-t2962744 It should work.
Once you have flashed the file below "BioShock_N910T_TW_LP_Extended_Battery_Mod_OFFICIAL_BRAVO.zip", you should also wipe delvik and cache just to make sure everything goes smoothly. If the mod was successfully installed, your battery level should read "101%". It will read 101% every time you reboot just to keep things clean and then go back to the App's fuel gauge level 1 minute after boot.
If it shows 101%, go into your Apps and you should see a App called "Fuel Gauge Extended..." Open that app up and wait about 3-5 seconds for everything to populate (Done to keep battery usage down). Make sure to check Start on Boot if you want the service to start with the phone (which I think EVERYONE should do) and then tap start monitor. You might get a SuperSU permission screen which you want to grant permissions to. Once you see the Status saying "Running" go down to the debug area to the "Patch Status" string and it should report "ok/[success]]" and your real battery gauge should read whatever the Software Status says.
This app also doesn't have the on screen dedicated 3-dot menu buttons so you have to go old fashioned and how down the left menu soft-key for a second until a menu pops up at the bottom which shoes Start Full Charge, Set full battery, and configuration. This is where you can calibrate your battery so that once you fully charged your battery, you go into the app and select "Set full battery" to set the app and battery capacity to 100%. Please note that this will take anywhere from 30 seconds to 1 minute to update the battery meter globally. You don't want to press either one of these when you already have calibrated the battery before and you are at half a charge as you will lose your capacity remaining level and accuracy until you fully charge again.
Under configuration, you can make the app calibrate to 100% every time your phone displays "Fully charged, disconnect charger". You can also disable the notification under Notification Icon.
Hardware current is where you can change the different consumption values of each component. I wouldn't mess around here too much as you could create a imbalance within the app calculations.
And basically that's pretty much it. IF and SHOULD you have any problems, just reply here or shoot me a PM and I will help you to the best of my abilities.
Thank you guys for your patience and I hope you enjoy this beta mod.
Awesome work man, I look forward to using this. On lollipop it seems my zL runs about a 15% battery difference from actual to estimated. This would be of great help.
:good::good:
JDevil said:
Awesome work man, I look forward to using this. On lollipop it seems my zL runs about a 15% battery difference from actual to estimated. This would be of great help.
:good::good:
Click to expand...
Click to collapse
No problem, I am happy it is working for you.
TheLoneWolf20 said:
No problem, I am happy it is working for you.
Click to expand...
Click to collapse
Ah, I have yet to test the mod. Have to do a backup first because I'm not too sure bioshock will run Verizon without complications. I haven't tried any other kernels running Jasminerom with kexec.

How To Guide How to limit charging on Pixel 6

With credit to VR-25 from Github:
If you edit these files and put you own values in then your phone will start charging when it drops below 75% and stop when it gets to 80%. (put your own values in, etc.)
I have only tested it briefly but it seems to work for AC and USB charging for me so far. No other apps or tweaks needed.
/sys/devices/platform/google,charger/charge_start_level:75
/sys/devices/platform/google,charger/charge_stop_level:80
EDIT: You need to be rooted to do this, and you need to reapply the settings after reboot.
I have a Tasker action that does this automatically 5 minutes after rebooting.
If only there was a way to use that without root :-S
What would be the purpose for this.
I always charged to a 100% and never had issues on my devices.
I use the adaptive charging overnight and think that will help with battery life.
vandyman said:
What would be the purpose for this.
I always charged to a 100% and never had issues on my devices.
Click to expand...
Click to collapse
If you do some reading you will see that charging over 80% and draining under 20% will significantly shorten the lifespan of your battery. This is important for those of us that have devices not sold in our country so getting replacement batteries would be very difficult and expensive. I have phones that are more than 9 years old and still going fine if charged like this.
Galaxea said:
If you do some reading you will see that charging over 80% and draining under 20% will significantly shorten the lifespan of your battery. This is important for those of us that have devices not sold in our country so getting replacement batteries would be very difficult and expensive. I have phones that are more than 9 years old and still going fine if charged like this.
Click to expand...
Click to collapse
If you would have read the correct information on this subject. You would know that this not true for today's battery technology.
This is nothing but a myth.
You will have a better chance looking for Bigfoot.
Why waste 40% of your battery use....
vandyman said:
If you would have read the correct information on this subject. You would know that this not true for today's battery technology.
This is nothing but a myth.
You will have a better chance looking for Bigfoot.
Why waste 40% of your battery use....
Click to expand...
Click to collapse
On the contrary. The most recent phones attempt to limit the time that they spend at 100% exactly because it's so bad for battery longevity. Having options like the OP's approach just gives users more flexibility, should they want more control than, in this case, Google's adaptive/AI approach.
And it's not 'wasting' 40% of the battery. Keeping between 80% and 20% just optimizes battery service life during those days you only actually only need 60% of it's possible capacity. When working from home that's often the case for me. I actually tend to use ~30% of the battery in a day. Better to charge it up daily to about 70% than all the way to 100% and let it go down to 10% over 3 days. If it's easy to do, why not?
Not quite the same, but EV design also has their batteries normally operating in the middle range so as not to compromise their service life...
Definitely not myth. The only myth is that lithium cells exhibit a memory effect and need to be deep discharged and fully recharged periodically to maintain their capacity. It's actually bad for them to do this! The only reason to do this would be in an attempt to recalibrate the software for the battery level gauge (at the cost of a little damage to the battery each time you do that).
vandyman said:
What would be the purpose for this.
I always charged to a 100% and never had issues on my devices.
Click to expand...
Click to collapse
Most folk don't notice reduction in battery capacity until it becomes severe. For example, a friend claimed it wasn't a problem charging his iPhone to 100% ritually. When he checked the OS, it said his battery capacity was 80% of what it was when new. He said he hadn't noticed it affect how long the phone lasted.
If your usage is such that you can predict how much capacity you need, you can choose to charge to 100% only those times you will actually need that capacity. Other times you can look after the battery so it's able to actually give near on 100% for longer, those times it's important to you.
Others who keep their phones a short time or are comfortable with the cost & inconvenience of a battery replacement, or simply don't care, don't have to worry....
WibblyW said:
On the contrary. The most recent phones attempt to limit the time that they spend at 100% exactly because it's so bad for battery longevity. Having options like the OP's approach just gives users more flexibility, should they want more control than, in this case, Google's adaptive/AI approach.
And it's not 'wasting' 40% of the battery. Keeping between 80% and 20% just optimizes battery service life during those days you only actually only need 60% of it's possible capacity. When working from home that's often the case for me. I actually tend to use ~30% of the battery in a day. Better to charge it up daily to about 70% than all the way to 100% and let it go down to 10% over 3 days. If it's easy to do, why not?
Not quite the same, but EV design also has their batteries normally operating in the middle range so as not to compromise their service life...
Definitely not myth. The only myth is that lithium cells exhibit a memory effect and need to be deep discharged and fully recharged periodically to maintain their capacity. It's actually bad for them to do this! The only reason to do this would be in an attempt to recalibrate the software for the battery level gauge (at the cost of a little damage to the battery each time you do that).
Click to expand...
Click to collapse
This all maybe good if you are planning on keeping your device for a few years.
Most people buy a new device every other year. If not once a year.
... and if you really want to knacker the battery, heat it up too!
Worst case scenario - using a sat nav app on your phone in the car on a hot day with the phone plugged into a car adaptor. It's going to be sitting there at elevated temperatures, possibly with the sun shining on it, whilst being kept at 100% battery....
I'm only a customer (and have no other affiliation) and like to tinker, so I got one of these for use in the car to limit temperature when charging and limit max charge. Not cheap, but ok compared with the cost of the phone https://chargie.org/
I'm sorry, but at the snails pace this phone charges I'd be very surprised if charging it to 100% every night will make any noticeable difference in the long run. I had a Xiaomi Mi10 Ultra with 120W fast charger. That phone used to charge from 0% to full in like 20 minutes. Now that's one way to quickly kill your battery.
The Pixel uses your alarm to adaptively charge the battery so it should never overcharge it anyway. I'd much rather us all of my battery than use it only between 20 and 80% just for it to last a little longer.
The files are overwritten on reboot so I created a Tasker task to write the values on reboot each time.
Biggenz said:
I'm sorry, but at the snails pace this phone charges I'd be very surprised if charging it to 100% every night will make any noticeable difference in the long run.
Click to expand...
Click to collapse
On what basis? All the research and tests are based on charge level not charge rate. Fast charging potentially just makes it worse...
But at the end of the day it's your phone. You'll charge it in whatever way works for you.
I feel like this post sort of misses the point. It clearly is aimed at those intending to keep their phones >1yr, it is stated explicitly.
I'm not rooted right now, so I've been using the AccuBattery app. One of the things it does it gives a notification every few minutes when the battery is at 80% or above so that you can physically unplug the phone from the charger. Obviously having this done automatically would be better, but I've been surprised at how well the notifications have worked in my case. Plus, I can always leave the phone plugged in if I know I need a full battery for some reason (ie a long day away from any charging source).
Galaxea said:
With credit to VR-25 from Github:
If you edit these files and put you own values in then your phone will start charging when it drops below 75% and stop when it gets to 80%. (put your own values in, etc.)
I have only tested it briefly but it seems to work for AC and USB charging for me so far. No other apps or tweaks needed.
/sys/devices/platform/google,charger/charge_start_level:75
/sys/devices/platform/google,charger/charge_stop_level:80
Click to expand...
Click to collapse
Dumb question but what did you use to write values into those files? Did you use a text editor (with root access) or just termux or something? I tried with the built in MiX text editor but it seems to choke once I open up the file.
Gibsonflyingv said:
Dumb question but what did you use to write values into those files? Did you use a text editor (with root access) or just termux or something? I tried with the built in MiX text editor but it seems to choke once I open up the file.
Click to expand...
Click to collapse
I used FX File Explorer (root option). Look for the #. SYSTEM (Root).
I was wondering if changing the file permissions after writing to them to read-only would make the changes stick, but I am sure the OS could still overwrite them...??
I wonder if there's a similar variable to tweak at what temperature the phone considers the battery is too hot and stops charging?
Galaxea said:
With credit to VR-25 from Github:
If you edit these files and put you own values in then your phone will start charging when it drops below 75% and stop when it gets to 80%. (put your own values in, etc.)
I have only tested it briefly but it seems to work for AC and USB charging for me so far. No other apps or tweaks needed.
/sys/devices/platform/google,charger/charge_start_level:75
/sys/devices/platform/google,charger/charge_stop_level:80
Click to expand...
Click to collapse
Did a bit of testing and it works fine. A few things I noticed:
1. Doesn't survive reboot. Now that I've set up MiX with pinned folders, I can make the change in seconds. Need to sit down and read through the acc documentation because AccA doesn't work. Would love to have an automatic solution. Miss my old Battery Charge Limit.
2. charge_start doesn't seem to matter. After all, if charge_start is set to 75 and the phone is at 70%, it shouldn't charge. But it does. I've kept mine at 0.
3. Point #2 is kinda beside the point, though, because charge_stop will stop at the set value and stay there. No noticeable increase in temperature from what I can see. Definitely less than when charging.
4. Still shows as charging rapidly when it hits the level. Is it rapidly cycling charging on and off? Or in a kind of micro-current state? Or this may be a true battery idle situation where all power is drawn from the adapter. Ampere and AccA just show "not charging".
Edit: With a bit of use today, it does seem to act like a normal min/max charge deal, so I set it at 75 start/76 stop. Not sure what was happening at first...maybe something to do with the adaptive charging since I still have that on. Either, way, no complaints. With my use case working from home, I have it plugged in most of the day and it'll only take me about a minute to change charge_stop to 100 when I'm planning to go out all day somewhere away from chargers. Not ideal, but still a big improvement. Changes my rating of the thing from maybe 3.5 stars to 4.5.

Categories

Resources