Accurately predicting the state of charge (SOC) is crucial to improving Li-ion battery performance. However, available model-based estimation approaches still face challenges in handling model uncertainty and measurement noise effects on parameter identification. Besides, the widely used unscented Kalman filter (UKF) algorithm has limitations in electric vehicles as it requires the error covariance matrix to maintain positive definiteness, limiting its applicability under certain conditions. This study introduces the bias-compensated forgetting factor recursive least squares (BCFFRLS) method for parameter estimation within the second-order RC equivalent circuit model specific to the INR18650-20R battery. Furthermore, we propose a novel algorithm named the optimization multi-interest adaptive unscented Kalman filter (O-MIAUKF). This algorithm is designed to address stability and robustness issues with traditional UKF encounters in dynamic environments. Experimental validation demonstrates that the O-MIAUKF algorithm excels in maintaining strong stability and robustness in various working conditions, accurately estimating SOC even with a non-positive covariance matrix. The SOC estimation error remains stable at 0.8 %, which is lower than that of the current Extended Kalman Filter (EKF), UKF, and Dual Extended Kalman Filter (DEKF).