Change high usage detector logic
Based on the requirement, change it to detect: "whether battery draining is larger than x in the last y hours" Bug: 70570352 Test: RunSettingsRoboTests Change-Id: I9fb1a9f2fe38d5d64681dafe26311aeab7f3fe9c
This commit is contained in:
@@ -272,7 +272,7 @@ public class BatteryInfo {
|
||||
void onParsingDone();
|
||||
}
|
||||
|
||||
private static void parse(BatteryStats stats, BatteryDataParser... parsers) {
|
||||
public static void parse(BatteryStats stats, BatteryDataParser... parsers) {
|
||||
long startWalltime = 0;
|
||||
long endWalltime = 0;
|
||||
long historyStart = 0;
|
||||
|
Reference in New Issue
Block a user