Soc estimation using kalman filter