Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 51d087cd authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Add function getBatteryHistorySinceLastFullCharge, used to replace...

Merge "Add function getBatteryHistorySinceLastFullCharge, used to replace getBatteryHistory in BatteryHistoryLoader." into tm-qpr-dev
parents fedab69c e39ecafa
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -149,6 +149,11 @@ public interface PowerUsageFeatureProvider {
     */
    Map<Long, Map<String, BatteryHistEntry>> getBatteryHistory(Context context);

    /**
     * Returns battery history data since last full charge with corresponding timestamp key.
     */
    Map<Long, Map<String, BatteryHistEntry>> getBatteryHistorySinceLastFullCharge(Context context);

    /**
     * Returns {@link Uri} to monitor battery history data is update.
     */
+6 −0
Original line number Diff line number Diff line
@@ -165,6 +165,12 @@ public class PowerUsageFeatureProviderImpl implements PowerUsageFeatureProvider
        return null;
    }

    @Override
    public Map<Long, Map<String, BatteryHistEntry>> getBatteryHistorySinceLastFullCharge(
            Context context) {
        return null;
    }

    @Override
    public Uri getBatteryHistoryUri() {
        return null;