Kalman Filter for SoC Estimation