diff options
author | Jeff Sharkey <jsharkey@android.com> | 2011-10-09 13:21:10 -0700 |
---|---|---|
committer | Jeff Sharkey <jsharkey@android.com> | 2011-10-09 13:21:10 -0700 |
commit | 3d4c9a7a3297204ef5c60189f84c3ecf0d861495 (patch) | |
tree | 201ad3224f80b0a68aec076e01cbc9df66aed4c3 /src/com/android/settings/fuelgauge | |
parent | a41dc63ada8745286818eedabe75123166bf3f9f (diff) | |
download | packages_apps_Settings-3d4c9a7a3297204ef5c60189f84c3ecf0d861495.tar.gz packages_apps_Settings-3d4c9a7a3297204ef5c60189f84c3ecf0d861495.tar.bz2 packages_apps_Settings-3d4c9a7a3297204ef5c60189f84c3ecf0d861495.zip |
Bring back network counters in battery stats.
Bug: 4902271
Change-Id: I0900c030407a86efb14a9d528ab355c56f54679e
Diffstat (limited to 'src/com/android/settings/fuelgauge')
-rw-r--r-- | src/com/android/settings/fuelgauge/PowerUsageSummary.java | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/com/android/settings/fuelgauge/PowerUsageSummary.java b/src/com/android/settings/fuelgauge/PowerUsageSummary.java index 41286ef79..6312682eb 100644 --- a/src/com/android/settings/fuelgauge/PowerUsageSummary.java +++ b/src/com/android/settings/fuelgauge/PowerUsageSummary.java @@ -202,8 +202,6 @@ public class PowerUsageSummary extends PreferenceFragment implements Runnable { switch (sipper.drainType) { case APP: { - // TODO: surface tcpBytesSent/tcpBytesReceived again once - // measured separately from uid_stats. Uid uid = sipper.uidObj; types = new int[] { R.string.usage_type_cpu, @@ -211,6 +209,8 @@ public class PowerUsageSummary extends PreferenceFragment implements Runnable { R.string.usage_type_wake_lock, R.string.usage_type_gps, R.string.usage_type_wifi_running, + R.string.usage_type_data_send, + R.string.usage_type_data_recv, R.string.usage_type_audio, R.string.usage_type_video, }; @@ -220,6 +220,8 @@ public class PowerUsageSummary extends PreferenceFragment implements Runnable { sipper.wakeLockTime, sipper.gpsTime, sipper.wifiRunningTime, + sipper.tcpBytesSent, + sipper.tcpBytesReceived, 0, 0 }; |