Guide : How to check your battery cycle count on your Phone - Xiaomi Mi A2 Lite Guides, News, & Discussion

[Guide]: How to check your battery cycle count on your phone :
1. Dial *#*#6485#*#* on phone dialer
2. Then see what number is written after MF_02
3. That is the number of battery cycle counts for your device. ?
Enjoy.
FAQ: Please read the FAQ before asking questions.
P.S: This guide doesn't work on custom roms and also doesn't work on Samsung Devices and if you have done any modifications to your kernel or if you have rooted your device and if you have done any stuff like that.
Q1. What is meant by this battery cycle count ?
ANS - A charge cycle happens when you use all of the battery's power—but that doesn't necessarily mean a single charge. For example, you could use half of your notebook's charge in one day, and then recharge it fully. If you did the same thing the next day, it would count as one charge cycle, not two.
Q2. How does in effect battery life ?
ANS - Typically, a modern phone battery's (lithium-ion) lifespan is 2 – 3 years, which is about 300 – 500 charge cycles as rated by manufacturers. After that, the battery capacity will drop by roughly 20%.
Q3. Why is the MF_02 could hidden or showing the count "0" ?
ANS - It is because your device manufacturer has hidden it for your device.
Q4. Is there any way to check the battery cycle count on rooted phones and on custom roms ?
ANS - Yes, there is a way but you need to be rooted.
Find battery capacity using termux app:
su
cat /sys/class/power_supply/bms/charge_full
Guide by @Aadilgillani

Mine shows "MF_02: (Chinese text) 0".

Mine also shows 0 after MF_02.

Mine Shows "MF_02: (Chinese Text) 6"
Note That, I Have Been Using My Mobile Device Last Two Years.

322 i have it for 21months

what is the MF_3 refers to?

Aadil Gillani said:
Guide : How to check your battery cycle count on your Phone
1. Dial *#*#6485#*#* of phone dialer
2. Then see what number is written after MF_02
3. That is the Number of Battery Cycle counts for your device.
Please share your battery cycle count screenshot below.
Enjoy.
In general, number of cycles for a rechargeable battery indicates how many times it can undergo the process of complete charging and discharging until failure or it starting to lose capacity.
Typically, a modern phone battery's (lithium-ion) lifespan is 2 – 3 years, which is about 300 – 500 charge cycles as rated by manufacturers. After that, the battery capacity will drop by roughly 20%.
Click to expand...
Click to collapse
So if I understand correctly, "0" indicates exhausted cycles?

It says 6, i am using it since january of last year

I have a OnePlus 7 and the number just disappears

Azukegi said:
I have a OnePlus 7 and the number just disappears
Click to expand...
Click to collapse
yup same on my 8 pro. OnePlus doesn't want us to access it. unfortunately :/

Related

[BIG ANSWER][MY GUIDE] Battery Life drain issue - solved

So i have decided to say something, and to write a little "MY GUIDE" :
First of all, this thread is due my AWESOME BATTERY LIFE
I'm running Insert Coin 3.4.1 with Bricked 1.4r1 Kernel.
I have done following steps :
0) First of all, you have to drain your phone dry (dead, till it powers down itself).Turn of fast boot (this is very important)
1) Turn your device ON and Charge the device for 8 hours or more
2) Unplug the device and Turn the phone OFF and charge for 1 hour
4) I wiped battery stats then when finishing those 1-3 steps.
5) Used phone regular.
6) For next 2 charging cycles you have to again discharge your phone untill it powers down itself
7) Charge it for 8 hours (i did it overnight)
Click to expand...
Click to collapse
After that 2 more full charging cycles you can charge your phone as much as you want and whenever you want. Charge it on every percent..
When you are charging your phone (after all 3 cycles), try to charge it when it drops under 30% and to charge it untill fully charged green light.
But i understand that sometimes you cant manage to charge it fully and when it is under 30%. Never mind. It is recommended but it is not required every time.
I'm trying to completely discharge and charge over 8 hours once per 1 or 2 weeks.
And after all this i have very good battery life.
With moderate use, my battery lasts over 24 hours (moderate use - lotof voice calls, lot of text messaging (SMS), checking on foursquare and little surfing over mobile network (HDSPA), alot of surfing over home WiFi.
In standby it cant be compared to anything i have heard here : I have 1% per 3 hours drain in stanby.. maybe even more hours, i cant properly determine but overnight when it is not charging i loose not more than 4-5 %).
My setup on phone is following :
1. Manual setup of brightness (im thinking of getting baadnewz auto brightness tweak)
2. All options in sound settings ( increase in pocket mode, flip over for speakerphone, quiet ring on pickup etc) are disabled.
3. Network is on GSM only. When i need HDSPA i change it manualy.
4. Auto sync is off.
5. Vibrate feedback and typing vibration is ON (i cant live without it ).
6. Dont have any battery saving applcation (juice defender, watchdog )
7. I dont have any mA monitor . Im fine without looking at wrong values monitored . I just have BattStatts (percentage shower).
Click to expand...
Click to collapse
I hope you like this, and i hope this will help to some one here.
After all this time on this forum (over year and a half), a lot of people here helped me a lot with my problems with my previous device (HD2) and with my current device (Sensation), so i was in need to try to help other people with major problem (battery).
If you want, put this thread sticky, move it wherever you like, if it is helpfull.
Best regards folks.
Laynee1
p.s. If this helped in any way, or you find this post(guide) useful, don't be lazy to click thanks button I thank to you all for your support
Thanks for the info!
I just flashed Faux 0.2.4b kernel on my ARHD 4.1.5, gonna try this whenever I have enough time
Would appreciate thanks button hit
And , yes, try it.. and report results pelease
For example.. I charged my phone today, took it of charger 10am..
With moderate use i have 98 percents now.. It is awsome
That's called bump charging. It may increase short term battery life, but depletes long term battery life. HTC recommended you do this ONCE every couple of months.
Plus our batteries are lithium ion, so doing full charge/discharge cycles will practically have no effect. You could do it just to calibrate it wight the phone, so as the phone "knows" what's 100% & 0%. But other than that, fully discharging these batteries could harm them. These batteries like partial discharge. So charging them when they get to around say, 30% is more convenient for them.
Just thought I'd let you know
Sent from my HTC Sensation Z710e
I didnt said to repeat this every day or week..
I said you should have 2 full charge discharge only once after u done 1st couple of steps..
Full charge and discharge once per 2 weeks will, in no way, harm our phones..
And i said
When you are charging your phone (after all 3 cycles), try to charge it when it drops under 30% and to charge it untill fully charged green light.
Click to expand...
Click to collapse
I have done steps from above, and i have great battery life.. short and long..
I know our batteries are lithium ion, and i know a bit about them (im finishing Electrical engeneering College here in Serbia (most difficult ever ))..
So
To recap..
This method CANT harm your battery or device.. It can only help your battery life.. Try it.. See it yourself
Thank you for your guide.
Laynee1 said:
I didnt said to repeat this every day or week..
I said you should have 2 full charge discharge only once after u done 1st couple of steps..
Full charge and discharge once per 2 weeks will, in no way, harm our phones..
And i said
I have done steps from above, and i have great battery life.. short and long..
I know our batteries are lithium ion, and i know a bit about them (im finishing Electrical engeneering College here in Serbia (most difficult ever ))..
So
To recap..
This method CANT harm your battery or device.. It can only help your battery life.. Try it.. See it yourself
Click to expand...
Click to collapse
Woah, take it easy my Serbian friend. All that I'm doing, is stating the facts & trying to help you understand that what you hear about charge/discharge cycles are just carryovers from previous batteries where it was good to be do several full drain/recharge cycles.
Here's a perfectly clear explanation of the differences coming from experts: http://androidforums.com/incredible-tips-tricks/69534-battery-charging-myths.html
And a more detailed one:
http://batteryuniversity.com/learn/article/charging_lithium_ion_batteries
What you experienced is bump charging, like I said, it may increase short term battery life, but WILL decrease its long term usability. So come on, this is a community, we learn from one another
@mzmo :
Mate.. You got me wrong. I appreciate your post in this thread . I find it useful. Ofcourse we learn from each other.
The facts ive put in OP thread are facts from my phone directly . First steps of guide was in mail HTC has responded to me.
So, all in all, thanks for your posts ,and for your future posts.. I find them all like big contribute to XDA community.. After all, i made this thread due to that
Cheers mate
Which bricked kernel version is better for insertcoin 3.4.3, v1.4 or v1.5
Thx
Thanks for the info.. very helpful...... i will try it out frm today. i have a huge battery drain
using ARHD 4.1.7 with faux latest kernel

