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

Commit a679508a authored by Ruchi Kandoi's avatar Ruchi Kandoi
Browse files

BatteryProperties: Adds batteryCycleCount, batteryCurrent,


batteryFullCharge fields in the the battery properties.

Bug: 22981343
Change-Id: I426b4b7d1eb544d2b1d97d87ae1eba0fdf35c503
Signed-off-by: default avatarRuchi Kandoi <kandoiruchi@google.com>
parent f364393a
Loading
Loading
Loading
Loading
+3 −0
Original line number Original line Diff line number Diff line
@@ -63,6 +63,9 @@ struct BatteryProperties {
    int batteryLevel;
    int batteryLevel;
    int batteryVoltage;
    int batteryVoltage;
    int batteryTemperature;
    int batteryTemperature;
    int batteryCurrent;
    int batteryCycleCount;
    int batteryFullCharge;
    String8 batteryTechnology;
    String8 batteryTechnology;


    status_t writeToParcel(Parcel* parcel) const;
    status_t writeToParcel(Parcel* parcel) const;