diff options
Diffstat (limited to 'com/android/systemui/power/EnhancedEstimates.java')
-rw-r--r-- | com/android/systemui/power/EnhancedEstimates.java | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/com/android/systemui/power/EnhancedEstimates.java b/com/android/systemui/power/EnhancedEstimates.java new file mode 100644 index 00000000..bd130f4b --- /dev/null +++ b/com/android/systemui/power/EnhancedEstimates.java @@ -0,0 +1,26 @@ +package com.android.systemui.power; + +public interface EnhancedEstimates { + + /** + * Returns a boolean indicating if the hybrid notification should be used. + */ + boolean isHybridNotificationEnabled(); + + /** + * Returns an estimate object if the feature is enabled. + */ + Estimate getEstimate(); + + /** + * Returns a long indicating the amount of time remaining in milliseconds under which we will + * show a regular warning to the user. + */ + long getLowWarningThreshold(); + + /** + * Returns a long indicating the amount of time remaining in milliseconds under which we will + * show a severe warning to the user. + */ + long getSevereWarningThreshold(); +} |