State of charge estimation method based on linearization of voltage hysteresis curve