[Q] Battery Calibration - LG Optimus 2x

Hi fellow O2x users -
Has anyone else had a go calibrating their O2x battery? Either using marosiges' battery calibration app, or manually removing the batterystats.bin file?
I've done the following calibration cycle:
Charged to full via the wall charger, mV figure was ~4188 mV, which I've read is normal, then removed the batterystats.bin file;
Used the phone till it powered off on its own, mV figure was ~3450 mV, which is higher than normal (~3200)? Or is this normal for the O2x?
Recharged the phone uninterruped back to 100%, mV figure was ~4180 mV, so nothing wrong there again either;
Normal usage/charging of the phone over 4 days, and battery uptime is worse than before calibration. (Uptime was worst immediatly after calibration, and gradually improved, but it never got better than before calibration).
Thinking that someting had gone wrong, I repeated the calibration and observed the same mV figures as above. So far, after another 3 days, battery uptime has not improved beyond the previous calibration, and definitely not to the level of what it was before calibration.
The only things I can think of are:
The O2x requires a higher minimum level of charge to power the dual core chipset and CPUs/GPU;
The O2x has a custom batterystats.bin file to begin with, and allowing the android OS to recreate the file doesn't work.
Does anyone have any insights? I'm running stock Australia 10b ROM, rooted, with some of the bloatware packages disabled. I'm not affected by reboots/BSOD's or lock-ups.
(Marosiges' original thread, [APP] Battery Calibration - EASIEST WAY! - Version 1.2, is in the "Android Development and Hacking" section, which I unfortunately can't post to yet.)
Thanks, this forum rocks!

EVERY android phone/device I have ever owned has this problem. I just don't see what the battery stats file is used for if we just have to keep deleting it. None of my other phones have had this stupid file and they could ALL read the battery percentage just fine and as a side note also lasted longer I had a thought of making the file read only so the phone could not write to it and see if that makes the phone read the battery from the actual battery without miss informing us using the batterstats.bin file ?
Sent from my LG-P990 using Tapatalk

stevvie said:
...they could ALL read the battery percentage just fine and as a side note also lasted longer...
Click to expand...
Click to collapse
That's what I was thinking/wonderng - Li-Ion battery packs have built in circuitry that handles its state, without the need of a software layer.
Although it seems that other android phones are able to discharge to a lower voltage (to ~3200 mV) - i.e. they have more usable capacity? I'm wondering why the O2x goes off at ~3450 mV...and if that's normal.

My best advice is to avoid using stock.
It is too irregular.
If the 3G signal is weak i get constant 3G and GSM hopping which drained the battery in 2h.
But if it was good it lasted way longer.
not sure about the shutdown voltage, i'll give it a shot later
hmm i think mine shuts at 3450 as well maybe even higher, idk
but mine lasts for a day with medium usage.

i tried to look into this earlier and my battery drained to 3350ish before it shut down on me.
i guess that's its limit. i'm running on stock:
BIN_LGP990AT-00-V10b-ESA-XXX-APR-21-2011+0

I'm currently calbrating my battery as I flashed a new ROM, phone was now just shutting off at 3369 mV!
Hopefully battery performance gets better soon!

Deleting batterystats.bin did get me better battery life. But after 6 days I had a huge drain.
Rebooted phone, removed .bin again and it's going ok again....

I'm not particularly wanting to calibrate my battery too frequently - full discharge cycles are bad for the battery.
At 30% charge this morning, my voltage was at 3700 mV. If you use 100 mV as a rough gauge of 10% charge, that would give me ~3400 mV at a 0% charge level.
I guess it's just normal for the O2x battery to be flat at ~3400 mV.
If there are any other O2x users out there who have different voltage figures do make a post. Thanks!

Related

Battery problems

