Distribute the misc among all the apps
Distribute it in: 1. Battery main page(PowerUsageSummary) 2. Advanced battery page(PowerUsageAdvanced) Bug: 37487061 Test: RunSettingsRoboTests Change-Id: Id1810b81a6b380d908bcdc18421530e938578c37
This commit is contained in:
@@ -128,9 +128,8 @@ public class BatteryUtils {
|
||||
final BatterySipper sipper = sippers.get(i);
|
||||
if (shouldHideSipper(sipper)) {
|
||||
sippers.remove(i);
|
||||
if (sipper.drainType != BatterySipper.DrainType.OVERCOUNTED
|
||||
&& sipper.drainType != BatterySipper.DrainType.UNACCOUNTED) {
|
||||
// Don't add it if it is overcounted or unaccounted
|
||||
if (sipper.drainType != BatterySipper.DrainType.OVERCOUNTED) {
|
||||
// Don't add it if it is overcounted
|
||||
totalPowerMah += sipper.totalPowerMah;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user