[Q][SOLVED] Device turns off at 45% Battery

Hello enthusiasts,
I'm having a problem with my HTC One Mini (from German Telekom).
The device keeps turning off at around 45% battery charge. There is no warning prior to the shutdown. You can briefly see the "Battery is low!" warning for a tenth of a second until the phone shuts down completely. It can then not be turned on again unless I plug it into the charger. When turned on immediately afterwards, while charging, the battery status has changed to 0%.
There is a screenshot attached which shows the Voltage of the battery about 2 minutes before the device shut down.
I have already used the search and found numerous threads about devices shutting down with a high battery load, but the linked tutorials are often obsolete or unappliable.
I've been studying Wikipedia articles about Lithium-Ion batteries which say that the lowest voltage for a battery generally is 2.5V. Many manufacturers implemented security measurements that keep the battery far away from this low voltage level. I expect the 0%-load to be around 3V, but 3.3V should still be rather "loaded".
Concerning the overall device duration after a full charge: It has become far worse. After first flashing Cyanogenmod M11 Snapshot M6 a fully charged battery would give me around 20h of time until it would die. I've always recharged the device when it reached about 20% charge, before it turned red. Now it barely manages to get to 12-14h. And I don't even use it heavily.
I've already tried some battery calibration apps, but they all haven't shown any influence on the symptoms.
Information about the system:
HTC One Mini
Cyanogenmod 11, Snapshot M11 released on 2014-10-08 02:18:05
Battery Apps: Battery Doctor, Greenify (no difference with or without these apps)
I'd be glad to provide more information on this matter if I forgot something, but I hope I got everything you need. Would greatly appreciate help as this problem is slowly grinding my gears.
Doctor Luk said:
Hello enthusiasts,
I'm having a problem with my HTC One Mini (from German Telekom).
The device keeps turning off at around 45% battery charge. There is no warning prior to the shutdown. You can briefly see the "Battery is low!" warning for a tenth of a second until the phone shuts down completely. It can then not be turned on again unless I plug it into the charger. When turned on immediately afterwards, while charging, the battery status has changed to 0%.
There is a screenshot attached which shows the Voltage of the battery about 2 minutes before the device shut down.
I have already used the search and found numerous threads about devices shutting down with a high battery load, but the linked tutorials are often obsolete or unappliable.
I've been studying Wikipedia articles about Lithium-Ion batteries which say that the lowest voltage for a battery generally is 2.5V. Many manufacturers implemented security measurements that keep the battery far away from this low voltage level. I expect the 0%-load to be around 3V, but 3.3V should still be rather "loaded".
Concerning the overall device duration after a full charge: It has become far worse. After first flashing Cyanogenmod M11 Snapshot M6 a fully charged battery would give me around 20h of time until it would die. I've always recharged the device when it reached about 20% charge, before it turned red. Now it barely manages to get to 12-14h. And I don't even use it heavily.
I've already tried some battery calibration apps, but they all haven't shown any influence on the symptoms.
Information about the system:
HTC One Mini
Cyanogenmod 11, Snapshot M11 released on 2014-10-08 02:18:05
Battery Apps: Battery Doctor, Greenify (no difference with or without these apps)
I'd be glad to provide more information on this matter if I forgot something, but I hope I got everything you need. Would greatly appreciate help as this problem is slowly grinding my gears.
Click to expand...
Click to collapse
Have you tried using a different ROM?
Everest_ said:
Have you tried using a different ROM?
Click to expand...
Click to collapse
I've had the stock ROM installed for about 7 months until July and then I've only installed different versions of Cyanogenmod.
Namely Snapshot M7, a Nightly one from July, back to Snapshot M7 (at this point, the problem with the battery started occuring), then a nightly from October 6th and just recently the Snapshot M11. It should be noted that I've always wiped the system partition before installing a new build.
Doctor Luk said:
I've had the stock ROM installed for about 7 months until July and then I've only installed different versions of Cyanogenmod.
Namely Snapshot M7, a Nightly one from July, back to Snapshot M7 (at this point, the problem with the battery started occuring), then a nightly from October 6th and just recently the Snapshot M11. It should be noted that I've always wiped the system partition before installing a new build.
Click to expand...
Click to collapse
Flash a stock ROM and see if it still happens.
I have this problem also on any roms. But my isn't at 45%. It's usually at around 14% or 30 something. After it reboots my battery will be 0%
I've had the stock rom running for some time now and the battery display is absolutely fine with it. As soon as I go back to my CM M11 backup and recharge the phone, the measurement gets all confused and the phone starts shutting down at ~45%-50% again.
Doctor Luk said:
Hello enthusiasts,
I'm having a problem with my HTC One Mini (from German Telekom).
The device keeps turning off at around 45% battery charge. There is no warning prior to the shutdown. You can briefly see the "Battery is low!" warning for a tenth of a second until the phone shuts down completely. It can then not be turned on again unless I plug it into the charger. When turned on immediately afterwards, while charging, the battery status has changed to 0%.
There is a screenshot attached which shows the Voltage of the battery about 2 minutes before the device shut down.
I have already used the search and found numerous threads about devices shutting down with a high battery load, but the linked tutorials are often obsolete or unappliable.
I've been studying Wikipedia articles about Lithium-Ion batteries which say that the lowest voltage for a battery generally is 2.5V. Many manufacturers implemented security measurements that keep the battery far away from this low voltage level. I expect the 0%-load to be around 3V, but 3.3V should still be rather "loaded".
Concerning the overall device duration after a full charge: It has become far worse. After first flashing Cyanogenmod M11 Snapshot M6 a fully charged battery would give me around 20h of time until it would die. I've always recharged the device when it reached about 20% charge, before it turned red. Now it barely manages to get to 12-14h. And I don't even use it heavily.
I've already tried some battery calibration apps, but they all haven't shown any influence on the symptoms.
Information about the system:
HTC One Mini
Cyanogenmod 11, Snapshot M11 released on 2014-10-08 02:18:05
Battery Apps: Battery Doctor, Greenify (no difference with or without these apps)
I'd be glad to provide more information on this matter if I forgot something, but I hope I got everything you need. Would greatly appreciate help as this problem is slowly grinding my gears.
Click to expand...
Click to collapse
I have the same problem. As soon as my phone gets to about 40%, the battery drains to 0% within minutes, even while the screen is off and no data is being used. My phone is just over a year old and running a rooted, but stock version of 4.4.2. I don't think it's ROM related since it only started doing this recently. My guess is that our phone batteries are malfunctioning. Check out this person who has the exact same problem I have on the One M8:
http://forums.androidcentral.com/htc-one-m8/396770-htc-one-m8-battery-drain-40-60-0-seconds.html
His screen shots mirror mine EXACTLY. One thing I discovered is that while charging from 0% while in recovery, I was able to see my battery percentage jump from 7% to 50% when I booted to the OS. The battery then died again minutes later. This only happened once, but I'm guessing that our phone might be displaying a higher percentage than what is true just before it dies.
I have a strong feeling this might be CyanogenMod related, as it is known to have caused great problems on dozens M4's with overheating / strange battery drain / weird stuff like that, among many other bugs.
If I were you, I would do a fully clean install of a stable Sense-based ROM and kernel on upgraded firmware and see if problem persists.
Upgrade to the latest TWRP recovery
Wipe everything
Factory/Data reset
Advanced wipe: Cache / Dalvik Cache / System / Data / Internal Storage
Format Data
Upgrade your firmware, if not done yet
Install latest InsertCoin, choose "Perform a full wipe" option in AROMA
When installer finished, uncheck "Reboot phone now" and get back to recovery
Wipe [Cache] + [Dalvik Cache]
Install latest Xceed kernel (for Android 4.4.3)
Wipe [Cache] + [Dalvik Cache]
Reboot
I wish it was that simple. Thought CM may have some known issues, my device and the other example I linked to are running stock Roms.
If it wasn't happening every single day, it wouldn't be such a big deal, but now I'm seriously worried that I can't get a full days use from it anymore and it's barely over a year old. Sending it back to HTC would be a huge pain since I'm rooted. Though I guess it would be worth it in the long run to finally have a phone that doesn't shut down at 40%
Sent from my HTC One mini using XDA Free mobile app
Hello everyone, sorry for the delay.
It looks as if there might be damage to the battery as the %-display for the battery is still wrong on a Stock ROM (rooted and outdated) that I've had on the device for a week now.
Okay guys, what to do next? I guess I would like to completely revert everything and reset the phone to 100% stock. Would you guys recommend opening a new thread for that?
Anyway, here are some details:
Kernel 3.4.10-g8974365 [email protected] #1 SMP PREEMT
CID: T-MOB101
TAMPERED
UNLOCKED
M4_UL PVT SHIP S-ON RL
HBOOT-2.22.0000
RADIO-1.24.40e.00.26
OpenDSP-v19.2.0268.0927
OS-3.10.111.4
eMMC-boot 1024MB
Feb 14 2014, 17:48:26.0
I'm running a Stock branded ROM (T-Mobile Germany) with Sense 5.5 and Android 4.4.2 which is OUTDATED, however using the stock Recovery, I can NOT install OTA Updates as it stops at 50% showing the attached image (courtesy of droider.eu).
So the plan is to get the default Kernel (remove root), make the Stock ROM updateable, remove TAMPERED [might require S-OFF if I'm correct] and get everything LOCKED again (and not RE-LOCKED). I need your help to achieve all of this and it would be awesome if you could help me or just tell me to open a new thread.
Doctor Luk said:
Hello everyone, sorry for the delay.
It looks as if there might be damage to the battery as the %-display for the battery is still wrong on a Stock ROM (rooted and outdated) that I've had on the device for a week now.
Click to expand...
Click to collapse
I am in the same boat with you. I have completely given up on this battery. It's not ROM related. The battery simply doesn't hold a full charge anymore and the only remedy is to send it back to HTC for replacement. Since my phone has no insurance or warranty, I'd have to pay for it completely out of pocket. Fortunately, I've got my old HTC One S that still works perfectly and just loaded the latest KitKat Rom to it. The battery life and over-all performance of the One S is nearly better than my One Mini. I'm not feeling very compelled to get it fixed at the moment, but I'll let you guys know how much it costs if I change my mind. Good luck with yours.
Thanks, I'll just have to get mine fully back to stock to be able to turn it in... Hope it'll not be that pricy for you.
Can you get rid of the tampered warning on the boot screen? I thought it was irreversible. If not, I don't think HTC will warranty it.
Sent from my HTC One S using XDA Free mobile app
Of course you can, at least I assume you can. On the HTC One there are already guides and I guess the Mini is not that much different. It requires S-OFF though, so at least I would have to tinker around with my phone even more.
Our Plain vanilla -stockROM One mini is having similar issues:
It shuts down at battery 30%
- removed unneccessary app's - no result
- Factory reset - No result
Contacted HTC support, they advised to run self-test ( *#*#3424#*#*) in safe mode
Tried that: Boot-up in safe mode - charge full - batterytest : Put it away for the night while batterytest running, hoping for a report in the morning. Unfortunately no report, but a battery status of 1% - so no shutdown at 30%
Second time: Charged full in regular mode (100%) - reboot in safe-mode: Battery shows up @57% and could be charged for at least one hour.
Ran battery-test : after one hour of testing, battery = 91 % while 71 % is lower limit for failing battery, so battery succeeded.
Third time: Just testing the difference between battery-status in regular mode vs. safe-mode
Full charge in regular = 50% in safe mode (and able to continue charging)
Don't want to sent it away for repair: expecting to have it sent back after a couple of weeks: " we did the batterytest, and it's functioning fine. Your device is not broken"
My idea: something interfering with the battery-status indicator ?
But what ?
Any ideas ?
jamf said:
Our Plain vanilla -stockROM One mini is having similar issues:
It shuts down at battery 30%
- removed unneccessary app's - no result
- Factory reset - No result
Any ideas ?
Click to expand...
Click to collapse
not sure it works, but try this
the wiping the partition cache from stock recovery is not quite the same as factory reset
jamf said:
Tried that: Boot-up in safe mode - charge full - batterytest : Put it away for the night while batterytest running, hoping for a report in the morning. Unfortunately no report, but a battery status of 1% - so no shutdown at 30%
Click to expand...
Click to collapse
Thanks for reporting a similar problem to mine. I haven't gotten to fix mine, yet, too. Mine even powers down at 75% Battery and now has a horrible battery life of about 2h of normal usage (occasional screen activity, listening to music).
But how did you find a batterytest? I can't seem to find one in the safe-mode via that dial code. Can you explain where you found the battery test?
jamf said:
Our Plain vanilla -stockROM One mini is having similar issues:
It shuts down at battery 30%
- removed unneccessary app's - no result
- Factory reset - No result
Contacted HTC support, they advised to run self-test ( *#*#3424#*#*) in safe mode
Tried that: Boot-up in safe mode - charge full - batterytest : Put it away for the night while batterytest running, hoping for a report in the morning. Unfortunately no report, but a battery status of 1% - so no shutdown at 30%
Second time: Charged full in regular mode (100%) - reboot in safe-mode: Battery shows up @57% and could be charged for at least one hour.
Ran battery-test : after one hour of testing, battery = 91 % while 71 % is lower limit for failing battery, so battery succeeded.
Third time: Just testing the difference between battery-status in regular mode vs. safe-mode
Full charge in regular = 50% in safe mode (and able to continue charging)
Don't want to sent it away for repair: expecting to have it sent back after a couple of weeks: " we did the batterytest, and it's functioning fine. Your device is not broken"
My idea: something interfering with the battery-status indicator ?
But what ?
Any ideas ?
Click to expand...
Click to collapse
Wow - I wish you had posted this 2 days earlier! I just had a new battery purchased for my phone and I'm getting a local repair shop to replace it. Sounds like my battery could be fine and I will likely have the same results after it's replaced!
If you fully charge the phone in safe mode, does the phone battery still last the appropriate amount of time in regular mode or does it still shut off prematurely?
Doctor Luk said:
Thanks for reporting a similar problem to mine. I haven't gotten to fix mine, yet, too. Mine even powers down at 75% Battery and now has a horrible battery life of about 2h of normal usage (occasional screen activity, listening to music).
But how did you find a batterytest? I can't seem to find one in the safe-mode via that dial code. Can you explain where you found the battery test?
Click to expand...
Click to collapse
Dial *#*#3424#*#* and click <more> in the right lower corner
iourikil said:
not sure it works, but try this
the wiping the partition cache from stock recovery is not quite the same as factory reset
Click to expand...
Click to collapse
Not sure if I understand this: I did the Power-button - volume down - 'Factory reset withour keeping data" - as given on the HTC website
PuffDaddy_d said:
Wow - I wish you had posted this 2 days earlier! I just had a new battery purchased for my phone and I'm getting a local repair shop to replace it. Sounds like my battery could be fine and I will likely have the same results after it's replaced!
If you fully charge the phone in safe mode, does the phone battery still last the appropriate amount of time in regular mode or does it still shut off prematurely?
Click to expand...
Click to collapse
It still does: Fully charged in safe-mode it shuts down @30% - does seem to last longer to reach 30% level
Last night I tried a different trick:
After shutdown @30% I kept the phone off and recharged it to 29 %
I put the phone back on and drained the battery to 0% - ignoring all warnings ("please charge .... CHARGE ..... G*DDAMN START CHARGING, I'M FREAKING DYING HERE ....)
Recharged the battery while powered off from 0% to 100%
Tested this morning: Same battery level in regular mode as in safe mode (98%)
Hmmm, I seem to remember doing some thing similar by accident with my phone when I stopped charging around 30% to use it. It drained to 0 shortly after and I fully recharged while in recovery mode. The battery seemed to last longer that time, but any subsequent charging before letting the battery die seemed to result in the same poor battery life. It's not a real solution but if you can confirm that yours acts similarly, then it's more info for us to have as we try to figure this out.
Sent from my HTC One S using XDA Free mobile app

Mi4C shuts down at 30 %

I have a problem with my mi4c.
Everytime my phone touches the 30 % mark it shuts down.
After it is off I restart it and I can see ~25% and use it until shuts down at 0%.
Does anyone know how to solve the problem?
I'm running Resurrection Rom 5.7.4 with 2.00 OC kernel.
Also I'm using magisk.
I flashed the Rom etc. Around 3 days ago
first of all, flash some other rom to see if it persists
but frankly, most probably the battery is worn out, ie. if there's some stress and huge amount of power is being drawn, a dead battery won't be able to give proper voltage, the voltage drops and the system reads it as if battery level dropped to 0% level (the percentage is calculated from actual voltage, ie. ~4,35v = full, somewhere about 3,5v means 'empty') <-sorry for non-scientific description
btw. my battery shows similar symptoms - ie. it quickly drops from 100% to 85% and it happens that the phone shuts down if I try to run something demanding when batt level <20%. waiting for replacement to be delivered
I have the same issue
I just saw similar complaints in polish mi4c forums - I believe the batteries are either bad quality ones or rather they're designed to give too much output concerning their real size/capacity. How is that? just let electronics charge it waay over 4,2v - you "gain" some capacity and then you let it discharge to much less than 3,6v - you "gain" another couple of mAh. You can boast your slim battery has 3000mAh, but only for first 50-100 cycles (enogh for web tests to get good opinions and sell many phones) and then its capacity falls rapidly - because you're left with "real" battery capacity (I mean for voltages between 4,2 and 3,6v).
So, I personally believe the replacement battery will behave more or less the same because of the phone electronics it will be killed within similar period of time
adamuadamu said:
I just saw similar complaints in polish mi4c forums - I believe the batteries are either bad quality ones or rather they're designed to give too much output concerning their real size/capacity. How is that? just let electronics charge it waay over 4,2v - you "gain" some capacity and then you let it discharge to much less than 3,6v - you "gain" another couple of mAh. You can boast your slim battery has 3000mAh, but only for first 50-100 cycles (enogh for web tests to get good opinions and sell many phones) and then its capacity falls rapidly - because you're left with "real" battery capacity (I mean for voltages between 4,2 and 3,6v).
So, I personally believe the replacement battery will behave more or less the same because of the phone electronics it will be killed within similar period of time
Click to expand...
Click to collapse
Could be.
But why does it shut off at 30 %?
If I restart it I can use the 25%.
Is the voltage drop at 30 % so high that it shuts off?
I don't know if it happens on Miui.
I only experienced it on cm13 /rr 5.7.4
I was curious to find how's the battery condition, installed that app: https://play.google.com/store/apps/details?id=kr.hwangti.batterylog
it allows to see battery percentage, temp and current voltage when the percentage changes
so, my battery is already junk - there are numerous serious voltage drops like:
Code:
98% - 4270mV
96% - [COLOR="Red"]4075mV[/COLOR]
95% - 4199mV
or from previous charge cycle:
Code:
34% - 3715mV
33% - [COLOR="red"]3498mV[/COLOR]
31% - 3764mV
my new battery is on its way to destination country, curious to see how it'd look after replacement
right now, no wonder why it's shutting itself randomly
could you guys check your voltages and post here, too?
adamuadamu said:
I was curious to find how's the battery condition, installed that app: https://play.google.com/store/apps/details?id=kr.hwangti.batterylog
it allows to see battery percentage, temp and current voltage when the percentage changes
so, my battery is already junk - there are numerous serious voltage drops like:
Code:
98% - 4270mV
96% - [COLOR="Red"]4075mV[/COLOR]
95% - 4199mV
or from previous charge cycle:
Code:
34% - 3715mV
33% - [COLOR="red"]3498mV[/COLOR]
31% - 3764mV
my new battery is on its way to destination country, curious to see how it'd look after replacement
right now, no wonder why it's shutting itself randomly
could you guys check your voltages and post here, too?
Click to expand...
Click to collapse
According to the log, i also find random drops (max ~200mV). However I dont think my battery has problem. Battery life is excellent too. Maybe thats normal for LiPO batteries.
Ydraulikos said:
According to the log, i also find random drops (max ~200mV). However I dont think my battery has problem. Battery life is excellent too. Maybe thats normal for LiPO batteries.
Click to expand...
Click to collapse
can you share what ROM you're using? I wondered if this can be somehow linked to rom and its internal readings and or interpretation
adamuadamu said:
can you share what ROM you're using? I wondered if this can be somehow linked to rom and its internal readings and or interpretation
Click to expand...
Click to collapse
CM13 with kuma sources latest (20161006) build from emfox
thanks for the reply
will try to change the ROM to see if it persists
I've tried with xiaomi.eu stable ROM. I have the same values. I think that it is regular, since even in the play store's images you can see the same.
adamuadamu said:
could you guys check your voltages and post here, too?
Click to expand...
Click to collapse
Here, have my log (in attachment) from charged at 100% to completely discharged. There are a few drops here and there but it recovers quickly. I get around 5h 30m screen-on-time on TeamSuperluminal's CM13.
This is happening to me too (and to others on our italan facebook group).
I was posting this:"Guys i'm not able to solve this problem: i have a xioami mi4c (1 year old), and recently (every time) when i arrive under 20% of battery it suddenly shuts down. I already tried to turn it off multiple times and to charge it back to 100% without unplugging it but it doesn't work.
I don't know what to do; and when it should be without power (like you cannot turn it on) it shows something like 43% when connected to the charger."
When i saw this thread .
I always had miui but till last week i flashed cm13.1 TS.. i went to cm trying to solve heating issues and now the phone is really a lot less hot but i'm keeping with me those battery issues.. they're really annoying :/
Sent from my Mi-4c using Tapatalk
---------- Post added at 11:34 AM ---------- Previous post was at 10:41 AM ----------
Phlogistol said:
Here, have my log (in attachment) from charged at 100% to completely discharged. There are a few drops here and there but it recovers quickly. I get around 5h 30m screen-on-time on TeamSuperluminal's CM13.
Click to expand...
Click to collapse
How can you reach so many hours?i play sometimes to pokemon go or clash royale and i usually reach 3h!
Sent from my Mi-4c using Tapatalk
Bazzu said:
How can you reach so many hours?i play sometimes to pokemon go or clash royale and i usually reach 3h!
Click to expand...
Click to collapse
It's not the topic for that, but I rarely play games on the phone and mostly use it for text messaging. I also keep the screen brightness low (around 45 to 50%).
There seems to be quite a lot of variation between individual Mi4c's, so I guess some have better batteries or screens that spend less power; I've read up a lot on it and nobody's decided on an answer as of yet.
Aren't we in a troubleshooting thread ? this thing about variations between same model makes me really sad and angry..why the [email protected]%$ should be possible! I'm enjoying a lot my xiaomi but how can i trust again in the brand?
Sent from my Mi-4c using Tapatalk
Bazzu said:
Aren't we in a troubleshooting thread ? this thing about variations between same model makes me really sad and angry..why the [email protected]%$ should be possible! I'm enjoying a lot my xiaomi but how can i trust again in the brand?
Click to expand...
Click to collapse
It's well known that manufacturers mix and match components to assemble even a single phone model. The most familiar case is Apple with the iPhone 6 and the A8 SoC, which had two flavors: TSMC and Samsung. But, what I've said is speculation and not fact.
I'm sure there are two variants of the Mi4c that use either a Sharp or an AUO screen, and it might be that the battery life is impacted by this or that there are two or more battery variants that are put into the Mi4c. No one ever collected enough data to be sure this is the definite cause of weaker battery life, though.
Same as everyone, I'd suggest buying the phone that gives you the most bang for your buck, be that Xiaomi or some other manufacturer. That's why I bought the Mi4c and I have only minor complaints, though the great community definitely helped
Phlogistol said:
It's well known that manufacturers mix and match components to assemble even a single phone model. The most familiar case is Apple with the iPhone 6 and the A8 SoC, which had two flavors: TSMC and Samsung. But, what I've said is speculation and not fact.
I'm sure there are two variants of the Mi4c that use either a Sharp or an AUO screen, and it might be that the battery life is impacted by this or that there are two or more battery variants that are put into the Mi4c. No one ever collected enough data to be sure this is the definite cause of weaker battery life, though.
Same as everyone, I'd suggest buying the phone that gives you the most bang for your buck, be that Xiaomi or some other manufacturer. That's why I bought the Mi4c and I have only minor complaints, though the great community definitely helped
Click to expand...
Click to collapse
Yeah you're absolutely right :good:
I bought the mi4c for the same reason...but after all, i have to complain about its battery and touch (yeah i don't like it so much).
Anyway a new battery is coming; up to now it's working good but i don't trust so much of the hardware, so before the "shutting down threshold" grows, i'd like to be "safe".
(little ot: inside our italian forum someone suggested that redmi 3 pro is far better then mi4c ; what do you think ? ; if you prefer you can private message me)
redmi 3pro would be far better except for the camera depends on your needs - also, if you want to run custom roms, check if there are any stably ones beforehand
my battery arrived yesterday, changed yesterda, charged overnight and observing - still running battery log and so far the voltage drops are negligible compared to the original one like 0,02v instead of 0,2v. I'll give full report after full discharge cycle
adamuadamu said:
redmi 3pro would be far better except for the camera depends on your needs - also, if you want to run custom roms, check if there are any stably ones beforehand
my battery arrived yesterday, changed yesterda, charged overnight and observing - still running battery log and so far the voltage drops are negligible compared to the original one like 0,02v instead of 0,2v. I'll give full report after full discharge cycle
Click to expand...
Click to collapse
Was the change easy to do?
I don't care so much about camera..i absolutely prefer battery and a smooth system, for casual gaming and browsing
Sent from my Mi-4c using Tapatalk
Use only MIUI 8 from Xiaomi.eu
Any other rom has various problems.

[WORKAROUND][SamPWND] Charge to 100% Snapdragon Root

I was able to find a workaround for the battery percentage:
1. FIRST Get your battery capacity!!!
$ adb shell cat /sys/class/power_supply/battery/batt_capacity_max
800
2. Calculate your 100%
800 * 1.2 = 960
3a. Charge battery fully (UI will say 80%):
Use your new 100% value in place of my 960!!
adb shell
$ su
# echo 960 > /sys/class/power_supply/battery/batt_capacity_max
3b. To revert back (and see actual %):
put your old value in place of my 800 here
adb shell
$ su
# echo 800 > /sys/class/power_supply/battery/batt_capacity_max
Warning:
This is not persistent across reboots (but could be implemented as such)
This does not change the fact that your battery meter will say 80%
This confuses your phone into thinking the 80% limit is higher than it actually is
This could be harmful to your battery life, battery condition, and battery operation
The Control Chip on the battery itself should prevent any unnecessary charging from occurring
I'm just a guy on the internet, don't mess with your phone unless your are willing to pay for any mistakes.
How this works:
The Kernel reads the battery percentage from /sys/class/power_supply/battery/capacity
We make the maximum battery capacity increase by 20% /sys/class/power_supply/battery/batt_capacity_max (the commands above)
Kernel reads the battery percentage from /sys/class/power_supply/battery/capacity again and its now 20% lower because of capacity calculations (percentage = used capacity / batt_capacity_max)
Kernel lets the charging continue to 80% which is in actuality 100%
FAQ
Does this work?
Yes this works. The explanation is above. Succinctly, these commands trick your kernel into thinking the 80% limit is at 100% of the battery.​
Shouldn't we be adding 25% to reach 100% of the battery?
While this is correct, I tested a few percentages and noted that 20% increase will reach 99% battery on my phone. This does not mean it will for everyone. PLEASE BE COGNIZANT OF OVERCHARGING​
This isn't working for me, why do the values change?
You must be a superuser in the terminal for these commands to stick. They do not stick across reboots.​
This still doesn't work, wah wah wah. I wan't 100%...
I am trying to help the community. If you don't want help you can keep the 80% charge. Multiple people have said it works. If you don't want to try it don't. Blindly saying it doesn't work is only poisoning the well.​
Video Guide:
Setting Battery Maximum Past 80%
https://youtu.be/dEdmIDEKYtA
Setting Battery Maximum Back to Original
https://youtu.be/TDirEoSsSkk
But does it actually go to 100?
If you do step 3b after you charge to 80% it will change to say 100%.
Steps 1,2,3a will bring you to 100% charge physically; almost as if the battery meter was designed to go 0-80
Note: this charges to your battery maximum (regardless of what percentage it says)
nm1557 said:
If you do step 3b after you charge to 80% it will change to say 100%.
Steps 1,2,3a will bring you to 100% charge physically; almost as if the battery meter was designed to go 0-80
Note: this charges to your battery maximum (regardless of what percentage it says)
Click to expand...
Click to collapse
interesting, anyway to keep it persistent?
nm1557 said:
2. Calculate your 100%
800 * 1.2 = 960
Click to expand...
Click to collapse
That's 96%, multiply it by 25 to get 100%.
Hmm the original file says 948 though, strange.
peachpuff said:
That's 96%, multiply it by 25 to get 100%.
Hmm the original file says 948 though, strange.
Click to expand...
Click to collapse
Yours may be different. It's based off your battery stats. And it should only be 20% increase.
fever308 said:
interesting, anyway to keep it persistent?
Click to expand...
Click to collapse
Write a shell script that runs on start.
This is a verbose way to do this, I am looking into a better way to get around the kernel.
nm1557 said:
And it should only be 20% increase.
Click to expand...
Click to collapse
Yes but you're multiplying 20% of 80 which is incorrect, that only gives you 96% not 100%.
If you subtract 20% from 1000 you get 800, but when you add 20% to 800 its 960, get it?
peachpuff said:
Yes but you're multiplying 20% of 80 which is incorrect, that only gives you 96% not 100%.
If you subtract 20% from 1000 you get 800, but when you add 20% to 800 its 960, get it?
Click to expand...
Click to collapse
That's the thing, The 800 value has nothing to do with percentage. It's variable across devices and its coincidence thats its 800.
So is it really 100 or just the image of it
Rally517 said:
So is it really 100 or just the image of it
Click to expand...
Click to collapse
It really is 100%.
Hmmm. Have you battery life changed in any way? Just got me excited
i bit the bullet on this and went for it. everything seems to be fine so far. my max_batt_capacity value was 885, so 100% would be 1062, however, i backed it off to 1000, just to be safe. will update after tomorrow.
If A is the number we want the phone to charge the battery to, and the phone stops charging at 80% of A, the number we need to set A to is A * 1.25 , not A * 1.2
So, if the original number is 800, we need to set it to 1000, since the phone will calculate 80% of 1000 to allow it to be charged until 800.
Does that make sense?
So you are effectively increasing the battery capacity of an s8 by 600 mah and s8+ by 700 mah? Am I understanding this thread correctly? If so this seems like a huge problem waiting to happen.
tommyg562000 said:
So you are effectively increasing the battery capacity of an s8 by 600 mah and s8+ by 700 mah? Am I understanding this thread correctly? If so this seems like a huge problem waiting to happen.
Click to expand...
Click to collapse
no, this is a work around after using the SAMpwned root method, which caps the battery life at 80% of max.
Lol I have a feeling we are gonna see some batteries exploding again, lol
Sent from my SM-G955U using Tapatalk
I'm still on the stock rom and unrooted and the stock valve in the batt_capacity_max file is 990
great find! i figured it had something to do with that file but wasnt sure how it was calculated as mine says 1000 but others was different lol..
but our idea was if this was in fact the case that you create an init.d script that runs on each boot that will automagically correct it each time you reboot the phone
---------- Post added at 07:35 AM ---------- Previous post was at 07:34 AM ----------
to add, this is also why we releaeed it as is, we figured someone in the community would figure it out!
thanks again!
---------- Post added at 08:26 AM ---------- Previous post was at 07:35 AM ----------
actually, changing that file instantly changes back to its original setting for me
One thing that I didn't get.
Okay, the phone will think the maximum is 1000 and will try to charge the battery up to 800, which is the real target. Great.
The screenshot, though, shows the indicator on the notification bar close to 100%, in the rooted phone.
So, the routine that checks the phone charge and limits it to 80% is independent from the check embedded on the indicator charge, right? Otherwise the indicator would never reach 100% even on the rooted phone, and even though the battery was actually 100% charged.

Limit Battery Charge

TL,DR:
/sys/devices/platform/huawei_charger/enable_charger – 1 or 0. Enables or Disables the charger, respectively, even if a power source is connected (think overnight charging). Automatically becomes 1 when a power source is connected. Automatically becomes 0 when no power source is connected.
/sys/devices/platform/battery/power_supply/Mains/online – 1 or 0. If a power source is connected, this becomes a 1. If no power source is connected, this becomes a 0.
Use something like Tasker or the "Battery Charge Limit" app to control these.
(I'm pretty sure root is needed to access/modify these files.)
Background:
This is for those who are familiar with the study – https://batteryuniversity.com/index.php/learn/article/how_to_prolong_lithium_based_batteries (and also perhaps for those who are learning about this for the first time and want to try it out). Whether or not this has actually prolonged any of my device batteries, I don't know, but I figure it can't hurt (right??), so I offer this information as-is (I also wanted to give back to the community, since I haven't seen this information posted yet). I haven't personally done any independent tests. I'm not responsible for any damage that may or may not occur as a result of this modification.
I'm using the GlobAL00ized ROM version 1.5 (.198 firmware) – https://forum.xda-developers.com/mate-20-x/development/rom-mate-20-x-global00ized-beta-t3892304
I wish I had previously done this on my Xiaomi Mi Mix 1. I have a feeling some of us had this device. At least for me, I feel like the battery life has gone down on it. I'm not sure if it was the ROM I was using, or my charging habits (let it charge to 100% overnight, would sometimes let it die at 0%), or just its normal battery degradation.
I played around with these files for a couple weeks (before making this post) just to see if there were any issues. I'm happy to report that I personally did not experience any issues.
I’m personally using Tasker to set the "enable_charger" file. I set it to 0 when my battery is at 80%. I set it to 1 when my battery is below 79%. I use the "online" file to to quit the charging task when I disconnect the power source; otherwise, it'll keep charging enabled and may conflict with my other task that disables charging at 80%.
If you want to try this out without having to use something like Tasker, I would recommend using the "Battery Charge Limit" app (com.slash.batterychargelimit). I've tested it on a previous device. The app/interface is really simple to use. You should just have to change the control file (the file that controls whether or not to enable the charger), which is /sys/devices/platform/huawei_charger/enable_charger. I haven't tried it myself on this device (to be honest, I probably should have started with this app, but I already had an existing Tasker profile from a previous device, so this was one less app I needed to install), but of all the standalone apps that offer this feature, this was the simplest/easiest to use (at least for me).
For those interested, as I mentioned above, I'm letting my device charge up to 80% max. I’m using Tasker to automatically turn my phone off when it discharges down to 50%. With my normal daily charging habits, that’s more than enough. Also, it’s forced me to change my normal usage habits a little, so I’m using my phone more conservatively when it’s not charging. It’s also nice knowing that when my phone has “died,” I still technically have 50% battery for “emergencies” (my Tasker task allows me to cancel the shutdown, if necessary).
Anyway, since this forum has helped me so much, I figured I'd share. I hope this helps anyone else who’s looking to do the same. Maybe start additional related conversation, or find some other hidden features. The huawei_charger folder has a bunch of other files. The platform folder also has a bunch of other huawei folders. These files could bring other desired functionality.
Additionally using a 5w 1amp slow charge is also good whilst using the 80-40 rule.
Sent from my EVR-L29 using Tapatalk
For more than 15 years, I've always have charged all of my devices overnight (from 10% - 20%) and never ever had degradation issues. Also all friends and family have been instructed to charge that way and there haven't been any premature battery deaths reported by anybody. I have read that article many moons ago and I disagree with it (in this case science can go ........) . I have a big pool of data to prove my disagreement.
On the other hand I had a couple of friends that don't listen and charge whenever and for as long as they fave time, and those batteries have degraded quite fast.
---------- Post added at 09:37 AM ---------- Previous post was at 09:36 AM ----------
For more than 15 years, I've always have charged all of my devices overnight (from 10% - 20%) and never ever had degradation issues. Also all friends and family have been instructed to charge that way and there haven't been any premature battery deaths reported by anybody. I have read that article many moons ago and I disagree with it (in this case science can go ........) . I have a big pool of data to prove my disagreement.
On the other hand I had a couple of friends that don't listen and charge whenever and for as long as they fave time, and those batteries have degraded quite fast.
OrionBG said:
For more than 15 years, I've always have charged all of my devices overnight (from 10% - 20%) and never ever had degradation issues. Also all friends and family have been instructed to charge that way and there haven't been any premature battery deaths reported by anybody. I have read that article many moons ago and I disagree with it (in this case science can go ........) . I have a big pool of data to prove my disagreement.
On the other hand I had a couple of friends that don't listen and charge whenever and for as long as they fave time, and those batteries have degraded quite fast.
---------- Post added at 09:37 AM ---------- Previous post was at 09:36 AM ----------
For more than 15 years, I've always have charged all of my devices overnight (from 10% - 20%) and never ever had degradation issues. Also all friends and family have been instructed to charge that way and there haven't been any premature battery deaths reported by anybody. I have read that article many moons ago and I disagree with it (in this case science can go ........) . I have a big pool of data to prove my disagreement.
On the other hand I had a couple of friends that don't listen and charge whenever and for as long as they fave time, and those batteries have degraded quite fast.
Click to expand...
Click to collapse
10 to 20% ? [emoji1787][emoji1787][emoji1787]
Sent from my EVR-L29 using Tapatalk
Limeybastard said:
10 to 20% ? [emoji1787][emoji1787][emoji1787]
Sent from my EVR-L29 using Tapatalk
Click to expand...
Click to collapse
I meant that I let the battery to go down to anywhere between 10% to 20% and then I charge to full, overnight.
OrionBG said:
I meant that I let the battery to go down to anywhere between 10% to 20% and then I charge to full, overnight.
Click to expand...
Click to collapse
Ok. I do the 80 -40 method using slow 5W charge. Nice and cool.
Sent from my EVR-L29 using Tapatalk
View attachment 4853577View attachment 4853581
Hi
I'm using battery charge limit app.
It works but not fully as expected.
It means the app stops the charging at desired level but then it keeps the level all the time, so it doesn't let the battery to be discharged to the other desired level.
Anyone has idea how to fix it?

Categories

Resources