Update battery usage app list filter logic:
(1) Add app screen on time thrshold 100 ms. (2) Change app battery comsuption threshold from 0.1 mA to 1 mA. Apps meet one of above conditions will be shown. Bug: 264840285 Test: manual Change-Id: Icfb304f09c49248397350ebe55bf06f3eb82d639
This commit is contained in:
@@ -35,6 +35,11 @@ public interface PowerUsageFeatureProvider {
|
||||
*/
|
||||
boolean isBatteryUsageEnabled();
|
||||
|
||||
/**
|
||||
* Returns a threshold (in milliseconds) for the minimal screen on time in battery usage list
|
||||
*/
|
||||
double getBatteryUsageListScreenOnTimeThresholdInMs();
|
||||
|
||||
/**
|
||||
* Returns a threshold (mA) for the minimal comsume power in battery usage list
|
||||
*/
|
||||
|
Reference in New Issue
Block a user