Adaptive Battery Monitoring Using Parameter Estimation