Use Linear Regression to predict the battery life of a laptop depending on its past history.