1 package com.android.car.developeroptions.fuelgauge;
2 
3 public class Estimate {
4 
5     // Value to indicate averageTimeToDischarge could not be obtained
6     public static final int AVERAGE_TIME_TO_DISCHARGE_UNKNOWN = -1;
7 
8     public final long estimateMillis;
9     public final boolean isBasedOnUsage;
10     public final long averageDischargeTime;
11 
Estimate(long estimateMillis, boolean isBasedOnUsage, long averageDischargeTime)12     public Estimate(long estimateMillis, boolean isBasedOnUsage,
13             long averageDischargeTime) {
14         this.estimateMillis = estimateMillis;
15         this.isBasedOnUsage = isBasedOnUsage;
16         this.averageDischargeTime = averageDischargeTime;
17     }
18 }
19