Did this help?

  • Yes, absolutely thanks!

  • Not sure really...

  • Nope, it made it even worse!


Results are only viewable after voting.
Search This thread

s3korn

Senior Member
Sep 15, 2016
127
31
Ostwestfalen
Samsung Galaxy S10e
guys are you aware of the fact that if you replace the battery you have to reset the batt_cycle which has impact to the fg_full_voltage?

this is something which you have to do at least with the S10 series... as far as we know Samsung do the same if you give your phone to them for changing the battery for you. otherwise the new battery won't be fully charged.
 
Last edited:

Mightx

Account currently disabled
guys are you aware of the fact that if you replace the battery you have to reset the batt_cycle which has impact to the fg_full_voltage?

this is something which you have to do at least with the S10 series... as far as we know Samsung do the same if you give your phone to them for changing the battery for you. otherwise the new battery won't be fully charged.
Might be a similar process to resetting the fuel gauge but that's my take on it. It could be a different process altogether and applicable only for the newer Samsung phones. Maybe they are resetting the charge cycle count to mask how many times that battery has been charged and discharged but that's just speculation.
 

Mightx

Account currently disabled
I tried method 1. Battery reached 5% then i dialled number. Pressed quick start then phone died immediately.
Does this mean i have bad battery?
Not necessarily. Sometimes if you are at a very low percentage already, resetting the fuel gauge may shutdown the phone as it probably makes the percentage 0% which triggers the auto shutdown. At 5%, I really wouldn't worry about it but at higher percentages >10%, then maybe the battery is acting suspicious.
 

Yanimus27

New member
Sep 24, 2022
4
0
Samsung Phone Battery Calibration Guide

Description:

  • This guide is for those who are experiencing battery issues (e.g., battery suddenly dying at percentages >1% or battery draining too fast or messed up battery readings after custom ROM flash). If your phone is relatively new, unless if it came with a factory defect or you somehow managed to physically damage it, the battery shouldn’t need to be calibrated like this.

  • Lithium-Ion batteries really do degrade over time (e.g., voltage sag, electron migration, possibility of dendrites even) at around 500 or so full charge-discharge cycles and as such, old batteries will NEVER perform as well as new ones despite how much calibration you try to perform. You CAN NOT improve battery life with calibration and what this serves to do is just to make the phone read more accurate battery percentages to prevent aforementioned battery related issues from occurring, especially when one flashes custom ROMS quite regularly.

  • Also, despite what many apps claim to do, this guide is actually more effective than those, at least based on personal experience, in actually performing battery calibration on Samsung devices since even apps that require root permissions only delete the batterystats.bin file after telling the user to charge to 100% after a drain to 0% and as explained below, this solely can not fix your problems nor really do anything to calibrate your battery on your phone so results from these types of apps are really a hit-or-miss affair to say the very least.

Requirements:
  • Samsung/TouchWiz/OneUI Based Firmware/ROM
  • Phone Dialer App
  • A Samsung Phone with a poorly performing inaccurate battery that isn't really required to be replaced yet
  • USSD Code *#0228# (For Battery Menu & Fuel Gauge Reset)
  • USSD Code *#9900# (For System Dump Menu & Battery Stats Bin Reset)

*Quick Reset is a built-in function exclusive to Samsung phones used by their tech & support to really calibrate phones that are reading very inaccurate battery percentages by resetting the battery fuel gauge (no app or script can do what this does as far as I know, at least for Samsung phones and it has been proven to be very effective at making the phone more accurately read how much the phone is using relative to maximum battery capacity and usage)

*Resetting batterystats.bin, while it does not really calibrate nor improve your battery like what a lot of people espouse, what it does do is reset the battery information file so that the phone would be "fresh" and the battery usage learning A.I. such as adaptive battery won't accidentally base its optimizations on your old "inaccurate" usage and battery performance



Method 1 (Best Method)

1. Drain Battery to 5%
2. Open phone dialer and type *#0228# then click “Quick Start” then press “OK” when the warning prompt comes up (note that this won’t work if you are plugged in still so unplug first before attempting to run this USSD code)
3. Wait for phone screen to turn on again and notice your battery percentage (it should have gone down to your actual battery percentage)
4. Charge the device to 100% without interruptions
5. Turn off the phone then turn it on again then unplug it from the Charger
6. Repeat Steps 2-4 for around 3 more times (after approximately the third time, battery readings should be leveled out and it should read 100% even after pressing quick start; if not, repeat a few more times and if it still won’t level out then that means your battery is yearning for a replacement)
7. With the phone plugged in at 100%, go back to phone dialer and type *#9900# then scroll down to “batterystats.bin reset” and click it
8. Exit the SysDump Menu and reboot the phone
9. Repeat Steps 1-8 after a week
10. Enjoy More Accurate Battery Readings!


