BU-602: How does a Battery Fuel Gauge Work?

Discover how to measure battery state-of-charge and what future developments may bring.

The lifespan of a battery cannot be defined by the number of cycles or age alone but to a large extent by its usage (or misusage). As the capacity fades, the runtime gets shorter. The smart battery captures this capacity fade by reading the previous energy delivered, but these vital health statistics remain mostly hidden from the user. The battery continues to be a “black box” that conceals vital performance records and masks when the battery should be replaced.

One of the main tasks of the smart battery is to establish communication between the battery, charger and user. A fuel gauge indicating state-of-charge fulfills this in part. When pressing the TEST button on a fully charged SMBus battery, all signal lights illuminate. On a partially discharged battery, half the lights illuminate, and on an empty battery all lights remain dark or a red light appears. Figure 1 shows a fuel gauge of a battery that is 75 percent charged with three lights glowing.

State-of-charge readout of a “smart” battery

Figure 1: State-of-charge readout of a “smart” battery. Signal lights indicate the battery SoC when pressing the TEST button.

Courtesy of Cadex

While the SoC information displayed on a battery or a display screen is helpful to the user, the readout does not guarantee the runtime. The fuel gauge resets to 100 percent with a full recharge regardless of how much capacity the battery can store.

A serious breach of trust occurs if an aged battery shows 100 percent SoC while the battery’s ability to hold charge has dropped to 50 percent or less. We ask, “100 percent of what?” If, for example, 100 percent of a good battery results in a 4-hour runtime, a battery holding half the capacity would run for only 2 hours. Many users are unaware that the fuel gauge only shows SoC; capacity, the leading health indicator, remains unknown.

Other than applying a controlled discharge, there is no reliable method to measure the capacity of “chemical battery” but there is a way to read the “digital battery.” The term chemical battery refers to the actual capacity derived by discharging a fully charged pack, whereas the digital battery is a peripheral monitoring circuit that stores the estimated capacity derived by coulomb counting when charging and discharging a battery as part of field use.

The SMBus battery stores the factory-set design capacity in Ah or 100 percent by default. With each full charge, the battery resets the full-charge flag and during discharge, the coulomb counter measures the energy consumed. The in-and-out-flowing coulombs can be used to estimate battery state-of-health known as full charge capacity (FCC). As the battery fades with usage and time, so also does the delivered energy decrease, and the FCC number will decline. The FCC accuracy of a battery that is being deep cycled is about +/-5 percent compared to capacity readings taken by discharging. Periodic calibration will improve the FCC accuracy.

Capacity can also be estimated by coulomb counting during charging. This works best with an empty battery. A battery with a 100 percent capacity will receive the full coulomb count; one with only 50 percent capacity will only accept half before the battery reaches full charge. Not knowing the residual SoC when the coulomb count begins will affect the accuracy. SoC can be estimated by measuring the battery’s open circuit voltage (OCV), but this only gives a rough approximation as agitation after charge or discharge, as well as temperature, affects the OCV.

Tri-state Fuel Gauge

The SoC and capacity information can be shown on a linear display using colored LEDs. The green lights indicate the usable capacity; the empty part of the battery is marked with un-lit LEDs; and the unusable part is shown with red LEDs. Figure 2 illustrates a tri-state fuel gauge. The results can also be shown on a digital display.

Tri-state fuel gauge

Figure 2: Tri-state fuel gauge. The tri-state fuel gauge reads the “learned” battery information on the SMBus and displays it on a multi colored LED bar. The illustration shows a partially discharged battery of 50% SoC with 20% empty and 30% unusable.

Courtesy of Cadex

The tri-state fuel gauge provides state-of-function (SoF), the ultimate in battery diagnostics.  Some device manufacturers are hesitant to offer this feature to consumers because this could lead to elevated warranty claims. A replacement only becomes mandatory if the battery capacity drops below 80 percent; keeping the evidence hidden is seen as the least disruptive method. SoF can always be accessed by a service code.  SoF works best for industrial uses.

Vehicles with electric propulsion do not show the charge but only the remaining driving range, thus hiding the capacity. To accommodate capacity fade that would shorten the driving range, the EV battery is being oversized and does not fully charge and discharge when new. Only as the battery ages and the capacity fades does the charging range gradually increase. Shorter driving ranges only become apparent once this grace buffer has been consumed. (See BU-1003: Electric Vehicle.)

Last updated 2016-07-28

*** Please Read Regarding Comments ***

Comments are intended for "commenting," an open discussion amongst site visitors. Battery University monitors the comments and understands the importance of expressing perspectives and opinions in a shared forum. However, all communication must be done with the use of appropriate language and the avoidance of spam and discrimination.

