Machine Learning to Project Battery Lifespan and Lower Development Cost