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

Commit 005876ae authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Automerger Merge Worker
Browse files

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

Merge "Add function getBatteryHistorySinceLastFullCharge, used to replace getBatteryHistory in BatteryHistoryLoader." into tm-qpr-dev am: 51d087cd

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/19235232



Change-Id: Ic7576a9592b3b9ef71af52001c02f0db17a41312
Signed-off-by: default avatarAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
parents a51b1bae 51d087cd
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;