The battery will degrade over time and its capacity reduced.  Generally, you should replace it every few years.  The battery could fail or degrade too much, it may drain all the current when charging so much that the gauge may not be able to function.