summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Paul Lawrence <paullawrence@google.com> 2014-03-03 14:31:02 -0800
committer Todd Poynor <toddpoynor@google.com> 2014-03-20 18:10:06 +0000
commit5a43cc6ddd2aa3d9af38891bae6fea866c7227f9 (patch)
treebc5f92a4a4a734fcf7f7d399047928105ced4bf2
parent6ef3c2cbbb72201e9b2216fb96d071e0fac654d1 (diff)
BatteryProperty: Add battery capacity property
Match change in native code https://googleplex-android-review.git.corp.google.com/#/c/427553/ Change-Id: I0049ccbbef59fbbc0e14b50b9af7481d87a6d48c
-rw-r--r--core/java/android/os/BatteryProperty.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/java/android/os/BatteryProperty.java b/core/java/android/os/BatteryProperty.java
index 346f5de733a5..76b0dc472eb5 100644
--- a/core/java/android/os/BatteryProperty.java
+++ b/core/java/android/os/BatteryProperty.java
@@ -29,6 +29,7 @@ public class BatteryProperty implements Parcelable {
public static final int BATTERY_PROP_CHARGE_COUNTER = 1;
public static final int BATTERY_PROP_CURRENT_NOW = 2;
public static final int BATTERY_PROP_CURRENT_AVG = 3;
+ public static final int BATTERY_PROP_CAPACITY = 4;
public int valueInt;