diff options
author | Dianne Hackborn <hackbod@google.com> | 2014-02-26 14:57:57 -0800 |
---|---|---|
committer | Dianne Hackborn <hackbod@google.com> | 2014-02-26 15:53:47 -0800 |
commit | 3c741d2be8277b4ffd7e2d71853f74bba613ff51 (patch) | |
tree | 01ee1b7cb73c877ff0eaca03d4addd3264f9d675 /src/com/android/settings/fuelgauge | |
parent | 167f82de3acb6905dd8c45bf36399d0b625abc82 (diff) | |
download | packages_apps_Settings-3c741d2be8277b4ffd7e2d71853f74bba613ff51.tar.gz packages_apps_Settings-3c741d2be8277b4ffd7e2d71853f74bba613ff51.tar.bz2 packages_apps_Settings-3c741d2be8277b4ffd7e2d71853f74bba613ff51.zip |
Show new radio active times.
Change-Id: Id3b2d072df87dce5312a1e7b7d6a0012a1b5b19a
Diffstat (limited to 'src/com/android/settings/fuelgauge')
-rw-r--r-- | src/com/android/settings/fuelgauge/PowerUsageDetail.java | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/com/android/settings/fuelgauge/PowerUsageDetail.java b/src/com/android/settings/fuelgauge/PowerUsageDetail.java index a1e7278c3..518fc0eb2 100644 --- a/src/com/android/settings/fuelgauge/PowerUsageDetail.java +++ b/src/com/android/settings/fuelgauge/PowerUsageDetail.java @@ -116,6 +116,7 @@ public class PowerUsageDetail extends Fragment implements Button.OnClickListener R.string.usage_type_wifi_running, R.string.usage_type_data_recv, R.string.usage_type_data_send, + R.string.usage_type_radio_active, R.string.usage_type_data_wifi_recv, R.string.usage_type_data_wifi_send, R.string.usage_type_audio, @@ -129,6 +130,7 @@ public class PowerUsageDetail extends Fragment implements Button.OnClickListener entry.sipper.wifiRunningTime, entry.sipper.mobileRxPackets, entry.sipper.mobileTxPackets, + entry.sipper.mobileActive, entry.sipper.wifiRxPackets, entry.sipper.wifiTxPackets, 0, @@ -157,11 +159,13 @@ public class PowerUsageDetail extends Fragment implements Button.OnClickListener { types = new int[] { R.string.usage_type_on_time, - R.string.usage_type_no_coverage + R.string.usage_type_no_coverage, + R.string.usage_type_radio_active, }; values = new double[] { entry.sipper.usageTime, - entry.sipper.noCoveragePercent + entry.sipper.noCoveragePercent, + entry.sipper.mobileActive }; } break; |