Salvador Martinez | f9e4750 | 2018-01-04 13:45:48 -0800 | [diff] [blame] | 1 | package com.android.systemui.power; |
| 2 | |
| 3 | public interface EnhancedEstimates { |
| 4 | |
Salvador Martinez | bb902fc | 2018-01-22 19:46:55 -0800 | [diff] [blame] | 5 | /** |
| 6 | * Returns a boolean indicating if the hybrid notification should be used. |
| 7 | */ |
Salvador Martinez | f9e4750 | 2018-01-04 13:45:48 -0800 | [diff] [blame] | 8 | boolean isHybridNotificationEnabled(); |
| 9 | |
Salvador Martinez | bb902fc | 2018-01-22 19:46:55 -0800 | [diff] [blame] | 10 | /** |
| 11 | * Returns an estimate object if the feature is enabled. |
| 12 | */ |
Salvador Martinez | f9e4750 | 2018-01-04 13:45:48 -0800 | [diff] [blame] | 13 | Estimate getEstimate(); |
Salvador Martinez | bb902fc | 2018-01-22 19:46:55 -0800 | [diff] [blame] | 14 | |
| 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 Martinez | f9e4750 | 2018-01-04 13:45:48 -0800 | [diff] [blame] | 26 | } |