Method 2 (Quicker Alternative to Method 1)

1. Open phone dialer and type *#0228# then click “Quick Start” then press “OK” when the warning prompt comes up (note that this won’t work if you are plugged in still so unplug first before attempting to run this USSD code)
2. Wait for phone screen to turn on again and notice your battery percentage (it should have gone down to your actual battery percentage)
3. Charge the device to 100% without interruptions
4. Repeat Steps 1-3 for around 3 more times (after approximately the third time, battery readings should be leveled out and it should read 100% even after pressing quick start; if not, repeat a few more times and if it still won’t level out then that means your battery is yearning for a replacement)
5. Repeat Steps 1-4 after a week
6. Enjoy More Accurate Battery Readings!


Method 3 (For Phones That Don’t Have the USSD Codes Mentioned Like Non-Samsung Phones)

1. Drain battery to 0%
2. Turn off the phone
3. Charge to 100% without interruptions
4. Turn on phone then if battery isn’t at 100%, charge until 100%
5. Unplug then reboot
6. If again the battery isn’t at 100%, charge until 100% then repeat as many times as necessary until 100% is 100% even after a reboot
7. Enjoy More Accurate Battery Readings!


Method 4 (Not Recommended and ONLY for EXTREMELY BAD cases of Battery Calibration)

1. Drain battery to 0%
2. Turn the phone back on
3. If it dies again, keep turning it on repeatedly until the boot logo/animation doesn’t show up anymore
4. Charge until 100% while the phone is off without interruptions
5. Turn on the phone
6. Enjoy More Accurate Battery Readings!


*Note that Methods 1 & 2, at least based on personal experience with Samsung phones, are the most effective ones while Method 3 is a more generic methodology that may work for non-Samsung phones as well. On the other hand, method 4 MAY POTENTIALLY hasten battery degradation if done too often so it isn’t really advised to do so unless if the phone has no USSD codes aforementioned even on its stock firmware and battery readings are already a mess.

*You can try to flash your latest stock firmware if the USSD codes aren’t supported by your current custom ROM (e.g., CM, LineageOS, Note7 Port, etc.) then perform Methods 1 or 2 then use the phone for a few charge-discharge cycles then go back and flash your preferred custom Recovery, ROM, Kernel, Vendor, API, Mods, Root, etc.…

*If any of the above methods do not seem to work, then your battery is basically waving goodbye at you…
Recently I buy a secondhand Samsung m31 phone, I dial all the codes almost all of it work except for the code for battery which was *#0228#, can you explaines whats the meaning of that? The code isnt working
 

Yanimus27

New member
Sep 24, 2022
4
0
Samsung Phone Battery Calibration Guide

Description:

  • This guide is for those who are experiencing battery issues (e.g., battery suddenly dying at percentages >1% or battery draining too fast or messed up battery readings after custom ROM flash). If your phone is relatively new, unless if it came with a factory defect or you somehow managed to physically damage it, the battery shouldn’t need to be calibrated like this.

  • Lithium-Ion batteries really do degrade over time (e.g., voltage sag, electron migration, possibility of dendrites even) at around 500 or so full charge-discharge cycles and as such, old batteries will NEVER perform as well as new ones despite how much calibration you try to perform. You CAN NOT improve battery life with calibration and what this serves to do is just to make the phone read more accurate battery percentages to prevent aforementioned battery related issues from occurring, especially when one flashes custom ROMS quite regularly.

  • Also, despite what many apps claim to do, this guide is actually more effective than those, at least based on personal experience, in actually performing battery calibration on Samsung devices since even apps that require root permissions only delete the batterystats.bin file after telling the user to charge to 100% after a drain to 0% and as explained below, this solely can not fix your problems nor really do anything to calibrate your battery on your phone so results from these types of apps are really a hit-or-miss affair to say the very least.

