From 2ffa11e4b71c545e34533ef827bdc1a07fbe8246 Mon Sep 17 00:00:00 2001 From: Dianne Hackborn Date: Mon, 21 Apr 2014 15:56:18 -0700 Subject: Start collecting mobile radio activity from the radio. Hook in to the new radio API to find out when the radio is active and use that to track its state in batter stats. We also still have the data being tracked from the kernel's emulation, and continue to use that if we don't get data from the radio. Currently this monitoring is turned off until some issues in the radio can be fixed that are providing bad data. Also add a new API to get estimated drain and charge times. Change-Id: Ifc4900fabb8f848f9cda361dce698664ea75f175 --- telephony/java/android/telephony/DataConnectionRealTimeInfo.java | 1 + 1 file changed, 1 insertion(+) (limited to 'telephony/java/android/telephony/DataConnectionRealTimeInfo.java') diff --git a/telephony/java/android/telephony/DataConnectionRealTimeInfo.java b/telephony/java/android/telephony/DataConnectionRealTimeInfo.java index 4a9ae39..96069213 100644 --- a/telephony/java/android/telephony/DataConnectionRealTimeInfo.java +++ b/telephony/java/android/telephony/DataConnectionRealTimeInfo.java @@ -23,6 +23,7 @@ import android.os.Parcelable; * Data connection real time information * * TODO: How to handle multiple subscriptions? + * @hide */ public class DataConnectionRealTimeInfo implements Parcelable { private long mTime; // Time the info was collected since boot in nanos; -- cgit v1.1