Home | History | Annotate | Download | only in power
      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      */
     10     boolean isHybridNotificationEnabled();
     11 
     12     /**
     13      * Returns an estimate object if the feature is enabled.
     14      */
     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      */
     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      */
     27     long getSevereWarningThreshold();
     28 
     29     /**
     30      * Returns a boolean indicating if the low warning should be shown at all or not.
     31      */
     32     boolean getLowWarningEnabled();
     33 }
     34