If you have a suggestion or would like to report an error, please use the "contact us" form or email us at: BatteryU@cadex.com.  We like to hear from you but we cannot answer all inquiries. We recommend posting your question in the comment sections for the Battery University Group (BUG) to share.

Or Jump To A Different Article

Basics You Should Know
The Battery and You
Batteries as Power Source

Comments (27)

On December 22, 2010 at 10:15pm
BWMichael wrote:

Battery memory sucks!

On January 1, 2011 at 8:14pm
Steve Arey wrote:

Thanks for that information.  Do you answer questions?

On January 3, 2011 at 8:50pm
BWMichael wrote:

I am not an official battery university ‘question answerer’ but if u have a question put it on here and i will answer if i can

On January 10, 2011 at 9:26pm
Ganeshkumar GK wrote:

Hi, Am an Administration Manager in a 18 hole golf course in India. I have a fleet of 88 golf carts.  Presently am in the process of replacing the batteries in the carts as they have started to give away.

Can you suggest some ways and means for maximising the battery life ? Am doing a lot of trial and error now to arrive at the battery configuration as the OEM batteries are not in production now.

Would be glad to hear from you.

Thanks and Regards

On March 9, 2011 at 10:01pm
Wal Sakaluk wrote:

Hello Ganesh, It is hard to specifically advise you without knowing the environmental and operating conditions of your battery operation. Golf carts, typically, deploy lead acid batteries, these can be conventional “wet” cells were the electrolyte level and condition can be monitored or sealed gas recombination technology batteries. I will give you life prolonging recommendations that are general for this type of battery.
1. Do not deep discharge the batteries
2. Do not subject the batteries to mechanical shock
3.Charge the batteries correctly
4.Cooler is better
5.All connections MUST be clean and secure and kept that way

The OEM battery would have been of an industry standard form factor and replication of function and specification could be easily made with locally procurable batteries IN CONSULTATION WITH A QUALIFIED AND EXPERIENCED locally sourced electrical engineer. Do not take the advice of a battery vendor (unless they have an engineering capacity) or self taught mechanic. Trial and error is a worry, seems like you don’t have the right person helping you. This is basic electrical engineering but a precise science none the less. Get professional help to save this wasteful practice and to ensure you don’t damage your assets or injure anybody. Easy if you know what you are doing. Play safe!!

On July 6, 2011 at 2:03pm
Joe Accetta wrote:

We have developed an true state of charge sensor for lead acid batteries with addtional features such as cell temperature etc. Preproduction prototypes are available. The sensor is packaged in a conventional battery cap and is a direct replacement for existing caps with standard bayonet base. If you have a comment or application for this development please contact me.

On July 23, 2011 at 9:38pm
Steve Arey wrote:

Is “we” mean the BAttery University?

On July 24, 2011 at 6:15am
Joe Accetta wrote:

This is a development of JSA Photonics. www.jsaphotonics.com. I am not sure how the battery fuel gauge described on the Battery University site works. Our sensor determines the true specific gravitiy of the electrolyte.

On October 30, 2011 at 9:25pm
Vincent Lopez wrote:

I have an automotive battery, sealed type with a built in hydrometer that I charge using a small automatic charger. One time the battery went flat and when i attempted to charge it, itwon"t take a charge. So I brought it to a charging station, the owner of the station said he will use a rapid charger to quickly charge the battery for one hour. After an hour, the owner said its already charge but not yet full, but I took the battery anyway and continued to charge it at home using my trusty charger overnight. Morning came and the battery was already hot and there was a hissing sound, turn off the charger and connected the battery in my car but still it won’t start. Should I discard the battery or continue charging it?

On October 30, 2011 at 10:07pm
Wal Sakaluk wrote:

Your battery is history. Sell it for scrap.

On October 31, 2011 at 7:17am
Joe Accetta wrote:

Wal is correct. Your battery is lprobably gone.

On December 25, 2011 at 4:45pm
Francesco wrote:

Does the SMBus work also on electric cars? If no, why? We are developing an car sharing with electic cars and we wonder how the central system can retrieve informations about SOC and SOH of the several and different cars within the car sharing system..
Thanks for the help

On March 9, 2012 at 10:05am
Bob White wrote:

I need a fuel gauge for a seven-cell series LiPo battery (12-cell growth ability would be a groove).  Normal discharge current is 65 Amps.  I have been unable to find such a device.  Battery monitors are available, but fuel gauges appear to be limited to about four cells.  Am I searching for the wrong devices?  I would think that the fuel gauge might not have to care how many cells are in the battery.


