Lithium battery mileage switch