I am going to try and not leave anything out here....
This first started while running Cyan 3.6.8.1 with 1.3 recovery, 26I radio and HardSPL. I was running the overclock widget and I stupidly set the high and low to 528. What this has to do with it, I dont know. Ever since my battery has been very bad and very wierd.
It will drain very quickly. (I have owned my G1 since November so I am aware how short the battery normally lasts) Re Flashed, wiped, tried 1.4 recovery, tried JF's ROMS, older stable Cyan's ROM (3.4.something). During this time I could not hit 100% battery, even after a 15 hour charge. At this point I bought a new stock battery and a 2300mah battery. Even though the 2300 seemed to last a little longer, it still dies within hours.
I got it up to 99% and deleted the batterystats.bin file through the terminal and still nothing. Also, I let the battery run down until the phone shut off a couple times durring this whole ordeal.
It seemed like I had no other choice, but to unroot. I then got the OTA to CRC1. At this point The battery wasn't dropping as quickly and I actually hit 100%!!!!!! Things seemed to be going my way. Over the next day it was great. Then once again it turned for the worst. I once again couldn't hit 100% and now it seems to stop charging at random points... once at 98% then 71% then 63% then in the 70's again.... You get the point. I am using the BatteryLife widget and while watching the extended info totally freaks me out. While I was not charging I watched to mV go from 3808 and 58% battery to 3816 and 52% battery! How can the mV's go up with the phone unplugged?!?! How can the % go down with the mV's going up?!?!?!
Any ideas????? Anything would be greatly appreciated.
Thanks
I think mV is the drain on the battery or the actual volts in the battery. For example, 4000mV may be 4.0V, however in Cyan v3.97 there's a feature in Spare Parts under Battery Info that tells you your battery health.
For example, mine is currently:
State: Charging (AC)
Bat. Level: 54
Battery Scale: 100 <-- Dunno what this is.
Battery Health: Good
Battery Voltage: 4128mV
Battery Temp: 33.3*C
Batt. Tech: Li-Ion
If you get "Battery Health: Bad" well, replace it. Also, with the battery not charging 100%, it could be getting too hot. Maybe pop it in front of a fan or something?
the battery scale is just the scale it uses to determine the battery level. scale of 0 to 100 battery level of 0% to 100%. i do not know why your battery level is depleting at that rate. clocking it to 528/528 will drain battery faster, and when it freezes at a percent try rebooting the phone and see if that corrects what the stats are displaying for the charging percent. it has been documented in other threads that the battery will freeze at a percent but fix its readings upon a reboot
I dont even need to reboot it to "unfreeze" the percent. Just unplug it for 5 minutes and plug it back in. I know clocking to 528/528 will drain it faster, but that was long ago as I am now unrooted trying to fix this. Also, when I say fast, I mean fast. Sometimes it will go from 99% to 50% in about 20 minutes with the phone at idle.

[Q]Battery indicator showing wrong?

