Battery prognostics and health management for electric vehicles under industry 4.0