Requirements:
  • Samsung/TouchWiz/OneUI Based Firmware/ROM
  • Phone Dialer App
  • A Samsung Phone with a poorly performing inaccurate battery that isn't really required to be replaced yet
  • USSD Code *#0228# (For Battery Menu & Fuel Gauge Reset)
  • USSD Code *#9900# (For System Dump Menu & Battery Stats Bin Reset)

*Quick Reset is a built-in function exclusive to Samsung phones used by their tech & support to really calibrate phones that are reading very inaccurate battery percentages by resetting the battery fuel gauge (no app or script can do what this does as far as I know, at least for Samsung phones and it has been proven to be very effective at making the phone more accurately read how much the phone is using relative to maximum battery capacity and usage)

*Resetting batterystats.bin, while it does not really calibrate nor improve your battery like what a lot of people espouse, what it does do is reset the battery information file so that the phone would be "fresh" and the battery usage learning A.I. such as adaptive battery won't accidentally base its optimizations on your old "inaccurate" usage and battery performance



Method 1 (Best Method)

1. Drain Battery to 5%
2. Open phone dialer and type *#0228# then click “Quick Start” then press “OK” when the warning prompt comes up (note that this won’t work if you are plugged in still so unplug first before attempting to run this USSD code)
3. Wait for phone screen to turn on again and notice your battery percentage (it should have gone down to your actual battery percentage)
4. Charge the device to 100% without interruptions
5. Turn off the phone then turn it on again then unplug it from the Charger
6. Repeat Steps 2-4 for around 3 more times (after approximately the third time, battery readings should be leveled out and it should read 100% even after pressing quick start; if not, repeat a few more times and if it still won’t level out then that means your battery is yearning for a replacement)
7. With the phone plugged in at 100%, go back to phone dialer and type *#9900# then scroll down to “batterystats.bin reset” and click it
8. Exit the SysDump Menu and reboot the phone
9. Repeat Steps 1-8 after a week
10. Enjoy More Accurate Battery Readings!


Method 2 (Quicker Alternative to Method 1)

1. Open phone dialer and type *#0228# then click “Quick Start” then press “OK” when the warning prompt comes up (note that this won’t work if you are plugged in still so unplug first before attempting to run this USSD code)
2. Wait for phone screen to turn on again and notice your battery percentage (it should have gone down to your actual battery percentage)
3. Charge the device to 100% without interruptions
4. Repeat Steps 1-3 for around 3 more times (after approximately the third time, battery readings should be leveled out and it should read 100% even after pressing quick start; if not, repeat a few more times and if it still won’t level out then that means your battery is yearning for a replacement)
5. Repeat Steps 1-4 after a week
6. Enjoy More Accurate Battery Readings!


Method 3 (For Phones That Don’t Have the USSD Codes Mentioned Like Non-Samsung Phones)

1. Drain battery to 0%
2. Turn off the phone
3. Charge to 100% without interruptions
4. Turn on phone then if battery isn’t at 100%, charge until 100%
5. Unplug then reboot
6. If again the battery isn’t at 100%, charge until 100% then repeat as many times as necessary until 100% is 100% even after a reboot
7. Enjoy More Accurate Battery Readings!


Method 4 (Not Recommended and ONLY for EXTREMELY BAD cases of Battery Calibration)

1. Drain battery to 0%
2. Turn the phone back on
3. If it dies again, keep turning it on repeatedly until the boot logo/animation doesn’t show up anymore
4. Charge until 100% while the phone is off without interruptions
5. Turn on the phone
6. Enjoy More Accurate Battery Readings!


*Note that Methods 1 & 2, at least based on personal experience with Samsung phones, are the most effective ones while Method 3 is a more generic methodology that may work for non-Samsung phones as well. On the other hand, method 4 MAY POTENTIALLY hasten battery degradation if done too often so it isn’t really advised to do so unless if the phone has no USSD codes aforementioned even on its stock firmware and battery readings are already a mess.

*You can try to flash your latest stock firmware if the USSD codes aren’t supported by your current custom ROM (e.g., CM, LineageOS, Note7 Port, etc.) then perform Methods 1 or 2 then use the phone for a few charge-discharge cycles then go back and flash your preferred custom Recovery, ROM, Kernel, Vendor, API, Mods, Root, etc.…

*If any of the above methods do not seem to work, then your battery is basically waving goodbye at you…
Recently I buy a secondhand Samsung m31 phone, I dial all the codes almost all of it work except for the code for battery which was *#0228#, can you explaines whats the meaning of that?
 

