(TL;DR at end)
Hello,
I have been comparing aftermarket batteries with larger capacitys then the original battery (findings will be shared when finished testing).
I have come across a problem where the phone shows 100% charge on a larger capacity battery, when not actually full (does charge till actually full, but shows 100% for large part of it).
Looking for -
help to somehow fix this. Show actual larger battery charge precentege. I'm hoping this is something we can change, as in expected battery capacity, software.
Avidance -
1. Charging while off, indication of fully charged (screen changes from 100% & charging icon to ✓ icon), only after around another 1.25 hours of charging [for the original battery, this takes around 25 minutes].
2. When off and showing charging 100% icon - larger capacity battery at 3.87V. Reaching ✓ icon - battery at 4.2V (measuring with physical externel tools).
Etc.
[Seems larger capacity is being used when discharging truly fully charged larger battery (lasted in test up to 1.3 hours more then original).]
3T, OOS 9.0.6, rooted, Xposed
Example from different phone (needed file to mod not on 3T) - https://forum.xda-developers.com/s7-edge/help/mod-aftermarket-misreading-battery-t3510597
I'd really appriciate some help on the matter.
When finished with my research, I'll post my findings (looks promising - found up to 30% increase in battery life!)
TL;DR - Testing larger capacity batteries. Problem of them reaching 100% when there is more charging to do. Phone charges what's left, but shows 100% all the while. Looking for a fix.
Related
So most people should have heard about currentwidget by now, most people talk about it and use it to see what battery drain occurs during standby mode or airplane mode.
Now I'm sure most know this but incase you didn't, currentwidget helps to ensure your battery is fully charged as well. This is good for people that complain about their battery dropping quickly after a full charge.
You can use currentwidget to monitor your charge, when the battery says its 100% and led is green, currentwidget still shows power going to the battery in form of "ma". I noticed my battery said it was charged and eventho at 100%, currentwidget still showed "ma" is being delivered to the battery . After two hours only it showed 0ma, now I'm sure that means that eventho my phone said its charged, it wasn't fully charged until 0ma were displayed in currentwidget. Since I noticed that, I've been charging my battery "fully" and did notice my battery stayed much longer in the 90-100% aisle when being unplugged.
So if you feel ur battery drops too quickly from a full charge, use this widget to help monitor your charge.
yep, tnx for the tip, im useing clarus battery and its do the same - and i like the widigt so...
the current widget always shows some value of mA . how do we know when the battery is really full ?
Well with me after 1hour at 100%, it shows 0ma. That's when I know the battery is completely full and reached its maximum capacity.
I don't think waiting for the battery to get to the 0mA level is good for the battery performance. Usually the green LED comes on when the widget shows 50mA.
A high-charge concentration for a long time in a Li-Ion battery is bad for the battery. Thats why mobile phones have a little buffer to stop the entire capacity to be full, and try to lose the first part of the full charge as fast as possible.
Since i use some RC Helicopter with li-po/li-ion that both have the same way to produce energy, I have learned how to use this kind of battery and how to ensure a good battery life/durability.
There is no reason to worry about the battery if you follow those few recommendation (given by a battery producer):
-Your battery has to be charged with a current of 1C max (1C mean 1230mA for a 1230mAh capacity).
-Your battery voltage must not be over 4250mV. If you go over, you may damage the battery and risk random explosion/fire. In normal use, it's better to not go over 4200mV.
If you charge the battery with your phone, you will never be able to go over 4200mV because the charge stop automatically before.
-Your battery must not be under 3300mV. Same risk as above. In normal use, it is better to not go under 3450-3500mV to ensure a good battery durability (numbers of cycle charge/decharge). I think the phone show 0% at near of 3450mV, but never check this cause i never wait my phone to be as close to the death.
-Your battery has to be drain at a current of 10C max, i.e for desire HD , 12.30A (1230mAh x 10).
impossible to reach that current with your smartphone so no worries about burning your cpu with heavy bench.
Whatever you do respecting this will not be harmful for your battery.
(I'm running Darky v8, but iirc some other firmwares including official JPY have the same problem.)
A lot of people complain that their battery indicator falls in 96-99% immediately after unplugging the charger. In my case, despite recalibration, it drops randomly between 96 and 99%, depending on the mood I guess.
What I realized by using circular battery indicator included in the darky v8 ROM is that this indication error is due to incorrect battery voltage measurement. So the percentage is correct as such, but since it's calculated from the measured voltage which is incorrect, we have our results.
Anyway, in my case, voltage at the end of charge cycle is for example 4.25V (100%), and when I unplug the charger it drops to for example 4.1V (97%) (those are just rough numbers, don't remember them exactly; just try it yourself). Yesterday I watched it closely, and after around 20-25 seconds of unplugging, it climbed BACK to around 4.17V (around 98%). After that it discharged normally.
It's highly surprising to me that voltage should jump up, even if it isn't so odd that it would suddenly drop when unplugging the charger.
All of this doesn't bother me a lot (although it would be nice to have 99-100% charge for at least a little while), but I wanted to point it out in case anyone wanted look deeper in the problem.
The higher voltage during charging is normal, that's how the charger works ) You have to provide more power than the phone needs in order to charge the battery. However, the battery meter should take this into consideration when displaying the battery's charge state. So there's your problem
It depends upon the indicator used Darky used circle indicator a while back and that was 98% .
My current indicators uses Quick Settings and ZD Box both show 100% .
Rumour has it that the battery is meant to read lower >
jje
Hi !
I have a nook HD+ which has been behaving strangely. Its battery life has reduced lately. I initially had problems with 'media' and 'SDcard' draining it quickly. But I was able to check that by formatting my SD card and deleting two 0 kB files in my internal memory.
However, the battery life, since, has not improved much. Moreover, I have started to see a few spikes in the battery charge chart (like the one in the pictures attached with this post) without having plugged the Nook in.
I am on CM 11 snapshot M8. I have already tried calibrating my battery by charging it to 100% and then removing batterystats.bin system file through PlayStore's 'Battery calibration' app, but the issue still remains unresolved.
Has anyone else faced a similar issue with her or his Nook ?
You cannot calibrate batteries in Android. Those silly apps just delete batterystats.bin and that is an Android file responsible for the statistics seen in your third screenshot. It gets deleted automatically when you unplug the charger at an almost 100% charge level, and it has nothing to do with the reported battery level!
The battery percentage as shown by Android comes from the kernel, the power management unit (PMU) driver to be more specific. The PMU, which usually is a separate chip inside the device, is responsible for monitoring, charging, and discharging the battery, among other things. There are many different PMU models, so this is highly hardware-dependent, and there most likely are no apps out there that can directly talk to all the existing PMUs to do something that's actually meaningful (which deleting batterystats.bin is not).
The only thing you can do is once in a while discharge the battery until the device turns off, then recharge it in one go to full capacity. That way, the PMU hopefully "calibrates" its battery monitoring by itself and should report more accurate state of charge values again. Measuring a battery's state of charge is rather difficult and not an exact science. Those percentage values are only estimates. So, the spikes you see on the battery percentage chart are a result of the imperfect method that is used to calculate the current battery percentage. Maybe this gets worse with aging batteries, I don't know. There's nothing really you can do, other than the complete discharge/recharge cycle you've already tried. Maybe a future firmware will come with a better battery percentage calculation method - but as I said, this is totally independent from Android, it's a low-level hardware and kernel driver thing.
Thanks a lot. A very informative post indeed !
Full battery charge/discharge cycles seems like the only solution then.
How will it affect the battery and its capacity to retain the charge though ?
To prevent any misunderstanding: you should definitely not discharge your lithium-ion based batteries to 0% all the time. Li-ion batteries live longer if they are kept between 40% and 80% charge. At 80% you won't get the full capacity / runtime, of course, but the battery will be able to endure more charge/discharge cycles that way. As I said, discharging to 0% followed by recharing to 100% should only be done occasionally, if you feel that the reported battery percentage has become too inaccurate. It probably won't fix the "ghost recharging" seen on the Nook and other devices. What probably happens here is that the battery's voltage is factored into the state of charge calculation. Li-ion batteries are usually charged to 4.2V per cell, which is "100%", and discharged to some arbitrary voltage, e.g. 3.5V, which would be considered "0%". Inbetween, the voltage curve is not linear. That is, 50% would not necessarily correspond to 3.85V (=(4.2+3.5) / 2). Also, the voltage depends on the power draw to some extent. If the tablet draws a higher current from the battery, the voltage will sag. If you then put the tablet into standby, reducing the current to a very small value, the battery voltage will recover and increase again a bit. This is what might cause those spikes (although they shouldn't be that large).
This and more can be learned on Battery University. And here's a source for the batterystats.bin calibration myth.
Thanks a lot Tzul. You have been very helpful !!
I may have to replace my battery soon. If the battery life does not improve, I guess I will have to buy a replacement battery from a third party replacement battery seller.
I changed the battery for a new one with 3400mAh capacity and of course android gauge reporting it wrongly. How do I patch kernel manually to change default values from manufacturer's 2300 to 3rd party 3400mAh? Any ideas?
Well, to reply to myself - I found it.
The solution to 'fix the gauge' with extended battery is to not let it drain to 0% but instead to drain only to the low battery indicator! I used 10% remaining indicator mark (didn't tried with 15% as suggested @batteryuniversity or 5% when battery saving mode switches on), then the crucial point is to switch the phone off and let it recharge in powered off mode till 100%. Repeat the procedure 2-3 times and it should be good.
The charging circuitry needs to learn what the max and min are, so it can then stretch its range to fit the battery's new and much larger capacity.
As a result now I have 3400mAh that holds around 3d6h with more than 8h of screen time. Hope that helps to someone too.
can u please tell in simple english !
Hello,
i wonder if there is a way to test the battery of the Nokia 8. I bought the Nokia 8 in May or June and it feels like the battery is very fast empty. There are not many apps installed. Everything was installed when i bought it, so there are no new apps that affect the battery lifetime.
I'd really like to test the battery life state, because it'd be still a case of warranty if the capacity is less then 80% of it's original one.
I want you to share a screenshot by entering a command in any terminal app. For this, you have got to install any terminal app (I recommend an app called Qute). Then, enter the command below this entry and share the results.
cat /sys/class/power_supply/bms/uevent
For example, that screenshot is my battery values. I want to see your phone's values via battery.
https://i.hizliresim.com/1El4ON.png
My Firewall blocks your screenshot link. Can you upload it here on XDA?
Yesterday i fully charged my Phone, activated Airplane mod and in the morning (8-9h later) it was on 73%
I am sorry, it was my problem. I think the new link is available. You are able to try to look it. Firstly, your values need to be calibrated because POWER_SUPPLY_CHARGE_COUNTER shows a value under 0. For this, use your phone when battery level is critical. After that, shut down your phone and charge up fully. After that, share with us the new values again.
use accu battery app. let ur phone about 20% battery and charge to 100%. when ur phone charging don't use this.
after first time it will show ur battery. the more u charge,the more u will get better result.
Good morning
yesterday i emptied the battery until the phone shut down. Then i started loading to 100%. After that i booted and there were 99%, so i loaded up to 100% again. Over night (again 8-9h) there was this time only a loss of about 2-3%.
I attached the new values from the terminal. There is just one thing that makes me still unsure about the battery lifetime. It charged very fast. I know in general that's not a bad thing, but if it's faster than it should, one reason can be less capacity.
So i read somewhere in the internet that the Nokia 8 takes 2:40 to charge fully. I needed 1:50 yesterday. That's less than 3/4 of the time i found on the internet.
So maybe you can tell me how long does your phone need to load from 0 to 100%. That should be the best indicator for how much capacity of the battery is usable.
As you can see, POWER_SUPPLY_CHARGE_COUNTER value shows 2595 at %97. I think it shows nearly 2750 at %100. I compared your value with my value, the mine shows 2980 at %100. I am using this phone since June (3 months). The mine lost 90mAh its capacity and the yours lost almost 300mAh its capacity. I don't know your using conditions, however this issue might be software. If we think about software, you should calibrate your battery. You can calibrate your battery 2 different ways: Several charge up-charge down steps or helps of apps (called battery calibrator) in Play Store. Unfortunately I don't know how much is reliable those proccesses. I recommend you try either 2 ways.
techno_man000 said:
As you can see, POWER_SUPPLY_CHARGE_COUNTER value shows 2595 at %97. I think it shows nearly 2750 at %100. I compared your value with my value, the mine shows 2980 at %100. I am using this phone since June (3 months). The mine lost 90mAh its capacity and the yours lost almost 300mAh its capacity. I don't know your using conditions, however this issue might be software. If we think about software, you should calibrate your battery. You can calibrate your battery 2 different ways: Several charge up-charge down steps or helps of apps (called battery calibrator) in Play Store. Unfortunately I don't know how much is reliable those proccesses. I recommend you try either 2 ways.
Click to expand...
Click to collapse
what das the Power Supply Charge Counter mean?
I also have my phone since June. About the using conditions, i avoided to have less then 20% left and didn't charge the phone every day, so that it does not have 100% always. For Li-Ionen the best condition. I study electrical engineering and last semester i had an lecture about batteries, so actually i know how to increase lifetime of a Li-Ionen battery.
btw i compared your values with mine and the charge counter of your phone shows just 1780 at 97% where my one shows 2595 at the same SOC
If you get interested why i want to see those values, those values are created by Android system. I believe in those values but not always so whenever i want to review my values, i charge my phone from critical level. Otherwise, CHARGE_COUNTER shows a value is illogical. Yesterday my battery level left %13. Last evening, I charged battery fully. It took about 2 hours. I opened my phone and at the same time my phone was still on the charging. I did extra charge my phone's battery. After 20 minutes, i took my phone and i ended charging. I opened terminal app and reviewed new values. I calibrated my phone's battery values. POWER_SUPPLY_CHARGE_COUNTER showed 2982000 (2982mAh) and POWER_SUPPLY_CHARGE_FULL showed still 2969000 (2969mAh). The values were almost same.
Let's review your values. POWER_SUPPLY_CHARGE_FULL_DESIGN shows 3112 and mine is 3112, they are same. POWER_SUPPLY_CHARGE shows 3127 and of course, this value is over designed capacity. Up to the present, i didn't see a number over 3112 in my values. You said that the SOCs were same and yes, i agree with you but there should be a software bug in yours. It doesn't calibrate itself although you charged up to fully from critical level. Finally, your CHARGE_COUNTER value shows 2595 at %97. You took screenshot when the battery level is %97 so i assume it showed 2750 when it charged fully. Your battery need to be calibrated.
techno_man000 said:
If you get interested why i want to see those values, those values are created by Android system. I believe in those values but not always so whenever i want to review my values, i charge my phone from critical level. Otherwise, CHARGE_COUNTER shows a value is illogical. Yesterday my battery level left %13. Last evening, I charged battery fully. It took about 2 hours. I opened my phone and at the same time my phone was still on the charging. I did extra charge my phone's battery. After 20 minutes, i took my phone and i ended charging. I opened terminal app and reviewed new values. I calibrated my phone's battery values. POWER_SUPPLY_CHARGE_COUNTER showed 2982000 (2982mAh) and POWER_SUPPLY_CHARGE_FULL showed still 2969000 (2969mAh). The values were almost same.
Let's review your values. POWER_SUPPLY_CHARGE_FULL_DESIGN shows 3112 and mine is 3112, they are same. POWER_SUPPLY_CHARGE shows 3127 and of course, this value is over designed capacity. Up to the present, i didn't see a number over 3112 in my values. You said that the SOCs were same and yes, i agree with you but there should be a software bug in yours. It doesn't calibrate itself although you charged up to fully from critical level. Finally, your CHARGE_COUNTER value shows 2595 at %97. You took screenshot when the battery level is %97 so i assume it showed 2750 when it charged fully. Your battery need to be calibrated.
Click to expand...
Click to collapse
to calibrate i wait till there is a critical SOC (under 15%) and then i fully charge? Or is there some extra trick? I know from my old phones that you can wipe the battery with root but my Nokia is not rooted yet.
What about the other values? i marked those that should never change bold
POWER_SUPPLY_CAPACITY - SOC that android calculated
POWER_SUPPLY_CAPACITY_RAW - ??
POWER_SUPPLY_TEMP - temperature, but how do i read the value? 240°C would be too much and 240°K too less.
POWER_SUPPLY_VOLTAGE_NOW - terminal voltage in microVolt?
POWER_SUPPLY_VOLTAGE_OCV - open circuit voltage again in microVolt?
POWER_SUPPLY_CURRENT_NOW - the current out of the battery in microAmpere?
POWER_SUPPLY_RESISTANCE_ID - ?
POWER_SUPPLY_RESISTANCE - ?
POWER_SUPPLY_RESISTANCE_ESR - ?
POWER_SUPPLY_RESISTANCE_RSLOW - ?
POWER_SUPPLY_BATTERY_TYPE - well the name of the battery
POWER_SUPPLY_CHARGE_FULL_DESIGN - the nominal capacity of the battery microAh
POWER_SUPPLY_VOLTAGE_MAX_DESIGN - maximum allowed charge voltage microV. I wonder about this value, because the Nokia power supply says something about 5V or 9V or 12V
POWER_SUPPLY_CYCLE_COUNT - ?
POWER_SUPPLY_CYCLE_COUNT_ID - ?
POWER_SUPPLY_CHARGE_NOW_RAW - ?
POWER_SUPPLY_CHARGE_NOW - ?
POWER_SUPPLY_CHARGE_FULL - shouldn't this be the same as POWER_SUPPLY_CHARGE_FULL_DESIGN maybe a little bit more?
POWER_SUPPLY_CHARGE_COUNTER - how much was really charged
POWER_SUPPLY_TIME_TO_FULL - Approximated time till it is full
POWER_SUPPLY_TIME_TO_EMPTY - approximated time till it's empty
POWER_SUPPLY_SOC_REPORTING_READY - ?
POWER_SUPPLY_DEBUG_BATTERY - ?
POWER_SUPPLY_CONSTANT_CHARGE_VOLTAGE - ?
POWER_SUPPLY_CC_STEP - something about constant current charge part?
POWER_SUPPLY_CC_STEP_SEL - like above?
Do those 2 ways you said: Use your phone until your phone's battery level under %15. I realize that the battery values are calibrated when charge level under %15 (Of course on charging process). Anyway, i will tell about some values such as POWER_SUPPLY_TEMP. It is not Celcius or Kelvin. Temp value is divided by ten. The result is instant temperature value. POWER _SUPPLY_CHARGE_FULL_DESIGN and POWER_SUPPLY_CHARGE_FULL aren't same things. I think, CHARGE_FULL is calculated by battery's soc and it is estimated battery capacity.
We can't edit this values. If we access them, nothing will be change. Because values are created by Android system. If we try to access battery soc, it will be hard. Most of people recommend deleting batterystats.bin but i can't believe in this. I think this method is a rumour. In my opinion the best way is draining completely and extra trick charge.