A method and system for accurately reporting battery capacity is disclosed
herein. The disclosed method and system prevent the reporting of
discontinuous capacity values resulting from starting or stopping
recharge cycles. The disclosed method and system prevent over or under
reporting of battery capacity due to the transition between charge and
discharge curves in a battery model.