SOC Estimation Algorithm for the Lithium-Ion Battery by Using a Linear State Observer