The last couple of days I've got a weird problem. When my battery is fully charged everything seems okay and it drains in normal speed (compared to stock).
But when my phone runs out off battery and i start to charge in the beginning everything seems fine.
But suddenly it can go from 75 to 100% in 1 minute.When i look at the stats in MIUI ROM it seems like it's not at same height as it was the last day of 100%. Maybe only 80%.
Sorry for my bad English, but i hope it makes sense.
I've wiped battery stats in CWM. But is it possible that the phone actually is only 80% charged, even though the indicator shows 100% after wipe?
Because if the ROM think the battery is charged and wipe stats it will afterwards only charge to that point and the battery maximum will decrease over days?
If that's possible, how do i full charge the battery? Just leave it in the charger or?
I hope you can understand what I mean.
Thanks in advance
Hello
Does your phone charge to fx 75% and after that doesnt get higher until after you restart the phone?
Sent from my LG-P990 using XDA App
CescMusta said:
Hello
Does your phone charge to fx 75% and after that doesnt get higher until after you restart the phone?
Sent from my LG-P990 using XDA App
Click to expand...
Click to collapse
Yes excactly. But the numbers differs.
Today it charged to 100% though.
Got the same problem?
Sent from my Optimus 2X using XDA App
have you try calibrate your batt again
yes my friend have this problem too, maybe there is software bug
After flashing Celebration HD 2.0.1b I first used Battery Calibration from market to wipe battery stats. Afterwards the battery indicator problems started.
Yesterday i decided to wipe battery stats manually in CWM and drain to phone to 2% before charging, and afterwards I was able to fully charge the phone.
So maybe the bug in is Battery Calibration app?
I decided to install Juice Plotter to monitor the battery and compare it to one build in in MIUI. Just to get some more data.
Hello again
Yes i had the same problem as you, with my previosly 2 lg optimus 2x, and returned them because of the problem you mentioned. I am on the third op2x and luckily this work good
So if i were in your position i would try to go to the dealer and shift the phone with another lg optimus 2x.
Best regards
Sent from my LG-P990 using XDA App
CescMusta said:
So if i were in your position i would try to go to the dealer and shift the phone with another lg optimus 2x.
Click to expand...
Click to collapse
The user said that he started to have problem after a new rom and wiping battery stats, changing phone for that is not the smartest move at all. Is like changing phone because your rom doesn't work.
I have a similar problem, after you wipe battery stats you don't have a reliable indicator, for me the phone took 3 hours to get from 99 to 100%.
I also noticed that my miui ( 1.8.5 same for 1.7.29) doesn't update battery stats when the screen is off so all those plotter don't work, and i think this messes up with the battery indicator (I guess the phone doesn't have enough data to make a decent estimate)
I think is miui + wipe battery stats that can be problematic
I know that but i am just saying that i also had the same problem with the stock rom.
Best regards
Sent from my LG-P990 using XDA App
How old is the battery? How many cycles does it have?
I know from laptop Li-Ion batteries that the voltage vs. capacity is not linear.
When discharging, the voltage will steadily drop to a "wear-level" where it will jump to an almost depleted level. When charging, this "wear-level" will be at the top.
Why I am telling this? Because if this mapping is kept in SW and you wiped it, Android needs to relearn it again. So at 1st complete charging/discharging you would see a % sudden drop/raise, but at the next cycles it would be linear with time (although the total time will be smaller than a new battery).
When laptop/phone battery tips talk about calibration, it is so whoever monitors the voltage (circuit in battery or SW) to know were the wear drop will be, so your estimates to be better.
As an example, I had a very old Thinkpad that did not have any calibration, and it would discharge to about 40% and drop to 5% within seconds. But when charging, it would raise steadily to 70% (from that 5%) but 70% to 95% in seconds. After years of use, that percentage gap would just increase (40-5 got 60-5, 70-5 on discharging).
PS: my current Thinkpad has 4 years and the battery capacity is 49% with 150 cycles. But this one has a nice feature where if the battery was above a certain percentage, plugging AC would not charge it (and thus save a few cycles). I used it set at 70%.
PS: LiIon batteries have cycle count, heat and time as main enemies. Also don't like prolonged (think storage) low charge.
battery on wallcharger screen of error
CenaDK said:
The last couple of days I've got a weird problem. When my battery is fully charged everything seems okay and it drains in normal speed (compared to stock).
But when my phone runs out off battery and i start to charge in the beginning everything seems fine.
But suddenly it can go from 75 to 100% in 1 minute.When i look at the stats in MIUI ROM it seems like it's not at same height as it was the last day of 100%. Maybe only 80%.
Sorry for my bad English, but i hope it makes sense.
I've wiped battery stats in CWM. But is it possible that the phone actually is only 80% charged, even though the indicator shows 100% after wipe?
Because if the ROM think the battery is charged and wipe stats it will afterwards only charge to that point and the battery maximum will decrease over days?
If that's possible, how do i full charge the battery? Just leave it in the charger or?
I hope you can understand what I mean.
Thanks in advance
Click to expand...
Click to collapse
I have when i turn off my fhone and i charge it it shows a battery icon whit an error in it ics lgp990 please help i dont no what tho do

Battery reads 100% after only a few minutes charging

Hi guys, my battery has sarted to read 100% after only a few minutes charging. The only way I know if it's charged 100% is to charge when the phone is off. I was wandering if anyone else has experienced this and knows how to solve it.
Thanks
Sent from my Optimus 2X using Tapatalk
The battery guage isn't the best. I rebooted my phone this morning and it went from 96% to 14%
About a minute later it was back where it should have been.
try to charge with the usb cable. i have this issue only with ac charger.
You could always try the common cure-all, deleting /data/system/batterystats.bin when at 100%, but I doubt it will help.
I also have this problem, it is since nightly 105 or something. Never had it before. I use the original charger, it read 100% after a few minutes of charging. When you unplug the device, it falls back to the real reading. So you never know when it is fully charged. I already deleted the battery stats in cwm, but it did`t help.
Seems like last 20 or so nightlys have battery issues......
Sent from my Optimus 2X using Tapatalk
Updating to nightly 117 seems to resolve the issue, although I don`t know which comment it would have fixed it.
it's ROM issues.. tried few ROM and these kind of bugs happened..
Try changing BaseBand and/or Ril
spica1234 said:
Try changing BaseBand and/or Ril
Click to expand...
Click to collapse
That is bull****.
Sent from my GT-P1000 using Tapatalk
Note on Li-Ion cells / battery stats
Battery life is based on the voltage detected usually on the "3rd pin" which is standard on all Li-Ion packages as regulation. Now smartphone and all electronic devices that use these single (or multiple) Li-Ion cells usually make an estimate on battery life based on the degree of discharge based on the use you make of the device during the day. Having said this, there are 2 possible ways to show battery state of charge:
1) based solely on voltage. Full battery reads 4.2V, dead will be below 3.3-3V depending on vendor. However this means that device on-time is tighly connected to how much apps you run/screen/wifi/3G usage for ex.
2) based on voltage AND usage statistics. Software monitoring will store battery statistics in a file and use them to update the battery guage accordingly so battery charge status reflects more averagely the time you have left based on your daily usage habits and battery freshness.
If you delete the battery satistics file and you still get erratic readings, either there is a software bug in the battery guage integration software readings or you may have a problematic battery cell. The simple way is to swap batteries and see if the problem is gone or not.
Note on Li-Ion cells: the cell's have a limited number of charge-discharge cycles meaning the more you reach complete discharge before charging the shorter their life span. Better charge your cell(s) everytime you can which will increase their lifespan. Avoid overheating the cells which will also decrease lifespan. If heavily using the device, keep it powerer on usb or external charger.