Mightx

Account currently disabled
Recently I buy a secondhand Samsung m31 phone, I dial all the codes almost all of it work except for the code for battery which was *#0228#, can you explaines whats the meaning of that?
The availability of USSD codes on your Samsung device depends on the firmware/ROM it is running on. For Samsung, stock firmware have the best chance of having complete USSD codes, then next are ROM's which are Touchwiz or OneUI based. USSD codes are completely different for Stock android firmware and AOSP based firmware as they have their own set of dialer codes.

As for your problem, you may want to check if the phone you purchased is running the official stock firmware. If it is, then check for firmware updates and ensure it is on the latest version available for your region and model.
 

gbastos

New member
Dec 6, 2022
1
0
Hello, I have a samsung galaxy s22, recently bought and the battery lasts a short time. I wanted to run these tests, but the code *#0228# no longer works on some devices after an update. Does anyone know an alternative?
 

lstic

Senior Member
Oct 24, 2012
180
78
Njivice
I wonder the same. I'm on latest update on S10e. Last year i used this code with no problem, but now it doesn't trigger anything.
 

Mightx

Account currently disabled
Hello, I have a samsung galaxy s22, recently bought and the battery lasts a short time. I wanted to run these tests, but the code *#0228# no longer works on some devices after an update. Does anyone know an alternative?

I wonder the same. I'm on latest update on S10e. Last year i used this code with no problem, but now it doesn't trigger anything.

In order to access a dialer code, the firmware must support and contain it. You'd notice most of these codes missing from some OneUI custom ROMs which are advertised as "light" or "for gaming" since devs behind these ROMs try shaving down as much bloat as they can. Also, for most GSIs, since they are not OneUI or Touchwiz based, they would have their own codes but without the Samsung-proprietary ones like the fuel gauge. Try using apps from the Playstore that reveal your phone's current secret codes to try and check if the fuel gauge code (*#0228#) is present. If not, then you have your answer (your recent update may have removed it either accidentally or intentionally, so rollback if you can and if you need to).
 

mohammadhlwani

New member
Mar 21, 2018
2
0
Hello,

i have entered *#9900# but i can't find “batterystats.bin reset” option, what shall i do?

my phone is galaxy alpha and the battery is draining super fast and i dont know what to do
 
guys are you aware of the fact that if you replace the battery you have to reset the batt_cycle which has impact to the fg_full_voltage?

this is something which you have to do at least with the S10 series... as far as we know Samsung do the same if you give your phone to them for changing the battery for you. otherwise the new battery won't be fully charged.
How can I reset the batt_cycle value for my new battery?
 

s3korn

Senior Member
Sep 15, 2016
127
31
Ostwestfalen
Samsung Galaxy S10e

translate and read it carefully!
 
  • Like
Reactions: lolli.filippo

translate and read it carefully!
Thanks a lot!!!
I have a Galaxy S8, the stock battery capacity was 3000mAh and my new battery claims to be 4000mAh, but it's the same size. (The battery is from a brande called Asesino if you want to check it)
There are others value to change in my case?
 
I have the same problem with S22, have you solved it? I'm currently testing the battery after resetting the battery stats with *#9900#
You shoud try to discharge the battery until the phone dies, than enter in recovery mode and let it dies again.
After that plug it to the charger and let him charge up to 100% and let it plugged for 20 minutes at 100%
Start the device with the charger plugged and when it says charge complete you can unplug it.

After this you can check your battery stats on ADB with the following command

adb shell dumpsys battery

You can get informatins like
-Charge counter = mAh in your battery releted to your battery percentage
(if battery is full charged, the output is your battery capacity in mAh)
-mSavedBatteryAsoc= Battery Health in %
-mSavedBatteryUsage= Battery Charge Cycles

If you need help reading these stats take a screenshot and I'll pleased to help you.

Make sure to disable fast charging in Device Care before running this process

I link you a OneUI optimization guide if you want to go gain some extra juice from your battery, but use it carefully and USE ONLY what you can understand
 
  • Like
Reactions: Saverio04
You shoud try to discharge the battery until the phone dies, than enter in recovery mode and let it dies again.
After that plug it to the charger and let him charge up to 100% and let it plugged for 20 minutes at 100%
Start the device with the charger plugged and when it says charge complete you can unplug it.

After this you can check your battery stats on ADB with the following command

adb shell dumpsys battery

You can get informatins like
-Charge counter = mAh in your battery releted to your battery percentage
(if battery is full charged, the output is your battery capacity in mAh)
-mSavedBatteryAsoc= Battery Health in %
-mSavedBatteryUsage= Battery Charge Cycles

If you need help reading these stats take a screenshot and I'll pleased to help you.

Make sure to disable fast charging in Device Care before running this process

I link you a OneUI optimization guide if you want to go gain some extra juice from your battery, but use it carefully and USE ONLY what you can
thanks for the help today i will follow the calibration guide! I would like to ask 2 questions. 1) do I stay connected S22 off up to 100% for a few hours? (to make sure it takes as much charge as possible). 2) can I execute the ADB commands even just after I turned the S22 back on at 100% or should I wait for a next 100% recharge (non-calibrative)?
 
  • Like