On March 9, 2012 at 10:39am
Joe Accetta wrote:

What you are looking might be described as the holy grail for the automotive fuel guage of the future. We have not tried our technology in any solid state battery configuration. It has only been tested on open port( liquid electrolyte) lead acid cells and would probably work in any liquid cell. Sorry we cant help at this time..

On March 12, 2012 at 4:33am
Karthick wrote:


I have One doubt any one give This
Case 1:when i use 100A 12V Battery at a Lode 15A, Again i connect one dynamo with battery charger,
what is the time taken for charging.
Case 2: 100A battery is discharged 80% how match time taken for full charge

On June 15, 2012 at 4:56am
Wang YJ wrote:

Hi Bob:
Please check this battery guage, BG2-XX, it can suit for 12s battery pack
Hope it is useful.

On July 24, 2012 at 2:17am
Kevin Driscoll wrote:

I have just replaced 10 batteries (four Starter and six domestic) on my boat together with a new battery charger.  My old batteries were getting hot and gassing.  I would like to monitor the new batteries.  Any suggestions? I leave my boat for about five months a year, is it wise to leave the battery charger on all the time?
Grateful for any help.

On July 24, 2012 at 2:38am
Wal Sakaluk wrote:

Lead acid batteries do not like to just sit around.

Float charging will prolong their life.

On August 5, 2012 at 1:56am
Kevin Driscoll wrote:

Thanks Wal

On August 9, 2012 at 9:44am
yiwen wrote:

I need to write some software to monitor battery state of health. The battery pack I have is 14 serial-connected lithium-ion batteries. I did some test and get the ampHour vs voltage plot for the first full-discharge interation (start from 4.1V@26ampH and end at 2.8V@0ampH). What I am thinking is to monitor battery voltage at run time and use coulomb counting to get ampH. Compare the actual ampH data with the ideal ampH data in the plot.

So the SOH should be actual ampH divided by 1st interation ampH. Does it sound to be a reasonable way to estimate SOH?

On January 3, 2013 at 5:16am
vijay dheeraj wrote:

Needless to introduce cairn india ltd is oil & gas E&P company in INDIA.
We have 8 offshore platforms and all the instruments are opearted at 24V DC which are powered by 24V battery bank with Solar panel as a source of energy.
We have been using sealed lead acid batteries of 12V*120AH for the past 10 years but we have been facing the battery failure once in 2 years.
We have also used GEL batteries of sonnenschein make of 2v*960AH and have been using 2v*1130AH batteries since a month as they have drained.
Please suggest which type of battery is best for solar & wind applications on offshore oil & gas platforms i.e., on hazardous area applications.
I have also learned that AGM is more efficient and also has long life compared to SLA and GEL.
Please suggest which is the best battery fo this application.
I have gone through variour articles on net and found GEL & AGM batteries are efficient enough for solar and wind applications.

On February 28, 2013 at 6:21pm
jeff gerhard wrote:

vijay dheeraj- Do you use a proper charge controller? How are you cycling the batteries?
These batteries should not be “deep cycled”.  Study the literature for lead acid batteries.

On November 11, 2013 at 9:51pm
Alfonso wrote:

I wonder if you can help me on this issue.
In a bank of 12 2v batteries which are connected in serial to give 24v.
How fast does a battery that doesn’t work correctly beguin to affect the other batteries in the bank? Is it a matter of hours, days or months before the other batteries start working incorrectly too?

thank you for your help.

On November 11, 2013 at 11:09pm
Wal Sakaluk wrote:

It depends on the modality of the fault in that single cell.

If it fails short circuit then the other cells will now be subjected to a higher charging voltage. The other cells will soon fail.

If it fails open circuit then the whole bank is rendered useless, however no harm, other than deterioration due to being idle will befall the others.

If the internal resistance of that one cell is too high then the other cells will have a lower charging voltage and full autonomy will never be achieved.

Periodic individual cell voltage monitoring is important to ensure early detection of these fault or deterioration modalities and to thentake the appropriate action.

On September 25, 2015 at 12:24am
HardwareFreak wrote:


I want to calculate the time required by the Li-ion Battery (3.7V (4.2max), 1850mAh) to discharge from 4.2V to 3.4V at a given load current of 1500mA.
Can you please help.


On November 27, 2015 at 9:01am
Rick wrote:

Is Voltage and or Equivalent Series Resistance (ESR) a good measure of battery status and capacity?

On August 14, 2017 at 11:55pm
Ali abbas wrote:

I quick started battery by the code*#0228#. Now the battery perfomance is very bad . How i can recover my battery?