S3 mini Displaying Wrong Battery Percentage After Replacing battery and New Rom.

Hey guys, its my first post on this forum (or on any forum for that matter) so I apologize if this is in the wrong section . But recently I've been having a problem with my S3 mini and hoped I could get some help on here. So a few days ago I got a 4000mAh - 3.7V extended battery for my phone because my old one had broken. The old battery was the stock battery that came with the phone. Before I bought the new battery I also installed the PacmanROM on my android. But since I got the battery the percentage my android displays has been completely wrong. I'm pretty sure that the battery is fully charged after over 16 hours of charging but the percentage the phone displays is only around 65% and no matter how long I charge it the percentage never reaches 100 and it will stay on a certain value that will randomly fluctuate if I restart the device. So is there anyway to make my phone display the correct percentage? Thanks for your help!
In my opinion, extended batteries are more trouble than they're worth. I have dabbled with them but all have failed at some point (even brand new). If you put the battery on a flat surface and it 'wobbles' at all then its duff. I use stock batteries. Sorry if this is not what you want as an answer but just my experience with extended batteries.
Sent from my GT-I8190N running CandyKat
Thanks for the input anyway! I've never tried any other extended batteries so I ignorantly decided to get one hoping it would work well. But anyways I believe that its not the battery that's at fault since the battery seems fine to me (no bumps showing a faulty battery). I have a feeling that its my old battery that's at fault or the system still possibly assuming its a stock battery. Well I'm no expert .
Awfully I can post the link for fix this..
The APP for fix this 'bug' is "Battery Calibration", it delets a battery file, and after restart the cellphone, that file is remade with correct data.
Well I looked into Battery Calibration and have managed to find a fix! I charged my phone to "full" (which my phone only displayed as ~50% at the time) and once the battery percentage stopped increasing I left the phone to charge for a few hours after that. Then when I was sure that the battery is actually full, I installed a battery calibration app and "calibrated" my battery which deleted the batterystats.bin file. I then waited for my phone to completely run out of charge, which I sped up with an app called "battery discharge", then when I let the phone switch off by itself from an empty battery. Once the phone restarted the battery percentage displayed was correct.
Try Battery calibration
isnt battery callibration a complete myth and placebo? deleting batterystats.bin shouldnt help as it just contains data about what consumed battery juice

