An integration and selection scheme for capacity estimation of Li-ion battery based on different state-of-charge intervals