Reactions: lolli.filippo
thanks for the help today i will follow the calibration guide! I would like to ask 2 questions. 1) do I stay connected S22 off up to 100% for a few hours? (to make sure it takes as much charge as possible). 2) can I execute the ADB commands even just after I turned the S22 back on at 100% or should I wait for a next 100% recharge (non-calibrative)?
1) 20 minutes are enough
2)yes, you can use the command just after the fist full charge

Btw do you have root access?
 
  • Like
Reactions: Saverio04
1) 20 minutes are enough
2)yes, you can use the command just after the fist full charge

Btw do you have root access?
no I don't have root permissions but in any case I've already managed to see the values you indicated by trying the command before starting the calibration procedure. thanks again I'm almost done draining the battery of my S22!
 
  • Like
Reactions: lolli.filippo

Top Liked Posts

  • There are no posts matching your filters.
  • 1

    translate and read it carefully!
    1
    I have the same problem with S22, have you solved it? I'm currently testing the battery after resetting the battery stats with *#9900#
    You shoud try to discharge the battery until the phone dies, than enter in recovery mode and let it dies again.
    After that plug it to the charger and let him charge up to 100% and let it plugged for 20 minutes at 100%
    Start the device with the charger plugged and when it says charge complete you can unplug it.

    After this you can check your battery stats on ADB with the following command

    adb shell dumpsys battery

    You can get informatins like
    -Charge counter = mAh in your battery releted to your battery percentage
    (if battery is full charged, the output is your battery capacity in mAh)
    -mSavedBatteryAsoc= Battery Health in %
    -mSavedBatteryUsage= Battery Charge Cycles

    If you need help reading these stats take a screenshot and I'll pleased to help you.

    Make sure to disable fast charging in Device Care before running this process

    I link you a OneUI optimization guide if you want to go gain some extra juice from your battery, but use it carefully and USE ONLY what you can understand
    1
    You shoud try to discharge the battery until the phone dies, than enter in recovery mode and let it dies again.
    After that plug it to the charger and let him charge up to 100% and let it plugged for 20 minutes at 100%
    Start the device with the charger plugged and when it says charge complete you can unplug it.

    After this you can check your battery stats on ADB with the following command

    adb shell dumpsys battery

    You can get informatins like
    -Charge counter = mAh in your battery releted to your battery percentage
    (if battery is full charged, the output is your battery capacity in mAh)
    -mSavedBatteryAsoc= Battery Health in %
    -mSavedBatteryUsage= Battery Charge Cycles

    If you need help reading these stats take a screenshot and I'll pleased to help you.

    Make sure to disable fast charging in Device Care before running this process

    I link you a OneUI optimization guide if you want to go gain some extra juice from your battery, but use it carefully and USE ONLY what you can
    thanks for the help today i will follow the calibration guide! I would like to ask 2 questions. 1) do I stay connected S22 off up to 100% for a few hours? (to make sure it takes as much charge as possible). 2) can I execute the ADB commands even just after I turned the S22 back on at 100% or should I wait for a next 100% recharge (non-calibrative)?
    1
    thanks for the help today i will follow the calibration guide! I would like to ask 2 questions. 1) do I stay connected S22 off up to 100% for a few hours? (to make sure it takes as much charge as possible). 2) can I execute the ADB commands even just after I turned the S22 back on at 100% or should I wait for a next 100% recharge (non-calibrative)?
    1) 20 minutes are enough
    2)yes, you can use the command just after the fist full charge

    Btw do you have root access?
    1
    1) 20 minutes are enough
    2)yes, you can use the command just after the fist full charge

    Btw do you have root access?
    no I don't have root permissions but in any case I've already managed to see the values you indicated by trying the command before starting the calibration procedure. thanks again I'm almost done draining the battery of my S22!
  • 7
    Samsung Phone Battery Calibration Guide

    Description:

    • This guide is for those who are experiencing battery issues (e.g., battery suddenly dying at percentages >1% or battery draining too fast or messed up battery readings after custom ROM flash). If your phone is relatively new, unless if it came with a factory defect or you somehow managed to physically damage it, the battery shouldn’t need to be calibrated like this.

    • Lithium-Ion batteries really do degrade over time (e.g., voltage sag, electron migration, possibility of dendrites even) at around 500 or so full charge-discharge cycles and as such, old batteries will NEVER perform as well as new ones despite how much calibration you try to perform. You CAN NOT improve battery life with calibration and what this serves to do is just to make the phone read more accurate battery percentages to prevent aforementioned battery related issues from occurring, especially when one flashes custom ROMS quite regularly.

    • Also, despite what many apps claim to do, this guide is actually more effective than those, at least based on personal experience, in actually performing battery calibration on Samsung devices since even apps that require root permissions only delete the batterystats.bin file after telling the user to charge to 100% after a drain to 0% and as explained below, this solely can not fix your problems nor really do anything to calibrate your battery on your phone so results from these types of apps are really a hit-or-miss affair to say the very least.

    Requirements:
    • Samsung/TouchWiz/OneUI Based Firmware/ROM
    • Phone Dialer App
    • A Samsung Phone with a poorly performing inaccurate battery that isn't really required to be replaced yet
    • USSD Code *#0228# (For Battery Menu & Fuel Gauge Reset)
    • USSD Code *#9900# (For System Dump Menu & Battery Stats Bin Reset)

    *Quick Reset is a built-in function exclusive to Samsung phones used by their tech & support to really calibrate phones that are reading very inaccurate battery percentages by resetting the battery fuel gauge (no app or script can do what this does as far as I know, at least for Samsung phones and it has been proven to be very effective at making the phone more accurately read how much the phone is using relative to maximum battery capacity and usage)

    *Resetting batterystats.bin, while it does not really calibrate nor improve your battery like what a lot of people espouse, what it does do is reset the battery information file so that the phone would be "fresh" and the battery usage learning A.I. such as adaptive battery won't accidentally base its optimizations on your old "inaccurate" usage and battery performance



    Method 1 (Best Method)

    1. Drain Battery to 5%
    2. Open phone dialer and type *#0228# then click “Quick Start” then press “OK” when the warning prompt comes up (note that this won’t work if you are plugged in still so unplug first before attempting to run this USSD code)
    3. Wait for phone screen to turn on again and notice your battery percentage (it should have gone down to your actual battery percentage)
    4. Charge the device to 100% without interruptions
    5. Turn off the phone then turn it on again then unplug it from the Charger
    6. Repeat Steps 2-4 for around 3 more times (after approximately the third time, battery readings should be leveled out and it should read 100% even after pressing quick start; if not, repeat a few more times and if it still won’t level out then that means your battery is yearning for a replacement)
    7. With the phone plugged in at 100%, go back to phone dialer and type *#9900# then scroll down to “batterystats.bin reset” and click it
    8. Exit the SysDump Menu and reboot the phone
    9. Repeat Steps 1-8 after a week
    10. Enjoy More Accurate Battery Readings!


    Method 2 (Quicker Alternative to Method 1)

    1. Open phone dialer and type *#0228# then click “Quick Start” then press “OK” when the warning prompt comes up (note that this won’t work if you are plugged in still so unplug first before attempting to run this USSD code)
    2. Wait for phone screen to turn on again and notice your battery percentage (it should have gone down to your actual battery percentage)
    3. Charge the device to 100% without interruptions
    4. Repeat Steps 1-3 for around 3 more times (after approximately the third time, battery readings should be leveled out and it should read 100% even after pressing quick start; if not, repeat a few more times and if it still won’t level out then that means your battery is yearning for a replacement)
    5. Repeat Steps 1-4 after a week
    6. Enjoy More Accurate Battery Readings!


    Method 3 (For Phones That Don’t Have the USSD Codes Mentioned Like Non-Samsung Phones)

    1. Drain battery to 0%
    2. Turn off the phone
    3. Charge to 100% without interruptions
    4. Turn on phone then if battery isn’t at 100%, charge until 100%
    5. Unplug then reboot
    6. If again the battery isn’t at 100%, charge until 100% then repeat as many times as necessary until 100% is 100% even after a reboot
    7. Enjoy More Accurate Battery Readings!


    Method 4 (Not Recommended and ONLY for EXTREMELY BAD cases of Battery Calibration)

    1. Drain battery to 0%
    2. Turn the phone back on
    3. If it dies again, keep turning it on repeatedly until the boot logo/animation doesn’t show up anymore
    4. Charge until 100% while the phone is off without interruptions
    5. Turn on the phone
    6. Enjoy More Accurate Battery Readings!


    *Note that Methods 1 & 2, at least based on personal experience with Samsung phones, are the most effective ones while Method 3 is a more generic methodology that may work for non-Samsung phones as well. On the other hand, method 4 MAY POTENTIALLY hasten battery degradation if done too often so it isn’t really advised to do so unless if the phone has no USSD codes aforementioned even on its stock firmware and battery readings are already a mess.

    *You can try to flash your latest stock firmware if the USSD codes aren’t supported by your current custom ROM (e.g., CM, LineageOS, Note7 Port, etc.) then perform Methods 1 or 2 then use the phone for a few charge-discharge cycles then go back and flash your preferred custom Recovery, ROM, Kernel, Vendor, API, Mods, Root, etc.…

    *If any of the above methods do not seem to work, then your battery is basically waving goodbye at you…
    3
    Here are some notable Q&A's regarding the process:

    Q: Is my 2+ year old battery going to improve after this process?
    A: It's hard to say as it is dependent upon many different factors such as how you use your phone, how many times you run it down to 0%, how often you charge, etc.... In short, it may or may not work in your favor as by this point, you are usually up to your 1000th+ charge cycle and the degradation can be so much so as to warrant a battery replacement instead of any software-related methodologies such as the guide above.

    Q: Is there a way to link certain mV readings of the battery to its charge percentage?
    A: I'm afraid this is very difficult if impossible and impractical since battery voltage readings regularly fluctuate by significant amounts during use and when not in use, depending on the workload and current draw. As such, voltage readings shouldn't be your main basis, if at all, when calibrating your battery. Sure, the voltage readings do go down when your charge goes down, but from 100%-90% the voltage for Lithium Ion batteries could be 4.2v-4v, and for around 80%-40% it could be around 3.9v-3.7v so the voltage vis a vis charge percentage is non-linear and variable, therefore not feasibly linkable to charge percentage.

    Q: Do you really need to wipe the battery stats bin file as the old saying goes?
    A: No not really since it has already been debunked that wiping this particular file only wipes the battery usage information such as the one visible from device care or in the settings, not the max or min limits of the battery percentage or anything else of further use. I only specifically included it in this guide so that you could start monitoring your battery performance from scratch and not get confused with your old usage and battery performance, since adaptive technology that uses A.I. such as adaptive battery in newer Android versions base their decisions on your past usage and having your old usage there to base on wouldn't be recommended if you want a fresh start.

    Q: Is bump charging (charging to 100% unplugging then charging back to 100% repeatedly) recommended?
    A: It isn't incredibly bad to do once and a while, although personally I wouldn't recommended doing so often. This is because with bump charging, you are basically trying to bypass the maximum limitations set by the OEM's as to how much you can charge past "100%" since "100%" on the phone isn't really that, instead it is sometimes around 85%-95% in reality so that you are physically limited from normally charging your Li-Ion battery to true full since this is very bad for its performance, longevity, and goes against its recommended usage. The same principle applies to the phone's "0%" in which it isn't actually true 0% as allowing the user to reach this would mean battery death in which it's own circuitry would shut it off to the point that you cannot recharge it without special equipment.


    Q: Why do I see many different ways to calibrate and use the battery fuel gauge reset technique?
    A: This is because Samsung hasn't given any official statements nor guides regarding this tool since they only use it internally and why would they teach the public how to use it if the users can just send in their phones to their service centers and they can charge them as they see fit? Well, conspiracy aside, some batteries and phones react differently to certain methodologies in which some phones, after tapping the reset fuel gauge, would actually jump up in percentage instead of normally dropping down. Some can get stuck at a certain percentage and some won't. Additionally, different people interpret the way the fuel gauge reset works differently so different guides can tell you different ways to do it, correct or not. As an example, this guide may not be correct at all yet as long as it works to some extent based on personal experience, then I don't see the harm in trying.

    Q: Why is my phone draining faster after doing this fuel gauge reset?
    A: It may be because the intent for resetting the gauge is so that it could try to figure out on its own more accurate readings and initially, at least for the first three charge-discharge cycles or so, it is still finding out if the battery should be at this percentage or that percentage. It is sort of like training itself but it should settle down after a few full charges and discharges.

    Q: Can I trust battery health apps even if they request root access?
    A: This can make them seem legit, but most of the time their effects are negligible at best. Take what they advertise with a grain of salt always. This is since no app can ever truly determine actual battery health and you usually need hardware tools for that since even Android can only say "Good" under battery health and no further details whatsoever.

    Q: When I buy a new battery, is it actually new and better?
    A: This depends on whether the battery you got was manufactured recently or back when your phone was still in the market. Remember that batteries degrade even when not in use and when stored, so always check the manufacture date of your battery and also check if it isn't some cheap Chinese knock-off imitation (fire-hazard beware!). If you aren't sure, just let Samsung deal with the battery replacement, albeit more costly.

    Q: For the J7 Prime specifically, how good can I expect the battery to be?
    A: As a long-time owner of this device as long as it first came out in early 2017, I could say that when you have installed recent Android versions through custom ROMS, like Android 9 Pie to Android 10 Q, the battery drain can be much more significant than it was back when it was specially on Android 6 MM since there are a lot more processes, app updates designed for more powerful phones, A.I. technology in the background, and new ways by which the OS works in general so it is tailored for newer and better devices and making it work on this relatively old phone is like running Windows 10 with all its features on a kid's computer from the 90's. Generally, with mixed usage, the phone can last you through the day with a single charge in the morning, with around 3-4 hours of screen on time. When gaming or streaming, SOT can be around 2-3 hours. Standby drain is noticeably worse on newer versions of Android as well. Back on marshmallow, the device can last around 2 days on mixed usage with 4-6 hours screen on time and very insignificant standby drain. Also, note that the device was newer back then so there's that.

    Q: Can certain ROMS affect battery performance?
    A: Absolutely! I've used unofficial CyanogenMod ROMS back then on my older phones and the battery drain was horrendous with around 2 hours battery life on standby and around 30 minutes or so of SOT! It all depends on how well optimized the ROMS are for the device so always check the feedback and developer's notes before installing any new custom ROM around here.

    Q: Why is my phone battery percentage different in TWRP or OrangeFox Recovery than it is inside the OS?

    A: This can happen on some devices such as the J7 Prime and other devices from other manufacturers even. I do not know for sure why, but it could be (1), either the recovery or the OS is delayed in reading the correct battery percentage and are out of sync, (2) a bug with the recovery or is device-specific, or (3) the battery needs calibration, although this last one isn't usually the case for phones such as the J7P where this "difference" could appear from time to time even when the battery is already well calibrated.
    1
    Thank you for that guide! I used it to calibrate my A70 Battery (4000 mAh) which i use in my A7 2018 (original 3000 mAh). I did the second method and had to do the 3 steps about 7 times. I had to restart my phone after every try to get my real percentage, it usually jumped from 100% fully charged to 65%.
    1
    Hello everyone. I have a question for you all. So, got a new phone a few weeks ago and I've noticed lately that after I charge it from, let's say around 10% to 100% and unplug it a minute or two after it reaches 100%, it stays on 100% for longer than it should. It stays on 100% for at least 15-20 minutes of active screen on use (no matter how I use my phone it stays on that 100% for quite some time), and after that the next few percent fall down quicker than they should - for an example after that initial 100% drains to 99, every 1% drains within 3-5 minutes of Screen on use until it reaches the 90-91 mark. When it reaches 90% it looks like it starts to function and drain normally. So my question here is: Can this calibration be off on such a new device?

    Thanks in advance.
    I mean, you could try if calibration does anything in your case. But I suppose that's more or less normal behavior since at very high battery percentages (beyond 90%), the software on your phone has a harder time figuring out how much juice is still remaining so the draining seems to slow down at the higher percentages and tends to speed up at the lower percentages (below 40%), which in net effect just gives you the same battery life just like if your phone were to drain evenly across all percentage levels. So imo, you shouldn't worry much about it.
    1

    translate and read it carefully!