Xiaomi programmed obsolescence on battery

H, since I updated from miui 10 to miui 11 and even now that I have miui 12 I have noticed that the battery doesn't last as long as before. I state that since I purchased the phone (July 2019) I have always charged the battery in the best way trying to never go below 20% and trying not to go beyond 80% so I don't think a battery can lose more than 30% of its real capacity in less than a year of life. Starting to investigate I found that the battery does not charge at its real capacity i.e. 3300 mAh but at around 2200/2300 mAh. To verify all this I have carried out several tests and the easiest way to verify it is to look at the battery characteristics through the AIDA64 app (screenshot below). From these tests it seems that the device limits the real battery capacity by not allowing it to be charged to its maximum capacity. A reply to what I wrote can be found by looking at some system files that are located in /sys/class/power_supply/battery. In particular, looking at the file called charge_full (screenshot below) you can see how the value of the file is much lower than the real battery capacity. I hope someone more competent than I can understand how to solve this hateful problem and I also invite you to check the value to try to better understand the cause of this problem.
I'm using miuimix 12.0.2 stable and the capacity is not 3300, either.
---------- Post added at 10:03 AM ---------- Previous post was at 09:59 AM ----------
And sorry i don't know how to post a picture, mine is 2943.
I know that batteries won't be forever and are always decreasing during the year but I think Xiaomi do a good job. I have some devices from 4 years ago and they reduced their batteries just a little. In the case of Mi 9 I have it since March 2019 and my battery still being the same. I charge it from 10-25% to 100% just some times I charge it until 80-90%, maybe every month I let it to 0% I wait for a while and charge it again to 100%.
Sent from my MI 9 using Tapatalk
From the photo you posted it doesn't seem that your battery is fully charged .. we have done other research and we have discovered that most likely Xiaomi has inserted in the kernel a sort of programmed obsolescence on the battery.
Can you disclose some of the research you done on the kernel it seems interesting. I have checked with Aida64 my battery before and it never charges to 3300 even if you leave the phone plugged in the value will keep increasing but once you plug it out it drops...still getting about 5 hrs sot so not bad...I wonder if you change that value in the full charger screen you posted what will happen?
"From these tests it seems that the device limits the real battery capacity by not allowing it to be charged to its maximum capacity. "
Actually it's better for battery life longterm to keep the device in the middle - never 0, never 100
I've certainly lost no battery life in the year + I've had the Mi 9
You are doing a good job of using the phone in the 20 to 80% range. But do you charge it at the lowest possible temperature? Temperature is a battery's worst enemy. Wireless charging is a joke. It's a glued heater in the battery.
I for instance, almost all the times charge it in front a mini fan. With this I can charge it 5ÂșC below normal temp charge.
And like @cezikos said, use quickcharge only on emergencies. Use at max a 1.5Amps charger. Quick charge is a marketing thing. The chemistry of the batteries are almost the same in this 10 years.
Mi mi9 have one year and the battery is 100%.
The important thing that you should precise is a type of charger that you are using. Do you use Quick Charge? If Yes, then battery capacity will be dramatically degrated. I use 5V 0.5-1.5A charger, it depends how fast I need to charge the Phone.
The next thing is a battery temperature, not Only while charging the Phone but also when you are using it. I`m using CPU Monitor and it's overlay to see the battery temp, you can also configure alerts when battery is starting to overheat.
Heavy Gaming decreases the life of the battery, there are a lot of variables that you have to cobsider, not only "programmed obsolescence"
I had the same problem. Hopefully the battery could make 3 hours of screen, the strange thing was that suddenly it began to last very little, and I was with that problem for a couple of weeks, so I decided to calibrate the battery hoping to have some results and now the battery lasted again approximately 7 hours of screen. Try to make the battery run out from 100% to 0%. The system will not let you start because it calculates that it has no battery, so what I did was leave it in recovery mode and with the screen always active, until it turns off completely, then with a 5V 1A charger. With the phone turned off, charge it until it reaches 100%. I did it three times and the battery was back to the way it was before. You could try to do the same and I hope you can solve that problem.
Sorry for bad English
I tested, I put the phone to play videos until it turned off. In 1% I cleared battery stats.
Then plugged the charger and entered the TWRP and unplugged. Put the backlight to maximum, and the phone stayed on more than an hour!
Then I plugged the charger 1.5A and let it charge to max.
It worked, now the phone has a steady discharge, not discharge 100% to 80 in an hour.
I will do this procedure from time to time. not the best for the battery, but is needed in mi9...
It's an absurd that this problem exists in 2020, my galaxy S2 don't have such harsh problems with something so simple and basic like battery management!
Battery on my Mi9 (mildly used in one year) lost 500 mAh.
Confirmed, with this trick, in doing it ONE time, I have the phone running well again, more than 8h screen on.
0.5 discharge in sleep.
.eu 20.3.19
onolox said:
I tested, I put the phone to play videos until it turned off. In 1% I cleared battery stats.
Then plugged the charger and entered the TWRP and unplugged. Put the backlight to maximum, and the phone stayed on more than an hour!
Then I plugged the charger 1.5A and let it charge to max.
It worked, now the phone has a steady discharge, not discharge 100% to 80 in an hour.
I will do this procedure from time to time. not the best for the battery, but is needed in mi9...
It's an absurd that this problem exists in 2020, my galaxy S2 don't have such harsh problems with something so simple and basic like battery management!
Click to expand...
Click to collapse
Thanks! I just don't know how to clean the battery status...
You will need root.
Then are several apps that can do it. Like l speed or adiutor.
And now again confirming, in one month the phone is completely lost regarding battery again, just 3h SOT from 80 to 20. There's some pretty **** up code regarding battery in xiaomi android.
I have no problems at all using it since release.
newest xiaomi eu.
I also have problems with battery drain...
Hello guys, just want to share with you a little trick that just helped me get better SoT. First of all, I just want to mention that I'm on the newest xiaomi.eu rom (20.8.13) and that AccuBattery is showing that my battery is at 2500mAh estimated capacity. (That might be different in reality, because it's only after one charging, so don't believe it that much). Lately I noticed a significant drain while the phone was idle (screen turned off). It was draining like 1-2% every hour and I could barely get over 5h SoT. So I investigated a little bit, and found a solution on reddit. The thing was that I had many apps on autostart. If you want to check them and turn it off then open Settings > type 'autostart' in the search bar > open it > 3 dots > show system apps > turn off every unnecessary app that you think don't need that option. I turned off every app, except: Gmail, GPay, Google Photos, Clock, Calendar, Bank app, Weather app and the app called 'safety system addon' - it might be called different because I'm not on english language on my phone. I left them on just in case to have notifications/synchronization, though i don't know if it's necessary. After that there was almost 0% idle drain over the day. Now I'm on 5h4m SoT and still have 25% of battery left. The result might be even better, cause I did this trick just today while my phone was on 90-85%.
Give it guys a try, hope it will improve your daily experience with Mi 9.
P.S. Let me know guys If I could turn off the before mentioned apps and still get notifications and sync from them.
Mine reports 2800mah, debloated with Szaki tool all autostart apps disabled also did factory reset after miui12 update.
Really sad how bad miui12 has turned for me. Im having way worse battery life compared to miui11 the idle is mostly the same its just the battery doesn't last as it used to last with miui11.
onolox said:
I tested, I put the phone to play videos until it turned off. In 1% I cleared battery stats.
Then plugged the charger and entered the TWRP and unplugged. Put the backlight to maximum, and the phone stayed on more than an hour!
Then I plugged the charger 1.5A and let it charge to max.
It worked, now the phone has a steady discharge, not discharge 100% to 80 in an hour.
I will do this procedure from time to time. not the best for the battery, but is needed in mi9...
It's an absurd that this problem exists in 2020, my galaxy S2 don't have such harsh problems with something so simple and basic like battery management!
Click to expand...
Click to collapse
I can confirm this. AIDA64 said my battery was at 2550mah capacity when fully charged. I followed this procedure and now after being fully charged, it says 3125 mah, which is much better.
I'm curious about the screen on time now. Me happy. Thanks!

Categories

Resources