huangcm
2025-08-14 5d6606c55520a76d5bb8297d83fd9bbf967e5244
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
package com.android.systemui.power;
 
import com.android.settingslib.fuelgauge.Estimate;
 
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();
 
    /**
     * Returns a boolean indicating if the low warning should be shown at all or not.
     */
    boolean getLowWarningEnabled();
}