Study and design of a low cost system to estimate vehicle battery autonomy