Investigating the error sources of the online state of charge estimation methods for lithium-ion batteries in electric vehicles