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

Commit 5a9b5fd8 authored by Chong Zhang's avatar Chong Zhang Committed by Android Git Automerger
Browse files

am f943c8df: am c32da708: am 2c4813d3: update battery stats for audio/video

* commit 'f943c8dfed52b27ba1e3a0b34ac92e32a5b0c64b':
  update battery stats for audio/video
parents 6ff73864 f4da6eaf
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -27,6 +27,10 @@ interface IBatteryStats {
    // be kept in sync with frameworks/native/include/binder/IBatteryStats.h
    void noteStartSensor(int uid, int sensor);
    void noteStopSensor(int uid, int sensor);
    void noteStartVideo(int uid);
    void noteStopVideo(int uid);
    void noteStartAudio(int uid);
    void noteStopAudio(int uid);

    // Remaining methods are only used in Java.
    byte[] getStatistics();