The logic on the back-end of the interface is governed by a predictive algorithm. This algorithm works based on historical use and input information so as to predict the battery life.