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

Commit f3d00e4e authored by Chong Zhang's avatar Chong Zhang
Browse files

update battery stats for audio/video

Bug: 12979595

Change-Id: I581376cb88a2d14dc4bad77d454b9bba73d0eb9b
parent 71f6ad31
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();