Text this: State of charge estimation in lithium-ion batteries: A neural network optimization approach