diff options
author | Todd Poynor <toddpoynor@google.com> | 2013-10-04 14:03:27 -0700 |
---|---|---|
committer | Todd Poynor <toddpoynor@google.com> | 2013-10-22 23:18:36 +0000 |
commit | 7014fbd7005e41514c7ff8411e3f655c910b611f (patch) | |
tree | c531fc73fc23fc241dccaea50d57ff8d5294fae7 /services/batteryservice | |
parent | 2130192c78d872e2c605648e6eadde8ff655463d (diff) | |
download | frameworks_native-7014fbd7005e41514c7ff8411e3f655c910b611f.zip frameworks_native-7014fbd7005e41514c7ff8411e3f655c910b611f.tar.gz frameworks_native-7014fbd7005e41514c7ff8411e3f655c910b611f.tar.bz2 |
batteryservice: remove BatteryProperties fields not sent to BatteryService
Change-Id: I1116ebf0e21117fd37df7bfc41cb8ebaf9361faa
Diffstat (limited to 'services/batteryservice')
-rw-r--r-- | services/batteryservice/BatteryProperties.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/services/batteryservice/BatteryProperties.cpp b/services/batteryservice/BatteryProperties.cpp index e4a42ed..ab636a9 100644 --- a/services/batteryservice/BatteryProperties.cpp +++ b/services/batteryservice/BatteryProperties.cpp @@ -38,8 +38,6 @@ status_t BatteryProperties::readFromParcel(Parcel* p) { batteryPresent = p->readInt32() == 1 ? true : false; batteryLevel = p->readInt32(); batteryVoltage = p->readInt32(); - batteryCurrentNow = p->readInt32(); - batteryChargeCounter = p->readInt32(); batteryTemperature = p->readInt32(); batteryTechnology = String8((p->readString16()).string()); return OK; @@ -54,8 +52,6 @@ status_t BatteryProperties::writeToParcel(Parcel* p) const { p->writeInt32(batteryPresent ? 1 : 0); p->writeInt32(batteryLevel); p->writeInt32(batteryVoltage); - p->writeInt32(batteryCurrentNow); - p->writeInt32(batteryChargeCounter); p->writeInt32(batteryTemperature); p->writeString16(String16(batteryTechnology)); return OK; |