[Battery usage U] Add an item "Others" in the app list to group small usage apps. This will make the total percetage 100%, which is easy to understand for users.

Bug: 258124173
Fix: 258124173
Test: manual
Change-Id: I5965eeb73a2071c4a9994655e4ed24ec3adf64e8
This commit is contained in:
Zaiyue Xue
2023-01-04 17:09:09 +08:00
parent 1c8455dfea
commit 7c987c9d98
5 changed files with 81 additions and 0 deletions

View File

@@ -152,6 +152,11 @@ public class PowerUsageFeatureProviderImpl implements PowerUsageFeatureProvider
return true;
}
@Override
public Set<Integer> getOthersSystemComponentSet(Context context) {
return new ArraySet<>();
}
@Override
public Set<Integer> getHideSystemComponentSet(Context context) {
return new ArraySet<>();