summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Oscar Shu <xshu@google.com> 2018-06-18 22:36:42 +0000
committer Android (Google) Code Review <android-gerrit@google.com> 2018-06-18 22:36:42 +0000
commitc675f31fdcc519a5eab8df135c49a277e61ab48b (patch)
tree4f04faa317ee087e845d54b1d0e50bc9376e5931
parent11675ada26584eddc1361610d1474077aac66a0b (diff)
parentb483b727d375b438ecd61a3b3437f9f78b79f44f (diff)
Merge "metrics: add proto field for wifi radio usage"
-rw-r--r--proto/src/wifi.proto11
1 files changed, 11 insertions, 0 deletions
diff --git a/proto/src/wifi.proto b/proto/src/wifi.proto
index 72f11e0a63c1..a23c6d39d57c 100644
--- a/proto/src/wifi.proto
+++ b/proto/src/wifi.proto
@@ -457,6 +457,8 @@ message WifiLog {
// Identifier for experimental scoring parameter settings.
optional string score_experiment_id = 117;
+ // Data on wifi radio usage
+ optional WifiRadioUsage wifi_radio_usage = 118;
}
// Information that gets logged for every WiFi connection.
@@ -1503,3 +1505,12 @@ message WifiRttLog {
optional int32 count = 2;
}
}
+
+// Usage data for the wifi radio while device is running on battery.
+message WifiRadioUsage {
+ // Duration of log (ms)
+ optional int64 logging_duration_ms = 1;
+
+ // Total time for which the radio is awake due to scan.
+ optional int64 scan_time_ms = 2;
+} \ No newline at end of file