blob: bd130f4b40f3b203471f5e22662fc57566444d86 [file] [log] [blame]
Salvador Martinezf9e47502018-01-04 13:45:48 -08001package com.android.systemui.power;
2
3public interface EnhancedEstimates {
4
Salvador Martinezbb902fc2018-01-22 19:46:55 -08005 /**
6 * Returns a boolean indicating if the hybrid notification should be used.
7 */
Salvador Martinezf9e47502018-01-04 13:45:48 -08008 boolean isHybridNotificationEnabled();
9
Salvador Martinezbb902fc2018-01-22 19:46:55 -080010 /**
11 * Returns an estimate object if the feature is enabled.
12 */
Salvador Martinezf9e47502018-01-04 13:45:48 -080013 Estimate getEstimate();
Salvador Martinezbb902fc2018-01-22 19:46:55 -080014
15 /**
16 * Returns a long indicating the amount of time remaining in milliseconds under which we will
17 * show a regular warning to the user.
18 */
19 long getLowWarningThreshold();
20
21 /**
22 * Returns a long indicating the amount of time remaining in milliseconds under which we will
23 * show a severe warning to the user.
24 */
25 long getSevereWarningThreshold();
Salvador Martinezf9e47502018-01-04 13:45:48 -080026}