[Battery usage U] [UI] Add a threshold to filter out very small battery usage items in the app list

Bug: 264840285
Fix: 264840285
Test: manual
Change-Id: I36a6c0dc284d09efcf82316db1541d289c37b16f
This commit is contained in:
Zaiyue Xue
2023-01-10 15:21:50 +08:00
parent 6b47dd97dd
commit 4ecf42f1bb
4 changed files with 39 additions and 20 deletions

View File

@@ -71,6 +71,11 @@ public class PowerUsageFeatureProviderImpl implements PowerUsageFeatureProvider
return true;
}
@Override
public double getBatteryUsageListConsumePowerThreshold() {
return 0.0;
}
@Override
public List<String> getSystemAppsAllowlist() {
return null;