1 package com.android.systemui.power;
2 
3 import com.android.settingslib.fuelgauge.Estimate;
4 
5 public interface EnhancedEstimates {
6 
7     /**
8      * Returns a boolean indicating if the hybrid notification should be used.
9      */
isHybridNotificationEnabled()10     boolean isHybridNotificationEnabled();
11 
12     /**
13      * Returns an estimate object if the feature is enabled.
14      */
getEstimate()15     Estimate getEstimate();
16 
17     /**
18      * Returns a long indicating the amount of time remaining in milliseconds under which we will
19      * show a regular warning to the user.
20      */
getLowWarningThreshold()21     long getLowWarningThreshold();
22 
23     /**
24      * Returns a long indicating the amount of time remaining in milliseconds under which we will
25      * show a severe warning to the user.
26      */
getSevereWarningThreshold()27     long getSevereWarningThreshold();
28 
29     /**
30      * Returns a boolean indicating if the low warning should be shown at all or not.
31      */
getLowWarningEnabled()32     boolean getLowWarningEnabled();
33 }
34