A method for operating a battery having a plurality of battery cells
includes determining when certain end of life criteria for the battery
are met. A counter is incremented when the certain end of life criteria
are met. The battery is rebalanced when it is determined that the end of
life criteria are met, and the counter is not greater than a
predetermined value. An end of life of the battery is indicated when it
is determined that the end of life criteria are met, and the counter is
greater than the predetermined value.