batterystats

package
v0.0.0-...-d2356ba Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 19, 2017 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package batterystats is a generated protocol buffer package.

It is generated from these files:

github.com/google/battery-historian/pb/batterystats_proto/batterystats.proto

It has these top-level messages:

BatteryStats

Index

Constants

This section is empty.

Variables

View Source
var BatteryStats_AggregationType_name = map[int32]string{
	0: "SINCE_CHARGED",
	1: "LAST",
	2: "CURRENT",
	3: "SINCE_UNPLUGGED",
}
View Source
var BatteryStats_AggregationType_value = map[string]int32{
	"SINCE_CHARGED":   0,
	"LAST":            1,
	"CURRENT":         2,
	"SINCE_UNPLUGGED": 3,
}
View Source
var BatteryStats_App_UserActivity_Name_name = map[int32]string{
	0: "OTHER",
	1: "BUTTON",
	2: "TOUCH",
	3: "ACCESSIBILITY",
}
View Source
var BatteryStats_App_UserActivity_Name_value = map[string]int32{
	"OTHER":         0,
	"BUTTON":        1,
	"TOUCH":         2,
	"ACCESSIBILITY": 3,
}
View Source
var BatteryStats_System_BluetoothState_Name_name = map[int32]string{
	0: "INACTIVE",
	1: "LOW",
	2: "MEDIUM",
	3: "HIGH",
}
View Source
var BatteryStats_System_BluetoothState_Name_value = map[string]int32{
	"INACTIVE": 0,
	"LOW":      1,
	"MEDIUM":   2,
	"HIGH":     3,
}
View Source
var BatteryStats_System_DataConnection_Name_name = map[int32]string{
	0:  "NONE",
	1:  "GPRS",
	2:  "EDGE",
	3:  "UMTS",
	4:  "CDMA",
	5:  "EVDO_0",
	6:  "EVDO_A",
	7:  "ONE_X_RTT",
	8:  "HSDPA",
	9:  "HSUPA",
	10: "HSPA",
	11: "IDEN",
	12: "EVDO_B",
	13: "LTE",
	14: "EHRPD",
	15: "HSPAP",
	16: "OTHER",
}
View Source
var BatteryStats_System_DataConnection_Name_value = map[string]int32{
	"NONE":      0,
	"GPRS":      1,
	"EDGE":      2,
	"UMTS":      3,
	"CDMA":      4,
	"EVDO_0":    5,
	"EVDO_A":    6,
	"ONE_X_RTT": 7,
	"HSDPA":     8,
	"HSUPA":     9,
	"HSPA":      10,
	"IDEN":      11,
	"EVDO_B":    12,
	"LTE":       13,
	"EHRPD":     14,
	"HSPAP":     15,
	"OTHER":     16,
}
View Source
var BatteryStats_System_DisplayState_State_name = map[int32]string{
	0: "MIXED",
	1: "ON",
	2: "OFF",
	3: "DOZE",
	4: "DOZE_SUSPEND",
}
View Source
var BatteryStats_System_DisplayState_State_value = map[string]int32{
	"MIXED":        0,
	"ON":           1,
	"OFF":          2,
	"DOZE":         3,
	"DOZE_SUSPEND": 4,
}
View Source
var BatteryStats_System_IdleMode_Mode_name = map[int32]string{
	0: "NO_DATA",
	1: "MIXED",
	2: "ON",
	3: "OFF",
}
View Source
var BatteryStats_System_IdleMode_Mode_value = map[string]int32{
	"NO_DATA": 0,
	"MIXED":   1,
	"ON":      2,
	"OFF":     3,
}
View Source
var BatteryStats_System_PowerSaveMode_Mode_name = map[int32]string{
	0: "MIXED",
	1: "ON",
	2: "OFF",
}
View Source
var BatteryStats_System_PowerSaveMode_Mode_value = map[string]int32{
	"MIXED": 0,
	"ON":    1,
	"OFF":   2,
}
View Source
var BatteryStats_System_PowerUseItem_Name_name = map[int32]string{
	0:  "IDLE",
	1:  "CELL",
	2:  "PHONE",
	3:  "WIFI",
	4:  "BLUETOOTH",
	5:  "SCREEN",
	6:  "APP",
	7:  "USER",
	8:  "UNACCOUNTED",
	9:  "OVERCOUNTED",
	10: "DEFAULT",
	11: "FLASHLIGHT",
}
View Source
var BatteryStats_System_PowerUseItem_Name_value = map[string]int32{
	"IDLE":        0,
	"CELL":        1,
	"PHONE":       2,
	"WIFI":        3,
	"BLUETOOTH":   4,
	"SCREEN":      5,
	"APP":         6,
	"USER":        7,
	"UNACCOUNTED": 8,
	"OVERCOUNTED": 9,
	"DEFAULT":     10,
	"FLASHLIGHT":  11,
}
View Source
var BatteryStats_System_ScreenBrightness_Name_name = map[int32]string{
	0: "DARK",
	1: "DIM",
	2: "MEDIUM",
	3: "LIGHT",
	4: "BRIGHT",
}
View Source
var BatteryStats_System_ScreenBrightness_Name_value = map[string]int32{
	"DARK":   0,
	"DIM":    1,
	"MEDIUM": 2,
	"LIGHT":  3,
	"BRIGHT": 4,
}
View Source
var BatteryStats_System_SignalStrength_Name_name = map[int32]string{
	0: "NONE_OR_UNKNOWN",
	1: "POOR",
	2: "MODERATE",
	3: "GOOD",
	4: "GREAT",
}
View Source
var BatteryStats_System_SignalStrength_Name_value = map[string]int32{
	"NONE_OR_UNKNOWN": 0,
	"POOR":            1,
	"MODERATE":        2,
	"GOOD":            3,
	"GREAT":           4,
}
View Source
var BatteryStats_System_WifiSignalStrength_Name_name = map[int32]string{
	0: "NONE",
	1: "POOR",
	2: "MODERATE",
	3: "GOOD",
	4: "GREAT",
}
View Source
var BatteryStats_System_WifiSignalStrength_Name_value = map[string]int32{
	"NONE":     0,
	"POOR":     1,
	"MODERATE": 2,
	"GOOD":     3,
	"GREAT":    4,
}
View Source
var BatteryStats_System_WifiState_Name_name = map[int32]string{
	0: "OFF",
	1: "OFF_SCANNING",
	2: "ON_NO_NETWORKS",
	3: "ON_DISCONNECTED",
	4: "ON_CONNECTED_STA",
	5: "ON_CONNECTED_P2P",
	6: "ON_CONNECTED_STA_P2P",
	7: "SOFT_AP",
}
View Source
var BatteryStats_System_WifiState_Name_value = map[string]int32{
	"OFF":                  0,
	"OFF_SCANNING":         1,
	"ON_NO_NETWORKS":       2,
	"ON_DISCONNECTED":      3,
	"ON_CONNECTED_STA":     4,
	"ON_CONNECTED_P2P":     5,
	"ON_CONNECTED_STA_P2P": 6,
	"SOFT_AP":              7,
}
View Source
var BatteryStats_System_WifiSupplicantState_Name_name = map[int32]string{
	0:  "INVALID",
	1:  "DISCONNECTED",
	2:  "INTERFACE_DISABLED",
	3:  "INACTIVE",
	4:  "SCANNING",
	5:  "AUTHENTICATING",
	6:  "ASSOCIATING",
	7:  "ASSOCIATED",
	8:  "FOUR_WAY_HANDSHAKE",
	9:  "GROUP_HANDSHAKE",
	10: "COMPLETED",
	11: "DORMANT",
	12: "UNINITIALIZED",
}
View Source
var BatteryStats_System_WifiSupplicantState_Name_value = map[string]int32{
	"INVALID":            0,
	"DISCONNECTED":       1,
	"INTERFACE_DISABLED": 2,
	"INACTIVE":           3,
	"SCANNING":           4,
	"AUTHENTICATING":     5,
	"ASSOCIATING":        6,
	"ASSOCIATED":         7,
	"FOUR_WAY_HANDSHAKE": 8,
	"GROUP_HANDSHAKE":    9,
	"COMPLETED":          10,
	"DORMANT":            11,
	"UNINITIALIZED":      12,
}

Functions

This section is empty.

Types

type BatteryStats

type BatteryStats struct {
	// Unique ID for the record. Concatenation of end_time_usec, shard, and the index in the shard.
	RecordId *string `protobuf:"bytes,1,opt,name=record_id" json:"record_id,omitempty"`
	// Encrypted android_id. Cleared for user/release-keys builds.
	AndroidIdx *string `protobuf:"bytes,2,opt,name=android_idx" json:"android_idx,omitempty"`
	// When aggregation starts.
	StartTimeUsec *int64 `protobuf:"varint,3,opt,name=start_time_usec" json:"start_time_usec,omitempty"`
	// When aggregation ends.
	EndTimeUsec *int64 `protobuf:"varint,4,opt,name=end_time_usec" json:"end_time_usec,omitempty"`
	// start_time_usec in "YYYY-MM-DD HH:MM:SS" (MTV time).
	StartTimeStr *string `protobuf:"bytes,5,opt,name=start_time_str" json:"start_time_str,omitempty"`
	// end_time_usec in "YYYY-MM-DD HH:MM:SS" (MTV time).
	EndTimeStr *string `protobuf:"bytes,6,opt,name=end_time_str" json:"end_time_str,omitempty"`
	// start_time_str in local time.
	LocalStartTimeStr *string `protobuf:"bytes,7,opt,name=local_start_time_str" json:"local_start_time_str,omitempty"`
	// end_time_str in local time.
	LocalEndTimeStr *string `protobuf:"bytes,8,opt,name=local_end_time_str" json:"local_end_time_str,omitempty"`
	// e.g., auto.googlefood.jellybean.
	DeviceGroup []string `protobuf:"bytes,9,rep,name=device_group" json:"device_group,omitempty"`
	// e.g., user-domain-google.com.
	CheckinRule []string `protobuf:"bytes,10,rep,name=checkin_rule" json:"checkin_rule,omitempty"`
	// True if it's Googler's data.
	IsGoogler *bool `protobuf:"varint,11,opt,name=is_googler" json:"is_googler,omitempty"`
	// True if it's user/release-keys.
	IsUserRelease *bool `protobuf:"varint,12,opt,name=is_user_release" json:"is_user_release,omitempty"`
	// Info from the build fingerprint.
	Build *build.Build `protobuf:"bytes,13,opt,name=build" json:"build,omitempty"`
	// Android SDK version.
	SdkVersion *int32 `protobuf:"varint,14,opt,name=sdk_version" json:"sdk_version,omitempty"`
	// GMS Core version.
	GmsVersion *int32 `protobuf:"varint,15,opt,name=gms_version" json:"gms_version,omitempty"`
	// System bootloader version.
	Bootloader *string `protobuf:"bytes,16,opt,name=bootloader" json:"bootloader,omitempty"`
	// Radio subsystem version.
	Radio *string `protobuf:"bytes,17,opt,name=radio" json:"radio,omitempty"`
	// e.g., Verizon Wireless/US.
	Carrier *string `protobuf:"bytes,18,opt,name=carrier" json:"carrier,omitempty"`
	// e.g., US.
	CountryCode *string `protobuf:"bytes,19,opt,name=country_code" json:"country_code,omitempty"`
	// e.g., America/Los_Angeles.
	TimeZone *string `protobuf:"bytes,20,opt,name=time_zone" json:"time_zone,omitempty"`
	// Checkin report version.
	ReportVersion *int32 `protobuf:"varint,21,opt,name=report_version" json:"report_version,omitempty"`
	// True for the original report.
	IsOriginal *bool `protobuf:"varint,22,opt,name=is_original" json:"is_original,omitempty"`
	// True for the latest report among originals sharing start_clock_time_msec.
	IsLatest *bool `protobuf:"varint,23,opt,name=is_latest" json:"is_latest,omitempty"`
	// True for the report generated from diff between originals or if such
	// operation does not make sense. Note is_original and is_diff are not
	// mutually exclusive.
	IsDiff *bool `protobuf:"varint,24,opt,name=is_diff" json:"is_diff,omitempty"`
	// True if the android wear device is paired to an ALT mode companion on iPhone.
	IsAltMode *bool `protobuf:"varint,29,opt,name=is_alt_mode" json:"is_alt_mode,omitempty"`
	// Warnings generated when parsing the report.
	Warning []string `protobuf:"bytes,30,rep,name=warning" json:"warning,omitempty"`
	// Errors generated when parsing the report.
	Error            []string                      `protobuf:"bytes,31,rep,name=error" json:"error,omitempty"`
	AggregationType  *BatteryStats_AggregationType `` /* 127-byte string literal not displayed */
	App              []*BatteryStats_App           `protobuf:"bytes,26,rep,name=app" json:"app,omitempty"`
	System           *BatteryStats_System          `protobuf:"bytes,27,opt,name=system" json:"system,omitempty"`
	XXX_unrecognized []byte                        `json:"-"`
}

func (*BatteryStats) Descriptor

func (*BatteryStats) Descriptor() ([]byte, []int)

func (*BatteryStats) GetAggregationType

func (m *BatteryStats) GetAggregationType() BatteryStats_AggregationType

func (*BatteryStats) GetAndroidIdx

func (m *BatteryStats) GetAndroidIdx() string

func (*BatteryStats) GetApp

func (m *BatteryStats) GetApp() []*BatteryStats_App

func (*BatteryStats) GetBootloader

func (m *BatteryStats) GetBootloader() string

func (*BatteryStats) GetBuild

func (m *BatteryStats) GetBuild() *build.Build

func (*BatteryStats) GetCarrier

func (m *BatteryStats) GetCarrier() string

func (*BatteryStats) GetCheckinRule

func (m *BatteryStats) GetCheckinRule() []string

func (*BatteryStats) GetCountryCode

func (m *BatteryStats) GetCountryCode() string

func (*BatteryStats) GetDeviceGroup

func (m *BatteryStats) GetDeviceGroup() []string

func (*BatteryStats) GetEndTimeStr

func (m *BatteryStats) GetEndTimeStr() string

func (*BatteryStats) GetEndTimeUsec

func (m *BatteryStats) GetEndTimeUsec() int64

func (*BatteryStats) GetError

func (m *BatteryStats) GetError() []string

func (*BatteryStats) GetGmsVersion

func (m *BatteryStats) GetGmsVersion() int32

func (*BatteryStats) GetIsAltMode

func (m *BatteryStats) GetIsAltMode() bool

func (*BatteryStats) GetIsDiff

func (m *BatteryStats) GetIsDiff() bool

func (*BatteryStats) GetIsGoogler

func (m *BatteryStats) GetIsGoogler() bool

func (*BatteryStats) GetIsLatest

func (m *BatteryStats) GetIsLatest() bool

func (*BatteryStats) GetIsOriginal

func (m *BatteryStats) GetIsOriginal() bool

func (*BatteryStats) GetIsUserRelease

func (m *BatteryStats) GetIsUserRelease() bool

func (*BatteryStats) GetLocalEndTimeStr

func (m *BatteryStats) GetLocalEndTimeStr() string

func (*BatteryStats) GetLocalStartTimeStr

func (m *BatteryStats) GetLocalStartTimeStr() string

func (*BatteryStats) GetRadio

func (m *BatteryStats) GetRadio() string

func (*BatteryStats) GetRecordId

func (m *BatteryStats) GetRecordId() string

func (*BatteryStats) GetReportVersion

func (m *BatteryStats) GetReportVersion() int32

func (*BatteryStats) GetSdkVersion

func (m *BatteryStats) GetSdkVersion() int32

func (*BatteryStats) GetStartTimeStr

func (m *BatteryStats) GetStartTimeStr() string

func (*BatteryStats) GetStartTimeUsec

func (m *BatteryStats) GetStartTimeUsec() int64

func (*BatteryStats) GetSystem

func (m *BatteryStats) GetSystem() *BatteryStats_System

func (*BatteryStats) GetTimeZone

func (m *BatteryStats) GetTimeZone() string

func (*BatteryStats) GetWarning

func (m *BatteryStats) GetWarning() []string

func (*BatteryStats) ProtoMessage

func (*BatteryStats) ProtoMessage()

func (*BatteryStats) Reset

func (m *BatteryStats) Reset()

func (*BatteryStats) String

func (m *BatteryStats) String() string

type BatteryStats_AggregationType

type BatteryStats_AggregationType int32
const (
	// All of the data in the stats.
	BatteryStats_SINCE_CHARGED BatteryStats_AggregationType = 0
	// Only the last run in the stats.
	BatteryStats_LAST BatteryStats_AggregationType = 1
	// Only the current run in the stats.
	BatteryStats_CURRENT BatteryStats_AggregationType = 2
	// Only the run since the last time the device was unplugged in the stats.
	BatteryStats_SINCE_UNPLUGGED BatteryStats_AggregationType = 3
)

func (BatteryStats_AggregationType) Enum

func (BatteryStats_AggregationType) EnumDescriptor

func (BatteryStats_AggregationType) EnumDescriptor() ([]byte, []int)

func (BatteryStats_AggregationType) String

func (*BatteryStats_AggregationType) UnmarshalJSON

func (x *BatteryStats_AggregationType) UnmarshalJSON(data []byte) error

type BatteryStats_App

type BatteryStats_App struct {
	// e.g., com.google.android.gms.
	Name *string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
	// e.g., 4224038.
	VersionCode *int32 `protobuf:"varint,2,opt,name=version_code" json:"version_code,omitempty"`
	// e.g., 1000.
	Uid *int32 `protobuf:"varint,3,opt,name=uid" json:"uid,omitempty"`
	// e.g. 1.3
	VersionName *string                   `protobuf:"bytes,24,opt,name=version_name" json:"version_name,omitempty"`
	Child       []*BatteryStats_App_Child `protobuf:"bytes,13,rep,name=child" json:"child,omitempty"`
	// For the most important child (to make it easy to query by dremel).
	// e.g., gms for Google Services.
	HeadChild *BatteryStats_App_Child `protobuf:"bytes,18,opt,name=head_child" json:"head_child,omitempty"`
	Apk       *BatteryStats_App_Apk   `protobuf:"bytes,4,opt,name=apk" json:"apk,omitempty"`
	Audio     *BatteryStats_App_Audio `protobuf:"bytes,19,opt,name=audio" json:"audio,omitempty"`
	// Idle for bluetooth is associated with scanning.
	BluetoothController *BatteryStats_ControllerActivity `protobuf:"bytes,25,opt,name=bluetooth_controller" json:"bluetooth_controller,omitempty"`
	BluetoothMisc       *BatteryStats_App_BluetoothMisc  `protobuf:"bytes,28,opt,name=bluetooth_misc" json:"bluetooth_misc,omitempty"`
	Camera              *BatteryStats_App_Camera         `protobuf:"bytes,20,opt,name=camera" json:"camera,omitempty"`
	Cpu                 *BatteryStats_App_Cpu            `protobuf:"bytes,23,opt,name=cpu" json:"cpu,omitempty"`
	Flashlight          *BatteryStats_App_Flashlight     `protobuf:"bytes,21,opt,name=flashlight" json:"flashlight,omitempty"`
	Foreground          *BatteryStats_App_Foreground     `protobuf:"bytes,5,opt,name=foreground" json:"foreground,omitempty"`
	// The modem controller doesn't provide a mechanism for determining when an
	// app has the modem active but is not transmitting data, so there's no way
	// to idle modem time to a specific UID, hence, idle time will always be 0
	// for app.modem_controller.
	ModemController *BatteryStats_ControllerActivity `protobuf:"bytes,26,opt,name=modem_controller" json:"modem_controller,omitempty"`
	Network         *BatteryStats_App_Network        `protobuf:"bytes,6,opt,name=network" json:"network,omitempty"`
	PowerUseItem    *BatteryStats_App_PowerUseItem   `protobuf:"bytes,7,opt,name=power_use_item" json:"power_use_item,omitempty"`
	Process         []*BatteryStats_App_Process      `protobuf:"bytes,8,rep,name=process" json:"process,omitempty"`
	ScheduledJob    []*BatteryStats_App_ScheduledJob `protobuf:"bytes,14,rep,name=scheduled_job" json:"scheduled_job,omitempty"`
	Sensor          []*BatteryStats_App_Sensor       `protobuf:"bytes,9,rep,name=sensor" json:"sensor,omitempty"`
	StateTime       *BatteryStats_App_StateTime      `protobuf:"bytes,15,opt,name=state_time" json:"state_time,omitempty"`
	Sync            []*BatteryStats_App_Sync         `protobuf:"bytes,16,rep,name=sync" json:"sync,omitempty"`
	UserActivity    []*BatteryStats_App_UserActivity `protobuf:"bytes,17,rep,name=user_activity" json:"user_activity,omitempty"`
	Vibrator        *BatteryStats_App_Vibrator       `protobuf:"bytes,10,opt,name=vibrator" json:"vibrator,omitempty"`
	Video           *BatteryStats_App_Video          `protobuf:"bytes,22,opt,name=video" json:"video,omitempty"`
	Wakelock        []*BatteryStats_App_Wakelock     `protobuf:"bytes,11,rep,name=wakelock" json:"wakelock,omitempty"`
	// If an apk doesn't have service stats, then the APK_DATA line isn't
	// printed, so apk.wakeups could be 0 even though there are WakeupAlarm
	// entries here.
	WakeupAlarm []*BatteryStats_App_WakeupAlarm `protobuf:"bytes,29,rep,name=wakeup_alarm" json:"wakeup_alarm,omitempty"`
	Wifi        *BatteryStats_App_Wifi          `protobuf:"bytes,12,opt,name=wifi" json:"wifi,omitempty"`
	// Idle for wifi is associated with wifi full locks.
	WifiController   *BatteryStats_ControllerActivity `protobuf:"bytes,27,opt,name=wifi_controller" json:"wifi_controller,omitempty"`
	XXX_unrecognized []byte                           `json:"-"`
}

Data collected about a single UID.

In some cases, times are 'apportioned' (i.e. refer to the blame apportioned to this app amongst all apps) rather than the actual time spent. For example, if two apps hold wakelocks simultaneously, the time apportioned to a single app is actually only part of the time it spent holding the wakelock, estimating how much of the device's total wakelock time can be blamed on this app. Other times are 'actual', meaning that they do not take into account usage by other apps. For example, suppose app A is holding wakelock w for 10 minutes and, in the middle of those 10 minutes, app B holds wakelock w for 4 minutes. Then App A actual wakelock time is 10 minutes. App B actual wakelock time is 4 minutes. App A apportioned wakelock time might be (10-4) + 4/2 = 8 minutes. App B apportioned wakelock time might be 4/2 = 2 minutes. Note that the sum of the apportioned times is 10 minutes, which is the length of the time period that wakelock w was held.

func (*BatteryStats_App) Descriptor

func (*BatteryStats_App) Descriptor() ([]byte, []int)

func (*BatteryStats_App) GetApk

func (*BatteryStats_App) GetAudio

func (*BatteryStats_App) GetBluetoothController

func (m *BatteryStats_App) GetBluetoothController() *BatteryStats_ControllerActivity

func (*BatteryStats_App) GetBluetoothMisc

func (m *BatteryStats_App) GetBluetoothMisc() *BatteryStats_App_BluetoothMisc

func (*BatteryStats_App) GetCamera

func (m *BatteryStats_App) GetCamera() *BatteryStats_App_Camera

func (*BatteryStats_App) GetChild

func (m *BatteryStats_App) GetChild() []*BatteryStats_App_Child

func (*BatteryStats_App) GetCpu

func (*BatteryStats_App) GetFlashlight

func (m *BatteryStats_App) GetFlashlight() *BatteryStats_App_Flashlight

func (*BatteryStats_App) GetForeground

func (m *BatteryStats_App) GetForeground() *BatteryStats_App_Foreground

func (*BatteryStats_App) GetHeadChild

func (m *BatteryStats_App) GetHeadChild() *BatteryStats_App_Child

func (*BatteryStats_App) GetModemController

func (m *BatteryStats_App) GetModemController() *BatteryStats_ControllerActivity

func (*BatteryStats_App) GetName

func (m *BatteryStats_App) GetName() string

func (*BatteryStats_App) GetNetwork

func (m *BatteryStats_App) GetNetwork() *BatteryStats_App_Network

func (*BatteryStats_App) GetPowerUseItem

func (m *BatteryStats_App) GetPowerUseItem() *BatteryStats_App_PowerUseItem

func (*BatteryStats_App) GetProcess

func (m *BatteryStats_App) GetProcess() []*BatteryStats_App_Process

func (*BatteryStats_App) GetScheduledJob

func (m *BatteryStats_App) GetScheduledJob() []*BatteryStats_App_ScheduledJob

func (*BatteryStats_App) GetSensor

func (m *BatteryStats_App) GetSensor() []*BatteryStats_App_Sensor

func (*BatteryStats_App) GetStateTime

func (m *BatteryStats_App) GetStateTime() *BatteryStats_App_StateTime

func (*BatteryStats_App) GetSync

func (m *BatteryStats_App) GetSync() []*BatteryStats_App_Sync

func (*BatteryStats_App) GetUid

func (m *BatteryStats_App) GetUid() int32

func (*BatteryStats_App) GetUserActivity

func (m *BatteryStats_App) GetUserActivity() []*BatteryStats_App_UserActivity

func (*BatteryStats_App) GetVersionCode

func (m *BatteryStats_App) GetVersionCode() int32

func (*BatteryStats_App) GetVersionName

func (m *BatteryStats_App) GetVersionName() string

func (*BatteryStats_App) GetVibrator

func (m *BatteryStats_App) GetVibrator() *BatteryStats_App_Vibrator

func (*BatteryStats_App) GetVideo

func (*BatteryStats_App) GetWakelock

func (m *BatteryStats_App) GetWakelock() []*BatteryStats_App_Wakelock

func (*BatteryStats_App) GetWakeupAlarm

func (m *BatteryStats_App) GetWakeupAlarm() []*BatteryStats_App_WakeupAlarm

func (*BatteryStats_App) GetWifi

func (*BatteryStats_App) GetWifiController

func (m *BatteryStats_App) GetWifiController() *BatteryStats_ControllerActivity

func (*BatteryStats_App) ProtoMessage

func (*BatteryStats_App) ProtoMessage()

func (*BatteryStats_App) Reset

func (m *BatteryStats_App) Reset()

func (*BatteryStats_App) String

func (m *BatteryStats_App) String() string

type BatteryStats_App_Apk

type BatteryStats_App_Apk struct {
	// #wakeup alarms that executed. Not int because some packages share the UID.
	// The wakeup count is split further by name in the wakeup_alarm field in
	// report version 17 and up.
	Wakeups          *float32                        `protobuf:"fixed32,1,opt,name=wakeups" json:"wakeups,omitempty"`
	Service          []*BatteryStats_App_Apk_Service `protobuf:"bytes,2,rep,name=service" json:"service,omitempty"`
	XXX_unrecognized []byte                          `json:"-"`
}

func (*BatteryStats_App_Apk) Descriptor

func (*BatteryStats_App_Apk) Descriptor() ([]byte, []int)

func (*BatteryStats_App_Apk) GetService

func (*BatteryStats_App_Apk) GetWakeups

func (m *BatteryStats_App_Apk) GetWakeups() float32

func (*BatteryStats_App_Apk) ProtoMessage

func (*BatteryStats_App_Apk) ProtoMessage()

func (*BatteryStats_App_Apk) Reset

func (m *BatteryStats_App_Apk) Reset()

func (*BatteryStats_App_Apk) String

func (m *BatteryStats_App_Apk) String() string

type BatteryStats_App_Apk_Service

type BatteryStats_App_Apk_Service struct {
	// e.g., com.google.android.gms.icing.service.IndexService.
	Name *string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
	// Time spent started.
	StartTimeMsec *float32 `protobuf:"fixed32,2,opt,name=start_time_msec" json:"start_time_msec,omitempty"`
	// #times it was started.
	Starts *float32 `protobuf:"fixed32,3,opt,name=starts" json:"starts,omitempty"`
	// #times it was launched.
	Launches         *float32 `protobuf:"fixed32,4,opt,name=launches" json:"launches,omitempty"`
	XXX_unrecognized []byte   `json:"-"`
}

func (*BatteryStats_App_Apk_Service) Descriptor

func (*BatteryStats_App_Apk_Service) Descriptor() ([]byte, []int)

func (*BatteryStats_App_Apk_Service) GetLaunches

func (m *BatteryStats_App_Apk_Service) GetLaunches() float32

func (*BatteryStats_App_Apk_Service) GetName

func (m *BatteryStats_App_Apk_Service) GetName() string

func (*BatteryStats_App_Apk_Service) GetStartTimeMsec

func (m *BatteryStats_App_Apk_Service) GetStartTimeMsec() float32

func (*BatteryStats_App_Apk_Service) GetStarts

func (m *BatteryStats_App_Apk_Service) GetStarts() float32

func (*BatteryStats_App_Apk_Service) ProtoMessage

func (*BatteryStats_App_Apk_Service) ProtoMessage()

func (*BatteryStats_App_Apk_Service) Reset

func (m *BatteryStats_App_Apk_Service) Reset()

func (*BatteryStats_App_Apk_Service) String

type BatteryStats_App_Audio

type BatteryStats_App_Audio struct {
	// Duration spent running audio.
	TotalTimeMsec *float32 `protobuf:"fixed32,1,opt,name=total_time_msec" json:"total_time_msec,omitempty"`
	// #times.
	Count            *float32 `protobuf:"fixed32,2,opt,name=count" json:"count,omitempty"`
	XXX_unrecognized []byte   `json:"-"`
}

func (*BatteryStats_App_Audio) Descriptor

func (*BatteryStats_App_Audio) Descriptor() ([]byte, []int)

func (*BatteryStats_App_Audio) GetCount

func (m *BatteryStats_App_Audio) GetCount() float32

func (*BatteryStats_App_Audio) GetTotalTimeMsec

func (m *BatteryStats_App_Audio) GetTotalTimeMsec() float32

func (*BatteryStats_App_Audio) ProtoMessage

func (*BatteryStats_App_Audio) ProtoMessage()

func (*BatteryStats_App_Audio) Reset

func (m *BatteryStats_App_Audio) Reset()

func (*BatteryStats_App_Audio) String

func (m *BatteryStats_App_Audio) String() string

type BatteryStats_App_BluetoothMisc

type BatteryStats_App_BluetoothMisc struct {
	// Duration spent BLE scanning blamed on this App (i.e. apportioned to
	// this app amongst all apps doing BLE scanning; see explanation of
	// 'apportioned' in App's comment).
	BleScanTimeMsec *int64 `protobuf:"varint,1,opt,name=ble_scan_time_msec" json:"ble_scan_time_msec,omitempty"`
	// BLE scan count.
	BleScanCount *int32 `protobuf:"varint,2,opt,name=ble_scan_count" json:"ble_scan_count,omitempty"`
	// # of BLE scans when app is in background. (Included in ble_scan_count.)
	BleScanCountBg *int32 `protobuf:"varint,3,opt,name=ble_scan_count_bg" json:"ble_scan_count_bg,omitempty"`
	// Duration spent BLE scanning in total (irrespective of whether other
	// apps were also simultaneously scanning; see explanation of
	// 'apportioned' vs. 'actual' in App's comment).
	// Includes both foreground + background use.
	BleScanActualTimeMsec *int64 `protobuf:"varint,4,opt,name=ble_scan_actual_time_msec" json:"ble_scan_actual_time_msec,omitempty"`
	// Duration spent BLE scanning when app is in background (irrespective of
	// whether other apps were also simultaneously scanning; see explanation
	// of 'apportioned' vs. 'actual' in App's comment).
	// (Subtracting from ble_scan_actual_time_msec will yield
	// foreground usage.)
	BleScanActualTimeMsecBg *int64 `protobuf:"varint,5,opt,name=ble_scan_actual_time_msec_bg" json:"ble_scan_actual_time_msec_bg,omitempty"`
	// Count of results returned by BLE scanning.
	BleScanResultCount *int32 `protobuf:"varint,6,opt,name=ble_scan_result_count" json:"ble_scan_result_count,omitempty"`
	XXX_unrecognized   []byte `json:"-"`
}

Bluetooth misc data.

func (*BatteryStats_App_BluetoothMisc) Descriptor

func (*BatteryStats_App_BluetoothMisc) Descriptor() ([]byte, []int)

func (*BatteryStats_App_BluetoothMisc) GetBleScanActualTimeMsec

func (m *BatteryStats_App_BluetoothMisc) GetBleScanActualTimeMsec() int64

func (*BatteryStats_App_BluetoothMisc) GetBleScanActualTimeMsecBg

func (m *BatteryStats_App_BluetoothMisc) GetBleScanActualTimeMsecBg() int64

func (*BatteryStats_App_BluetoothMisc) GetBleScanCount

func (m *BatteryStats_App_BluetoothMisc) GetBleScanCount() int32

func (*BatteryStats_App_BluetoothMisc) GetBleScanCountBg

func (m *BatteryStats_App_BluetoothMisc) GetBleScanCountBg() int32

func (*BatteryStats_App_BluetoothMisc) GetBleScanResultCount

func (m *BatteryStats_App_BluetoothMisc) GetBleScanResultCount() int32

func (*BatteryStats_App_BluetoothMisc) GetBleScanTimeMsec

func (m *BatteryStats_App_BluetoothMisc) GetBleScanTimeMsec() int64

func (*BatteryStats_App_BluetoothMisc) ProtoMessage

func (*BatteryStats_App_BluetoothMisc) ProtoMessage()

func (*BatteryStats_App_BluetoothMisc) Reset

func (m *BatteryStats_App_BluetoothMisc) Reset()

func (*BatteryStats_App_BluetoothMisc) String

type BatteryStats_App_Camera

type BatteryStats_App_Camera struct {
	// Duration spent running camera.
	TotalTimeMsec *float32 `protobuf:"fixed32,1,opt,name=total_time_msec" json:"total_time_msec,omitempty"`
	// #times.
	Count            *float32 `protobuf:"fixed32,2,opt,name=count" json:"count,omitempty"`
	XXX_unrecognized []byte   `json:"-"`
}

func (*BatteryStats_App_Camera) Descriptor

func (*BatteryStats_App_Camera) Descriptor() ([]byte, []int)

func (*BatteryStats_App_Camera) GetCount

func (m *BatteryStats_App_Camera) GetCount() float32

func (*BatteryStats_App_Camera) GetTotalTimeMsec

func (m *BatteryStats_App_Camera) GetTotalTimeMsec() float32

func (*BatteryStats_App_Camera) ProtoMessage

func (*BatteryStats_App_Camera) ProtoMessage()

func (*BatteryStats_App_Camera) Reset

func (m *BatteryStats_App_Camera) Reset()

func (*BatteryStats_App_Camera) String

func (m *BatteryStats_App_Camera) String() string

type BatteryStats_App_Child

type BatteryStats_App_Child struct {
	Name             *string               `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
	VersionCode      *int32                `protobuf:"varint,2,opt,name=version_code" json:"version_code,omitempty"`
	VersionName      *string               `protobuf:"bytes,3,opt,name=version_name" json:"version_name,omitempty"`
	Apk              *BatteryStats_App_Apk `protobuf:"bytes,4,opt,name=apk" json:"apk,omitempty"`
	XXX_unrecognized []byte                `json:"-"`
}

List of packages sharing the UID. (e.g., gms, gsf for Google Services)

func (*BatteryStats_App_Child) Descriptor

func (*BatteryStats_App_Child) Descriptor() ([]byte, []int)

func (*BatteryStats_App_Child) GetApk

func (*BatteryStats_App_Child) GetName

func (m *BatteryStats_App_Child) GetName() string

func (*BatteryStats_App_Child) GetVersionCode

func (m *BatteryStats_App_Child) GetVersionCode() int32

func (*BatteryStats_App_Child) GetVersionName

func (m *BatteryStats_App_Child) GetVersionName() string

func (*BatteryStats_App_Child) ProtoMessage

func (*BatteryStats_App_Child) ProtoMessage()

func (*BatteryStats_App_Child) Reset

func (m *BatteryStats_App_Child) Reset()

func (*BatteryStats_App_Child) String

func (m *BatteryStats_App_Child) String() string

type BatteryStats_App_Cpu

type BatteryStats_App_Cpu struct {
	// Total CPU time with processes executing in userspace. Summed up across
	// multiple cores.
	UserTimeMs *float32 `protobuf:"fixed32,1,opt,name=user_time_ms" json:"user_time_ms,omitempty"`
	// Total CPU time with processes executing kernel syscalls. Summed up
	// across multiple cores.
	SystemTimeMs *float32 `protobuf:"fixed32,2,opt,name=system_time_ms" json:"system_time_ms,omitempty"`
	// Total CPU power consumed in milli-ampere-milliseconds.
	PowerMaMs        *float32 `protobuf:"fixed32,3,opt,name=power_ma_ms" json:"power_ma_ms,omitempty"`
	XXX_unrecognized []byte   `json:"-"`
}

func (*BatteryStats_App_Cpu) Descriptor

func (*BatteryStats_App_Cpu) Descriptor() ([]byte, []int)

func (*BatteryStats_App_Cpu) GetPowerMaMs

func (m *BatteryStats_App_Cpu) GetPowerMaMs() float32

func (*BatteryStats_App_Cpu) GetSystemTimeMs

func (m *BatteryStats_App_Cpu) GetSystemTimeMs() float32

func (*BatteryStats_App_Cpu) GetUserTimeMs

func (m *BatteryStats_App_Cpu) GetUserTimeMs() float32

func (*BatteryStats_App_Cpu) ProtoMessage

func (*BatteryStats_App_Cpu) ProtoMessage()

func (*BatteryStats_App_Cpu) Reset

func (m *BatteryStats_App_Cpu) Reset()

func (*BatteryStats_App_Cpu) String

func (m *BatteryStats_App_Cpu) String() string

type BatteryStats_App_Flashlight

type BatteryStats_App_Flashlight struct {
	// Duration spent running flashlight.
	TotalTimeMsec *float32 `protobuf:"fixed32,1,opt,name=total_time_msec" json:"total_time_msec,omitempty"`
	// #times.
	Count            *float32 `protobuf:"fixed32,2,opt,name=count" json:"count,omitempty"`
	XXX_unrecognized []byte   `json:"-"`
}

func (*BatteryStats_App_Flashlight) Descriptor

func (*BatteryStats_App_Flashlight) Descriptor() ([]byte, []int)

func (*BatteryStats_App_Flashlight) GetCount

func (m *BatteryStats_App_Flashlight) GetCount() float32

func (*BatteryStats_App_Flashlight) GetTotalTimeMsec

func (m *BatteryStats_App_Flashlight) GetTotalTimeMsec() float32

func (*BatteryStats_App_Flashlight) ProtoMessage

func (*BatteryStats_App_Flashlight) ProtoMessage()

func (*BatteryStats_App_Flashlight) Reset

func (m *BatteryStats_App_Flashlight) Reset()

func (*BatteryStats_App_Flashlight) String

func (m *BatteryStats_App_Flashlight) String() string

type BatteryStats_App_Foreground

type BatteryStats_App_Foreground struct {
	// Duration spent running as foreground activity.
	TotalTimeMsec *float32 `protobuf:"fixed32,1,opt,name=total_time_msec" json:"total_time_msec,omitempty"`
	// #times.
	Count            *float32 `protobuf:"fixed32,2,opt,name=count" json:"count,omitempty"`
	XXX_unrecognized []byte   `json:"-"`
}

func (*BatteryStats_App_Foreground) Descriptor

func (*BatteryStats_App_Foreground) Descriptor() ([]byte, []int)

func (*BatteryStats_App_Foreground) GetCount

func (m *BatteryStats_App_Foreground) GetCount() float32

func (*BatteryStats_App_Foreground) GetTotalTimeMsec

func (m *BatteryStats_App_Foreground) GetTotalTimeMsec() float32

func (*BatteryStats_App_Foreground) ProtoMessage

func (*BatteryStats_App_Foreground) ProtoMessage()

func (*BatteryStats_App_Foreground) Reset

func (m *BatteryStats_App_Foreground) Reset()

func (*BatteryStats_App_Foreground) String

func (m *BatteryStats_App_Foreground) String() string

type BatteryStats_App_Network

type BatteryStats_App_Network struct {
	// Mobile data traffic (total, background + foreground).
	MobileBytesRx *float32 `protobuf:"fixed32,1,opt,name=mobile_bytes_rx" json:"mobile_bytes_rx,omitempty"`
	MobileBytesTx *float32 `protobuf:"fixed32,2,opt,name=mobile_bytes_tx" json:"mobile_bytes_tx,omitempty"`
	// Wifi data traffic (total, background + foreground).
	WifiBytesRx *float32 `protobuf:"fixed32,3,opt,name=wifi_bytes_rx" json:"wifi_bytes_rx,omitempty"`
	WifiBytesTx *float32 `protobuf:"fixed32,4,opt,name=wifi_bytes_tx" json:"wifi_bytes_tx,omitempty"`
	// In packets (total, background + foreground).
	MobilePacketsRx *float32 `protobuf:"fixed32,5,opt,name=mobile_packets_rx" json:"mobile_packets_rx,omitempty"`
	MobilePacketsTx *float32 `protobuf:"fixed32,6,opt,name=mobile_packets_tx" json:"mobile_packets_tx,omitempty"`
	WifiPacketsRx   *float32 `protobuf:"fixed32,7,opt,name=wifi_packets_rx" json:"wifi_packets_rx,omitempty"`
	WifiPacketsTx   *float32 `protobuf:"fixed32,8,opt,name=wifi_packets_tx" json:"wifi_packets_tx,omitempty"`
	// Radio active duration.
	MobileActiveTimeMsec *float32 `protobuf:"fixed32,9,opt,name=mobile_active_time_msec" json:"mobile_active_time_msec,omitempty"`
	MobileActiveCount    *float32 `protobuf:"fixed32,10,opt,name=mobile_active_count" json:"mobile_active_count,omitempty"`
	BtBytesRx            *int64   `protobuf:"varint,11,opt,name=bt_bytes_rx" json:"bt_bytes_rx,omitempty"`
	BtBytesTx            *int64   `protobuf:"varint,12,opt,name=bt_bytes_tx" json:"bt_bytes_tx,omitempty"`
	// Number of times the app woke up the mobile radio.
	MobileWakeupCount *int32 `protobuf:"varint,13,opt,name=mobile_wakeup_count" json:"mobile_wakeup_count,omitempty"`
	// Number of times the app woke up the wifi radio.
	WifiWakeupCount *int32 `protobuf:"varint,14,opt,name=wifi_wakeup_count" json:"wifi_wakeup_count,omitempty"`
	// Mobile data traffic in the background only, included in total above.
	MobileBytesBgRx *int64 `protobuf:"varint,15,opt,name=mobile_bytes_bg_rx" json:"mobile_bytes_bg_rx,omitempty"`
	MobileBytesBgTx *int64 `protobuf:"varint,16,opt,name=mobile_bytes_bg_tx" json:"mobile_bytes_bg_tx,omitempty"`
	// Wifi data traffic in the background only, included in total above.
	WifiBytesBgRx *int64 `protobuf:"varint,17,opt,name=wifi_bytes_bg_rx" json:"wifi_bytes_bg_rx,omitempty"`
	WifiBytesBgTx *int64 `protobuf:"varint,18,opt,name=wifi_bytes_bg_tx" json:"wifi_bytes_bg_tx,omitempty"`
	// In packets (background only, included in total packets above).
	MobilePacketsBgRx *int64 `protobuf:"varint,19,opt,name=mobile_packets_bg_rx" json:"mobile_packets_bg_rx,omitempty"`
	MobilePacketsBgTx *int64 `protobuf:"varint,20,opt,name=mobile_packets_bg_tx" json:"mobile_packets_bg_tx,omitempty"`
	WifiPacketsBgRx   *int64 `protobuf:"varint,21,opt,name=wifi_packets_bg_rx" json:"wifi_packets_bg_rx,omitempty"`
	WifiPacketsBgTx   *int64 `protobuf:"varint,22,opt,name=wifi_packets_bg_tx" json:"wifi_packets_bg_tx,omitempty"`
	XXX_unrecognized  []byte `json:"-"`
}

func (*BatteryStats_App_Network) Descriptor

func (*BatteryStats_App_Network) Descriptor() ([]byte, []int)

func (*BatteryStats_App_Network) GetBtBytesRx

func (m *BatteryStats_App_Network) GetBtBytesRx() int64

func (*BatteryStats_App_Network) GetBtBytesTx

func (m *BatteryStats_App_Network) GetBtBytesTx() int64

func (*BatteryStats_App_Network) GetMobileActiveCount

func (m *BatteryStats_App_Network) GetMobileActiveCount() float32

func (*BatteryStats_App_Network) GetMobileActiveTimeMsec

func (m *BatteryStats_App_Network) GetMobileActiveTimeMsec() float32

func (*BatteryStats_App_Network) GetMobileBytesBgRx

func (m *BatteryStats_App_Network) GetMobileBytesBgRx() int64

func (*BatteryStats_App_Network) GetMobileBytesBgTx

func (m *BatteryStats_App_Network) GetMobileBytesBgTx() int64

func (*BatteryStats_App_Network) GetMobileBytesRx

func (m *BatteryStats_App_Network) GetMobileBytesRx() float32

func (*BatteryStats_App_Network) GetMobileBytesTx

func (m *BatteryStats_App_Network) GetMobileBytesTx() float32

func (*BatteryStats_App_Network) GetMobilePacketsBgRx

func (m *BatteryStats_App_Network) GetMobilePacketsBgRx() int64

func (*BatteryStats_App_Network) GetMobilePacketsBgTx

func (m *BatteryStats_App_Network) GetMobilePacketsBgTx() int64

func (*BatteryStats_App_Network) GetMobilePacketsRx

func (m *BatteryStats_App_Network) GetMobilePacketsRx() float32

func (*BatteryStats_App_Network) GetMobilePacketsTx

func (m *BatteryStats_App_Network) GetMobilePacketsTx() float32

func (*BatteryStats_App_Network) GetMobileWakeupCount

func (m *BatteryStats_App_Network) GetMobileWakeupCount() int32

func (*BatteryStats_App_Network) GetWifiBytesBgRx

func (m *BatteryStats_App_Network) GetWifiBytesBgRx() int64

func (*BatteryStats_App_Network) GetWifiBytesBgTx

func (m *BatteryStats_App_Network) GetWifiBytesBgTx() int64

func (*BatteryStats_App_Network) GetWifiBytesRx

func (m *BatteryStats_App_Network) GetWifiBytesRx() float32

func (*BatteryStats_App_Network) GetWifiBytesTx

func (m *BatteryStats_App_Network) GetWifiBytesTx() float32

func (*BatteryStats_App_Network) GetWifiPacketsBgRx

func (m *BatteryStats_App_Network) GetWifiPacketsBgRx() int64

func (*BatteryStats_App_Network) GetWifiPacketsBgTx

func (m *BatteryStats_App_Network) GetWifiPacketsBgTx() int64

func (*BatteryStats_App_Network) GetWifiPacketsRx

func (m *BatteryStats_App_Network) GetWifiPacketsRx() float32

func (*BatteryStats_App_Network) GetWifiPacketsTx

func (m *BatteryStats_App_Network) GetWifiPacketsTx() float32

func (*BatteryStats_App_Network) GetWifiWakeupCount

func (m *BatteryStats_App_Network) GetWifiWakeupCount() int32

func (*BatteryStats_App_Network) ProtoMessage

func (*BatteryStats_App_Network) ProtoMessage()

func (*BatteryStats_App_Network) Reset

func (m *BatteryStats_App_Network) Reset()

func (*BatteryStats_App_Network) String

func (m *BatteryStats_App_Network) String() string

type BatteryStats_App_PowerUseItem

type BatteryStats_App_PowerUseItem struct {
	// Estimated power use in mAh.
	ComputedPowerMah *float32 `protobuf:"fixed32,1,opt,name=computed_power_mah" json:"computed_power_mah,omitempty"`
	XXX_unrecognized []byte   `json:"-"`
}

APP only. See System.PowerUseItem for others.

func (*BatteryStats_App_PowerUseItem) Descriptor

func (*BatteryStats_App_PowerUseItem) Descriptor() ([]byte, []int)

func (*BatteryStats_App_PowerUseItem) GetComputedPowerMah

func (m *BatteryStats_App_PowerUseItem) GetComputedPowerMah() float32

func (*BatteryStats_App_PowerUseItem) ProtoMessage

func (*BatteryStats_App_PowerUseItem) ProtoMessage()

func (*BatteryStats_App_PowerUseItem) Reset

func (m *BatteryStats_App_PowerUseItem) Reset()

func (*BatteryStats_App_PowerUseItem) String

type BatteryStats_App_Process

type BatteryStats_App_Process struct {
	// e.g., com.google.process.location.
	Name *string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
	// Time spent executing in user code.
	UserTimeMsec *float32 `protobuf:"fixed32,2,opt,name=user_time_msec" json:"user_time_msec,omitempty"`
	// Time in system code.
	SystemTimeMsec *float32 `protobuf:"fixed32,3,opt,name=system_time_msec" json:"system_time_msec,omitempty"`
	// Time in the foreground.
	ForegroundTimeMsec *float32 `protobuf:"fixed32,4,opt,name=foreground_time_msec" json:"foreground_time_msec,omitempty"`
	// #times the process has been started.
	Starts *float32 `protobuf:"fixed32,5,opt,name=starts" json:"starts,omitempty"`
	// #times the process has ANRed.
	Anrs *float32 `protobuf:"fixed32,6,opt,name=anrs" json:"anrs,omitempty"`
	// #times the process has crashed.
	Crashes          *float32 `protobuf:"fixed32,7,opt,name=crashes" json:"crashes,omitempty"`
	XXX_unrecognized []byte   `json:"-"`
}

func (*BatteryStats_App_Process) Descriptor

func (*BatteryStats_App_Process) Descriptor() ([]byte, []int)

func (*BatteryStats_App_Process) GetAnrs

func (m *BatteryStats_App_Process) GetAnrs() float32

func (*BatteryStats_App_Process) GetCrashes

func (m *BatteryStats_App_Process) GetCrashes() float32

func (*BatteryStats_App_Process) GetForegroundTimeMsec

func (m *BatteryStats_App_Process) GetForegroundTimeMsec() float32

func (*BatteryStats_App_Process) GetName

func (m *BatteryStats_App_Process) GetName() string

func (*BatteryStats_App_Process) GetStarts

func (m *BatteryStats_App_Process) GetStarts() float32

func (*BatteryStats_App_Process) GetSystemTimeMsec

func (m *BatteryStats_App_Process) GetSystemTimeMsec() float32

func (*BatteryStats_App_Process) GetUserTimeMsec

func (m *BatteryStats_App_Process) GetUserTimeMsec() float32

func (*BatteryStats_App_Process) ProtoMessage

func (*BatteryStats_App_Process) ProtoMessage()

func (*BatteryStats_App_Process) Reset

func (m *BatteryStats_App_Process) Reset()

func (*BatteryStats_App_Process) String

func (m *BatteryStats_App_Process) String() string

type BatteryStats_App_ScheduledJob

type BatteryStats_App_ScheduledJob struct {
	Name *string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
	// Duration of use. Includes both foreground + background use.
	TotalTimeMsec *float32 `protobuf:"fixed32,2,opt,name=total_time_msec" json:"total_time_msec,omitempty"`
	// #times of use.
	Count *float32 `protobuf:"fixed32,3,opt,name=count" json:"count,omitempty"`
	// Duration of use when app is in background.
	// (Subtracting from total_time_msec will yield foreground usage.)
	BackgroundTimeMsec *int64 `protobuf:"varint,4,opt,name=background_time_msec" json:"background_time_msec,omitempty"`
	// #times of use when in background. (This is included in count above.)
	BackgroundCount  *int32 `protobuf:"varint,5,opt,name=background_count" json:"background_count,omitempty"`
	XXX_unrecognized []byte `json:"-"`
}

func (*BatteryStats_App_ScheduledJob) Descriptor

func (*BatteryStats_App_ScheduledJob) Descriptor() ([]byte, []int)

func (*BatteryStats_App_ScheduledJob) GetBackgroundCount

func (m *BatteryStats_App_ScheduledJob) GetBackgroundCount() int32

func (*BatteryStats_App_ScheduledJob) GetBackgroundTimeMsec

func (m *BatteryStats_App_ScheduledJob) GetBackgroundTimeMsec() int64

func (*BatteryStats_App_ScheduledJob) GetCount

func (m *BatteryStats_App_ScheduledJob) GetCount() float32

func (*BatteryStats_App_ScheduledJob) GetName

func (*BatteryStats_App_ScheduledJob) GetTotalTimeMsec

func (m *BatteryStats_App_ScheduledJob) GetTotalTimeMsec() float32

func (*BatteryStats_App_ScheduledJob) ProtoMessage

func (*BatteryStats_App_ScheduledJob) ProtoMessage()

func (*BatteryStats_App_ScheduledJob) Reset

func (m *BatteryStats_App_ScheduledJob) Reset()

func (*BatteryStats_App_ScheduledJob) String

type BatteryStats_App_Sensor

type BatteryStats_App_Sensor struct {
	// e.g., 24 (significant motion detector).
	Number *int32 `protobuf:"varint,1,opt,name=number" json:"number,omitempty"`
	// Duration of use blamed on this App (i.e. apportioned to this app
	// amongst all apps using this sensor; see explanation of
	// 'apportioned' in App's comment).
	TotalTimeMsec *float32 `protobuf:"fixed32,2,opt,name=total_time_msec" json:"total_time_msec,omitempty"`
	// #times of use.
	Count *float32 `protobuf:"fixed32,3,opt,name=count" json:"count,omitempty"`
	// #times of use when in background. This is included in count above.
	BackgroundCount *int32 `protobuf:"varint,4,opt,name=background_count" json:"background_count,omitempty"`
	// Duration of use (irrespective of whether other apps were also
	// simultaneously using the sensor; see explanation of
	// 'apportioned' vs. 'actual' in App's comment).
	// Includes both foreground + background use.
	ActualTimeMsec *int64 `protobuf:"varint,5,opt,name=actual_time_msec" json:"actual_time_msec,omitempty"`
	// Duration of use when app is in background (irrespective of
	// whether other apps were also simultaneously using the sensor; see
	// explanation of 'apportioned' vs. 'actual' in App's comment).
	// (Subtracting from actual_time_msec will yield foreground usage.)
	BackgroundActualTimeMsec *int64 `protobuf:"varint,6,opt,name=background_actual_time_msec" json:"background_actual_time_msec,omitempty"`
	XXX_unrecognized         []byte `json:"-"`
}

func (*BatteryStats_App_Sensor) Descriptor

func (*BatteryStats_App_Sensor) Descriptor() ([]byte, []int)

func (*BatteryStats_App_Sensor) GetActualTimeMsec

func (m *BatteryStats_App_Sensor) GetActualTimeMsec() int64

func (*BatteryStats_App_Sensor) GetBackgroundActualTimeMsec

func (m *BatteryStats_App_Sensor) GetBackgroundActualTimeMsec() int64

func (*BatteryStats_App_Sensor) GetBackgroundCount

func (m *BatteryStats_App_Sensor) GetBackgroundCount() int32

func (*BatteryStats_App_Sensor) GetCount

func (m *BatteryStats_App_Sensor) GetCount() float32

func (*BatteryStats_App_Sensor) GetNumber

func (m *BatteryStats_App_Sensor) GetNumber() int32

func (*BatteryStats_App_Sensor) GetTotalTimeMsec

func (m *BatteryStats_App_Sensor) GetTotalTimeMsec() float32

func (*BatteryStats_App_Sensor) ProtoMessage

func (*BatteryStats_App_Sensor) ProtoMessage()

func (*BatteryStats_App_Sensor) Reset

func (m *BatteryStats_App_Sensor) Reset()

func (*BatteryStats_App_Sensor) String

func (m *BatteryStats_App_Sensor) String() string

type BatteryStats_App_StateTime

type BatteryStats_App_StateTime struct {
	// Time the uid had any processes in an active foreground state, but none
	// in the "top sleeping" or better state.
	ForegroundTimeMsec *float32 `protobuf:"fixed32,1,opt,name=foreground_time_msec" json:"foreground_time_msec,omitempty"`
	// Time the uid had any process in active state (not cached).
	// Deprecated as of report version 17.
	ActiveTimeMsec *float32 `protobuf:"fixed32,2,opt,name=active_time_msec" json:"active_time_msec,omitempty"`
	// Time the uid had any processes that were sitting around cached, not in
	// one of the other active states.
	CachedTimeMsec *float32 `protobuf:"fixed32,3,opt,name=cached_time_msec" json:"cached_time_msec,omitempty"`
	// Time the uid had any processes in the top state (or above, such as
	// persistent).
	TopTimeMsec *int64 `protobuf:"varint,4,opt,name=top_time_msec" json:"top_time_msec,omitempty"`
	// Time the uid had any process with a started out bound foreground
	// service, but none in the "top" state.
	ForegroundServiceTimeMsec *int64 `protobuf:"varint,5,opt,name=foreground_service_time_msec" json:"foreground_service_time_msec,omitempty"`
	// Time the uid had any process that is top while the device was sleeping,
	// but none in the "foreground service" or better state.
	// Sleeping is mostly screen off, but also includes the time when the
	// screen is on but the device has not yet been unlocked.
	TopSleepingTimeMsec *int64 `protobuf:"varint,6,opt,name=top_sleeping_time_msec" json:"top_sleeping_time_msec,omitempty"`
	// Time the uid had any process in an active background state, but none in
	// the "foreground" or better state.
	BackgroundTimeMsec *int64 `protobuf:"varint,7,opt,name=background_time_msec" json:"background_time_msec,omitempty"`
	XXX_unrecognized   []byte `json:"-"`
}

func (*BatteryStats_App_StateTime) Descriptor

func (*BatteryStats_App_StateTime) Descriptor() ([]byte, []int)

func (*BatteryStats_App_StateTime) GetActiveTimeMsec

func (m *BatteryStats_App_StateTime) GetActiveTimeMsec() float32

func (*BatteryStats_App_StateTime) GetBackgroundTimeMsec

func (m *BatteryStats_App_StateTime) GetBackgroundTimeMsec() int64

func (*BatteryStats_App_StateTime) GetCachedTimeMsec

func (m *BatteryStats_App_StateTime) GetCachedTimeMsec() float32

func (*BatteryStats_App_StateTime) GetForegroundServiceTimeMsec

func (m *BatteryStats_App_StateTime) GetForegroundServiceTimeMsec() int64

func (*BatteryStats_App_StateTime) GetForegroundTimeMsec

func (m *BatteryStats_App_StateTime) GetForegroundTimeMsec() float32

func (*BatteryStats_App_StateTime) GetTopSleepingTimeMsec

func (m *BatteryStats_App_StateTime) GetTopSleepingTimeMsec() int64

func (*BatteryStats_App_StateTime) GetTopTimeMsec

func (m *BatteryStats_App_StateTime) GetTopTimeMsec() int64

func (*BatteryStats_App_StateTime) ProtoMessage

func (*BatteryStats_App_StateTime) ProtoMessage()

func (*BatteryStats_App_StateTime) Reset

func (m *BatteryStats_App_StateTime) Reset()

func (*BatteryStats_App_StateTime) String

func (m *BatteryStats_App_StateTime) String() string

type BatteryStats_App_Sync

type BatteryStats_App_Sync struct {
	Name *string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
	// Duration of use. Includes both foreground + background use.
	TotalTimeMsec *float32 `protobuf:"fixed32,2,opt,name=total_time_msec" json:"total_time_msec,omitempty"`
	// #times of use.
	Count *float32 `protobuf:"fixed32,3,opt,name=count" json:"count,omitempty"`
	// Duration of use when app is in background.
	// (Subtracting from total_time_msec will yield foreground usage.)
	BackgroundTimeMsec *int64 `protobuf:"varint,4,opt,name=background_time_msec" json:"background_time_msec,omitempty"`
	// #times of use when in background. (This is included in count above.)
	BackgroundCount  *int32 `protobuf:"varint,5,opt,name=background_count" json:"background_count,omitempty"`
	XXX_unrecognized []byte `json:"-"`
}

func (*BatteryStats_App_Sync) Descriptor

func (*BatteryStats_App_Sync) Descriptor() ([]byte, []int)

func (*BatteryStats_App_Sync) GetBackgroundCount

func (m *BatteryStats_App_Sync) GetBackgroundCount() int32

func (*BatteryStats_App_Sync) GetBackgroundTimeMsec

func (m *BatteryStats_App_Sync) GetBackgroundTimeMsec() int64

func (*BatteryStats_App_Sync) GetCount

func (m *BatteryStats_App_Sync) GetCount() float32

func (*BatteryStats_App_Sync) GetName

func (m *BatteryStats_App_Sync) GetName() string

func (*BatteryStats_App_Sync) GetTotalTimeMsec

func (m *BatteryStats_App_Sync) GetTotalTimeMsec() float32

func (*BatteryStats_App_Sync) ProtoMessage

func (*BatteryStats_App_Sync) ProtoMessage()

func (*BatteryStats_App_Sync) Reset

func (m *BatteryStats_App_Sync) Reset()

func (*BatteryStats_App_Sync) String

func (m *BatteryStats_App_Sync) String() string

type BatteryStats_App_UserActivity

type BatteryStats_App_UserActivity struct {
	Name             *BatteryStats_App_UserActivity_Name `protobuf:"varint,1,opt,name=name,enum=batterystats.BatteryStats_App_UserActivity_Name" json:"name,omitempty"`
	Count            *float32                            `protobuf:"fixed32,2,opt,name=count" json:"count,omitempty"`
	XXX_unrecognized []byte                              `json:"-"`
}

func (*BatteryStats_App_UserActivity) Descriptor

func (*BatteryStats_App_UserActivity) Descriptor() ([]byte, []int)

func (*BatteryStats_App_UserActivity) GetCount

func (m *BatteryStats_App_UserActivity) GetCount() float32

func (*BatteryStats_App_UserActivity) GetName

func (*BatteryStats_App_UserActivity) ProtoMessage

func (*BatteryStats_App_UserActivity) ProtoMessage()

func (*BatteryStats_App_UserActivity) Reset

func (m *BatteryStats_App_UserActivity) Reset()

func (*BatteryStats_App_UserActivity) String

type BatteryStats_App_UserActivity_Name

type BatteryStats_App_UserActivity_Name int32
const (
	BatteryStats_App_UserActivity_OTHER  BatteryStats_App_UserActivity_Name = 0
	BatteryStats_App_UserActivity_BUTTON BatteryStats_App_UserActivity_Name = 1
	BatteryStats_App_UserActivity_TOUCH  BatteryStats_App_UserActivity_Name = 2
	// When an accessibility service takes an action on behalf of the user.
	BatteryStats_App_UserActivity_ACCESSIBILITY BatteryStats_App_UserActivity_Name = 3
)

func (BatteryStats_App_UserActivity_Name) Enum

func (BatteryStats_App_UserActivity_Name) EnumDescriptor

func (BatteryStats_App_UserActivity_Name) EnumDescriptor() ([]byte, []int)

func (BatteryStats_App_UserActivity_Name) String

func (*BatteryStats_App_UserActivity_Name) UnmarshalJSON

func (x *BatteryStats_App_UserActivity_Name) UnmarshalJSON(data []byte) error

type BatteryStats_App_Vibrator

type BatteryStats_App_Vibrator struct {
	// Duration of use.
	TotalTimeMsec *float32 `protobuf:"fixed32,1,opt,name=total_time_msec" json:"total_time_msec,omitempty"`
	// #times of use.
	Count            *float32 `protobuf:"fixed32,2,opt,name=count" json:"count,omitempty"`
	XXX_unrecognized []byte   `json:"-"`
}

func (*BatteryStats_App_Vibrator) Descriptor

func (*BatteryStats_App_Vibrator) Descriptor() ([]byte, []int)

func (*BatteryStats_App_Vibrator) GetCount

func (m *BatteryStats_App_Vibrator) GetCount() float32

func (*BatteryStats_App_Vibrator) GetTotalTimeMsec

func (m *BatteryStats_App_Vibrator) GetTotalTimeMsec() float32

func (*BatteryStats_App_Vibrator) ProtoMessage

func (*BatteryStats_App_Vibrator) ProtoMessage()

func (*BatteryStats_App_Vibrator) Reset

func (m *BatteryStats_App_Vibrator) Reset()

func (*BatteryStats_App_Vibrator) String

func (m *BatteryStats_App_Vibrator) String() string

type BatteryStats_App_Video

type BatteryStats_App_Video struct {
	// Duration spent with video on.
	TotalTimeMsec *float32 `protobuf:"fixed32,1,opt,name=total_time_msec" json:"total_time_msec,omitempty"`
	// #times.
	Count            *float32 `protobuf:"fixed32,2,opt,name=count" json:"count,omitempty"`
	XXX_unrecognized []byte   `json:"-"`
}

func (*BatteryStats_App_Video) Descriptor

func (*BatteryStats_App_Video) Descriptor() ([]byte, []int)

func (*BatteryStats_App_Video) GetCount

func (m *BatteryStats_App_Video) GetCount() float32

func (*BatteryStats_App_Video) GetTotalTimeMsec

func (m *BatteryStats_App_Video) GetTotalTimeMsec() float32

func (*BatteryStats_App_Video) ProtoMessage

func (*BatteryStats_App_Video) ProtoMessage()

func (*BatteryStats_App_Video) Reset

func (m *BatteryStats_App_Video) Reset()

func (*BatteryStats_App_Video) String

func (m *BatteryStats_App_Video) String() string

type BatteryStats_App_Wakelock

type BatteryStats_App_Wakelock struct {
	// PII-free wakelock names as a result of:
	// 1. regexp replacement (e.g., email address).
	// 2. removal of "unpopular" wakelock names that appear less than X%
	//    (in terms of #unique android_id's) of all daily reports.
	Name *string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
	// Full wakelocks keep the screen on. Based on
	// PowerManager.SCREEN_BRIGHT_WAKE_LOCK (deprecated in API 13) and
	// PowerManager.SCREEN_DIM_WAKE_LOCK (deprecated in API 17).
	// If multiple full wakelocks are held at the same time, the total time
	// is split evenly between them, so this value (full_time_msec) may not
	// constitute the complete duration the wakelock was held. That is, this
	// value is 'apportioned' in the sense described in App's comment.
	FullTimeMsec *float32 `protobuf:"fixed32,2,opt,name=full_time_msec" json:"full_time_msec,omitempty"`
	FullCount    *float32 `protobuf:"fixed32,3,opt,name=full_count" json:"full_count,omitempty"`
	// Currently, current and max (as of their introduction in v19) and total
	// (as of its introduction in v21) durations are not tracked for
	// full wakelocks, and 0 or -1 will always be printed out for them.
	FullCurrentDurationMsec *int64 `protobuf:"varint,8,opt,name=full_current_duration_msec" json:"full_current_duration_msec,omitempty"`
	FullMaxDurationMsec     *int64 `protobuf:"varint,9,opt,name=full_max_duration_msec" json:"full_max_duration_msec,omitempty"`
	FullTotalDurationMsec   *int64 `protobuf:"varint,14,opt,name=full_total_duration_msec" json:"full_total_duration_msec,omitempty"`
	// Partial wakelocks ensure the CPU is running while allowing the screen
	// to turn off. Based on PowerManager.PARTIAL_WAKE_LOCK.
	// Partial wakelock metrics are only recorded when the device is unplugged
	// *and* the screen is off.
	// If multiple partial wakelocks are held at the same time, the total time
	// is split evenly between them, so this value (partial_time_msec) may not
	// constitute the complete duration the wakelock was held. That is, this
	// value is 'apportioned' in the sense described in App's comment.
	PartialTimeMsec *float32 `protobuf:"fixed32,4,opt,name=partial_time_msec" json:"partial_time_msec,omitempty"`
	PartialCount    *float32 `protobuf:"fixed32,5,opt,name=partial_count" json:"partial_count,omitempty"`
	// If the wakelock was being held at the time of the report, this will be
	// how long the current hold had been active for. Unlike
	// partial_time_msec, this duration is not split between wakelocks and so
	// constitutes the complete current wakelock duration.
	PartialCurrentDurationMsec *int64 `protobuf:"varint,10,opt,name=partial_current_duration_msec" json:"partial_current_duration_msec,omitempty"`
	// The maximum duration the wakelock had been held for. Unlike
	// partial_time_msec, this duration is not split between wakelocks and so
	// constitutes the complete maximum wakelock duration.
	PartialMaxDurationMsec *int64 `protobuf:"varint,11,opt,name=partial_max_duration_msec" json:"partial_max_duration_msec,omitempty"`
	// The total duration the wakelock had been held for. Unlike
	// partial_time_msec, this duration is not split between wakelocks and so
	// constitutes the complete total wakelock duration. That is, this
	// value is 'actual' in the sense described in App's comment.
	PartialTotalDurationMsec *int64 `protobuf:"varint,15,opt,name=partial_total_duration_msec" json:"partial_total_duration_msec,omitempty"`
	// Window wakelocks keep the screen on.
	// If multiple window wakelocks are held at the same time, the total time
	// is split evenly between them, so this value (window_time_msec) may not
	// constitute the complete duration the wakelock was held. That is, this
	// value is 'apportioned' in the sense described in App's comment.
	WindowTimeMsec *float32 `protobuf:"fixed32,6,opt,name=window_time_msec" json:"window_time_msec,omitempty"`
	WindowCount    *float32 `protobuf:"fixed32,7,opt,name=window_count" json:"window_count,omitempty"`
	// Currently, current and max (as of their introduction in v19) and total
	// (as of its introduction in v21) durations are not tracked for
	// window wakelocks, and 0 or -1 will always be printed out for them.
	WindowCurrentDurationMsec *int64 `protobuf:"varint,12,opt,name=window_current_duration_msec" json:"window_current_duration_msec,omitempty"`
	WindowMaxDurationMsec     *int64 `protobuf:"varint,13,opt,name=window_max_duration_msec" json:"window_max_duration_msec,omitempty"`
	WindowTotalDurationMsec   *int64 `protobuf:"varint,16,opt,name=window_total_duration_msec" json:"window_total_duration_msec,omitempty"`
	XXX_unrecognized          []byte `json:"-"`
}

func (*BatteryStats_App_Wakelock) Descriptor

func (*BatteryStats_App_Wakelock) Descriptor() ([]byte, []int)

func (*BatteryStats_App_Wakelock) GetFullCount

func (m *BatteryStats_App_Wakelock) GetFullCount() float32

func (*BatteryStats_App_Wakelock) GetFullCurrentDurationMsec

func (m *BatteryStats_App_Wakelock) GetFullCurrentDurationMsec() int64

func (*BatteryStats_App_Wakelock) GetFullMaxDurationMsec

func (m *BatteryStats_App_Wakelock) GetFullMaxDurationMsec() int64

func (*BatteryStats_App_Wakelock) GetFullTimeMsec

func (m *BatteryStats_App_Wakelock) GetFullTimeMsec() float32

func (*BatteryStats_App_Wakelock) GetFullTotalDurationMsec

func (m *BatteryStats_App_Wakelock) GetFullTotalDurationMsec() int64

func (*BatteryStats_App_Wakelock) GetName

func (m *BatteryStats_App_Wakelock) GetName() string

func (*BatteryStats_App_Wakelock) GetPartialCount

func (m *BatteryStats_App_Wakelock) GetPartialCount() float32

func (*BatteryStats_App_Wakelock) GetPartialCurrentDurationMsec

func (m *BatteryStats_App_Wakelock) GetPartialCurrentDurationMsec() int64

func (*BatteryStats_App_Wakelock) GetPartialMaxDurationMsec

func (m *BatteryStats_App_Wakelock) GetPartialMaxDurationMsec() int64

func (*BatteryStats_App_Wakelock) GetPartialTimeMsec

func (m *BatteryStats_App_Wakelock) GetPartialTimeMsec() float32

func (*BatteryStats_App_Wakelock) GetPartialTotalDurationMsec

func (m *BatteryStats_App_Wakelock) GetPartialTotalDurationMsec() int64

func (*BatteryStats_App_Wakelock) GetWindowCount

func (m *BatteryStats_App_Wakelock) GetWindowCount() float32

func (*BatteryStats_App_Wakelock) GetWindowCurrentDurationMsec

func (m *BatteryStats_App_Wakelock) GetWindowCurrentDurationMsec() int64

func (*BatteryStats_App_Wakelock) GetWindowMaxDurationMsec

func (m *BatteryStats_App_Wakelock) GetWindowMaxDurationMsec() int64

func (*BatteryStats_App_Wakelock) GetWindowTimeMsec

func (m *BatteryStats_App_Wakelock) GetWindowTimeMsec() float32

func (*BatteryStats_App_Wakelock) GetWindowTotalDurationMsec

func (m *BatteryStats_App_Wakelock) GetWindowTotalDurationMsec() int64

func (*BatteryStats_App_Wakelock) ProtoMessage

func (*BatteryStats_App_Wakelock) ProtoMessage()

func (*BatteryStats_App_Wakelock) Reset

func (m *BatteryStats_App_Wakelock) Reset()

func (*BatteryStats_App_Wakelock) String

func (m *BatteryStats_App_Wakelock) String() string

type BatteryStats_App_WakeupAlarm

type BatteryStats_App_WakeupAlarm struct {
	Name             *string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
	Count            *int32  `protobuf:"varint,2,opt,name=count" json:"count,omitempty"`
	XXX_unrecognized []byte  `json:"-"`
}

func (*BatteryStats_App_WakeupAlarm) Descriptor

func (*BatteryStats_App_WakeupAlarm) Descriptor() ([]byte, []int)

func (*BatteryStats_App_WakeupAlarm) GetCount

func (m *BatteryStats_App_WakeupAlarm) GetCount() int32

func (*BatteryStats_App_WakeupAlarm) GetName

func (m *BatteryStats_App_WakeupAlarm) GetName() string

func (*BatteryStats_App_WakeupAlarm) ProtoMessage

func (*BatteryStats_App_WakeupAlarm) ProtoMessage()

func (*BatteryStats_App_WakeupAlarm) Reset

func (m *BatteryStats_App_WakeupAlarm) Reset()

func (*BatteryStats_App_WakeupAlarm) String

type BatteryStats_App_Wifi

type BatteryStats_App_Wifi struct {
	// Duration holding Wifi-lock.
	FullWifiLockTimeMsec *float32 `protobuf:"fixed32,1,opt,name=full_wifi_lock_time_msec" json:"full_wifi_lock_time_msec,omitempty"`
	// Duration performing Wifi-scan blamed on this App (i.e. apportioned to
	// this app amongst all apps doing Wifi-scanning; see explanation of
	// 'apportioned' in App's comment).
	ScanTimeMsec *float32 `protobuf:"fixed32,2,opt,name=scan_time_msec" json:"scan_time_msec,omitempty"`
	// Duration running Wifi.
	RunningTimeMsec *float32 `protobuf:"fixed32,3,opt,name=running_time_msec" json:"running_time_msec,omitempty"`
	ScanCount       *float32 `protobuf:"fixed32,4,opt,name=scan_count" json:"scan_count,omitempty"`
	IdleTimeMsec    *float32 `protobuf:"fixed32,5,opt,name=idle_time_msec" json:"idle_time_msec,omitempty"`
	RxTimeMsec      *float32 `protobuf:"fixed32,6,opt,name=rx_time_msec" json:"rx_time_msec,omitempty"`
	TxTimeMsec      *float32 `protobuf:"fixed32,7,opt,name=tx_time_msec" json:"tx_time_msec,omitempty"`
	// #scans performed when app is in background. (Included in scan_count.)
	ScanCountBg *int32 `protobuf:"varint,8,opt,name=scan_count_bg" json:"scan_count_bg,omitempty"`
	// Duration performing Wifi-scan in total (irrespective of whether other
	// apps were also simultaneously scanning; see explanation of
	// 'apportioned' vs. 'actual' in App's comment).
	// Includes both foreground + background use.
	ScanActualTimeMsec *int64 `protobuf:"varint,9,opt,name=scan_actual_time_msec" json:"scan_actual_time_msec,omitempty"`
	// Duration performing Wifi-scan when app is in background (irrespective
	// of whether other apps were also simultaneously scanning; see
	// explanation of 'apportioned' vs. 'actual' in App's comment).
	// (Subtracting from scan_actual_time_msec will yield foreground
	// usage.)
	ScanActualTimeMsecBg *int64 `protobuf:"varint,10,opt,name=scan_actual_time_msec_bg" json:"scan_actual_time_msec_bg,omitempty"`
	XXX_unrecognized     []byte `json:"-"`
}

func (*BatteryStats_App_Wifi) Descriptor

func (*BatteryStats_App_Wifi) Descriptor() ([]byte, []int)

func (*BatteryStats_App_Wifi) GetFullWifiLockTimeMsec

func (m *BatteryStats_App_Wifi) GetFullWifiLockTimeMsec() float32

func (*BatteryStats_App_Wifi) GetIdleTimeMsec

func (m *BatteryStats_App_Wifi) GetIdleTimeMsec() float32

func (*BatteryStats_App_Wifi) GetRunningTimeMsec

func (m *BatteryStats_App_Wifi) GetRunningTimeMsec() float32

func (*BatteryStats_App_Wifi) GetRxTimeMsec

func (m *BatteryStats_App_Wifi) GetRxTimeMsec() float32

func (*BatteryStats_App_Wifi) GetScanActualTimeMsec

func (m *BatteryStats_App_Wifi) GetScanActualTimeMsec() int64

func (*BatteryStats_App_Wifi) GetScanActualTimeMsecBg

func (m *BatteryStats_App_Wifi) GetScanActualTimeMsecBg() int64

func (*BatteryStats_App_Wifi) GetScanCount

func (m *BatteryStats_App_Wifi) GetScanCount() float32

func (*BatteryStats_App_Wifi) GetScanCountBg

func (m *BatteryStats_App_Wifi) GetScanCountBg() int32

func (*BatteryStats_App_Wifi) GetScanTimeMsec

func (m *BatteryStats_App_Wifi) GetScanTimeMsec() float32

func (*BatteryStats_App_Wifi) GetTxTimeMsec

func (m *BatteryStats_App_Wifi) GetTxTimeMsec() float32

func (*BatteryStats_App_Wifi) ProtoMessage

func (*BatteryStats_App_Wifi) ProtoMessage()

func (*BatteryStats_App_Wifi) Reset

func (m *BatteryStats_App_Wifi) Reset()

func (*BatteryStats_App_Wifi) String

func (m *BatteryStats_App_Wifi) String() string

type BatteryStats_ControllerActivity

type BatteryStats_ControllerActivity struct {
	// Time (milliseconds) spent in the idle state.
	IdleTimeMsec *int64 `protobuf:"varint,1,opt,name=idle_time_msec" json:"idle_time_msec,omitempty"`
	// Time (milliseconds) spent in the receive state.
	RxTimeMsec *int64 `protobuf:"varint,2,opt,name=rx_time_msec" json:"rx_time_msec,omitempty"`
	// Total power (mAh) consumed by the controller in all states. The value may
	// always be 0 if the device doesn't support power calculations.
	PowerMah         *int64                                     `protobuf:"varint,3,opt,name=power_mah" json:"power_mah,omitempty"`
	Tx               []*BatteryStats_ControllerActivity_TxLevel `protobuf:"bytes,4,rep,name=tx" json:"tx,omitempty"`
	XXX_unrecognized []byte                                     `json:"-"`
}

func (*BatteryStats_ControllerActivity) Descriptor

func (*BatteryStats_ControllerActivity) Descriptor() ([]byte, []int)

func (*BatteryStats_ControllerActivity) GetIdleTimeMsec

func (m *BatteryStats_ControllerActivity) GetIdleTimeMsec() int64

func (*BatteryStats_ControllerActivity) GetPowerMah

func (m *BatteryStats_ControllerActivity) GetPowerMah() int64

func (*BatteryStats_ControllerActivity) GetRxTimeMsec

func (m *BatteryStats_ControllerActivity) GetRxTimeMsec() int64

func (*BatteryStats_ControllerActivity) GetTx

func (*BatteryStats_ControllerActivity) ProtoMessage

func (*BatteryStats_ControllerActivity) ProtoMessage()

func (*BatteryStats_ControllerActivity) Reset

func (*BatteryStats_ControllerActivity) String

type BatteryStats_ControllerActivity_TxLevel

type BatteryStats_ControllerActivity_TxLevel struct {
	// Transmit level. Higher levels draw more power.
	Level *int32 `protobuf:"varint,1,opt,name=level" json:"level,omitempty"`
	// Time spent in this specific transmit level state.
	TimeMsec         *int64 `protobuf:"varint,2,opt,name=time_msec" json:"time_msec,omitempty"`
	XXX_unrecognized []byte `json:"-"`
}

Represents a transmit level, where each level may draw a different amount of power. The levels themselves are controller-specific (and may possibly be device specific...yet to be confirmed).

func (*BatteryStats_ControllerActivity_TxLevel) Descriptor

func (*BatteryStats_ControllerActivity_TxLevel) Descriptor() ([]byte, []int)

func (*BatteryStats_ControllerActivity_TxLevel) GetLevel

func (*BatteryStats_ControllerActivity_TxLevel) GetTimeMsec

func (*BatteryStats_ControllerActivity_TxLevel) ProtoMessage

func (*BatteryStats_ControllerActivity_TxLevel) Reset

func (*BatteryStats_ControllerActivity_TxLevel) String

type BatteryStats_System

type BatteryStats_System struct {
	Battery                *BatteryStats_System_Battery                `protobuf:"bytes,1,opt,name=battery" json:"battery,omitempty"`
	BatteryDischarge       *BatteryStats_System_BatteryDischarge       `protobuf:"bytes,2,opt,name=battery_discharge" json:"battery_discharge,omitempty"`
	BatteryLevel           *BatteryStats_System_BatteryLevel           `protobuf:"bytes,3,opt,name=battery_level" json:"battery_level,omitempty"`
	BluetoothState         []*BatteryStats_System_BluetoothState       `protobuf:"bytes,4,rep,name=bluetooth_state" json:"bluetooth_state,omitempty"`
	ChargeStep             []*BatteryStats_System_ChargeStep           `protobuf:"bytes,18,rep,name=charge_step" json:"charge_step,omitempty"`
	ChargeTimeRemaining    *BatteryStats_System_ChargeTimeRemaining    `protobuf:"bytes,25,opt,name=charge_time_remaining" json:"charge_time_remaining,omitempty"`
	DataConnection         []*BatteryStats_System_DataConnection       `protobuf:"bytes,5,rep,name=data_connection" json:"data_connection,omitempty"`
	DischargeStep          []*BatteryStats_System_DischargeStep        `protobuf:"bytes,19,rep,name=discharge_step" json:"discharge_step,omitempty"`
	DischargeTimeRemaining *BatteryStats_System_DischargeTimeRemaining `protobuf:"bytes,26,opt,name=discharge_time_remaining" json:"discharge_time_remaining,omitempty"`
	GlobalBluetooth        *BatteryStats_System_GlobalBluetooth        `protobuf:"bytes,20,opt,name=global_bluetooth" json:"global_bluetooth,omitempty"`
	// tx_time and power were swapped during report version 17, so they cannot
	// be trusted in version 17.
	GlobalBluetoothController *BatteryStats_ControllerActivity           `protobuf:"bytes,22,opt,name=global_bluetooth_controller" json:"global_bluetooth_controller,omitempty"`
	GlobalModemController     *BatteryStats_ControllerActivity           `protobuf:"bytes,23,opt,name=global_modem_controller" json:"global_modem_controller,omitempty"`
	GlobalNetwork             *BatteryStats_System_GlobalNetwork         `protobuf:"bytes,6,opt,name=global_network" json:"global_network,omitempty"`
	GlobalWifi                *BatteryStats_System_GlobalWifi            `protobuf:"bytes,21,opt,name=global_wifi" json:"global_wifi,omitempty"`
	GlobalWifiController      *BatteryStats_ControllerActivity           `protobuf:"bytes,24,opt,name=global_wifi_controller" json:"global_wifi_controller,omitempty"`
	KernelWakelock            []*BatteryStats_System_KernelWakelock      `protobuf:"bytes,7,rep,name=kernel_wakelock" json:"kernel_wakelock,omitempty"`
	Misc                      *BatteryStats_System_Misc                  `protobuf:"bytes,8,opt,name=misc" json:"misc,omitempty"`
	PowerUseItem              []*BatteryStats_System_PowerUseItem        `protobuf:"bytes,9,rep,name=power_use_item" json:"power_use_item,omitempty"`
	PowerUseSummary           *BatteryStats_System_PowerUseSummary       `protobuf:"bytes,10,opt,name=power_use_summary" json:"power_use_summary,omitempty"`
	ScreenBrightness          []*BatteryStats_System_ScreenBrightness    `protobuf:"bytes,11,rep,name=screen_brightness" json:"screen_brightness,omitempty"`
	SignalScanningTime        *BatteryStats_System_SignalScanningTime    `protobuf:"bytes,12,opt,name=signal_scanning_time" json:"signal_scanning_time,omitempty"`
	SignalStrength            []*BatteryStats_System_SignalStrength      `protobuf:"bytes,13,rep,name=signal_strength" json:"signal_strength,omitempty"`
	WakeupReason              []*BatteryStats_System_WakeupReason        `protobuf:"bytes,14,rep,name=wakeup_reason" json:"wakeup_reason,omitempty"`
	WifiSignalStrength        []*BatteryStats_System_WifiSignalStrength  `protobuf:"bytes,16,rep,name=wifi_signal_strength" json:"wifi_signal_strength,omitempty"`
	WifiSupplicantState       []*BatteryStats_System_WifiSupplicantState `protobuf:"bytes,17,rep,name=wifi_supplicant_state" json:"wifi_supplicant_state,omitempty"`
	WifiState                 []*BatteryStats_System_WifiState           `protobuf:"bytes,15,rep,name=wifi_state" json:"wifi_state,omitempty"`
	XXX_unrecognized          []byte                                     `json:"-"`
}

func (*BatteryStats_System) Descriptor

func (*BatteryStats_System) Descriptor() ([]byte, []int)

func (*BatteryStats_System) GetBattery

func (*BatteryStats_System) GetBatteryDischarge

func (*BatteryStats_System) GetBatteryLevel

func (*BatteryStats_System) GetBluetoothState

func (m *BatteryStats_System) GetBluetoothState() []*BatteryStats_System_BluetoothState

func (*BatteryStats_System) GetChargeStep

func (*BatteryStats_System) GetChargeTimeRemaining

func (m *BatteryStats_System) GetChargeTimeRemaining() *BatteryStats_System_ChargeTimeRemaining

func (*BatteryStats_System) GetDataConnection

func (m *BatteryStats_System) GetDataConnection() []*BatteryStats_System_DataConnection

func (*BatteryStats_System) GetDischargeStep

func (m *BatteryStats_System) GetDischargeStep() []*BatteryStats_System_DischargeStep

func (*BatteryStats_System) GetDischargeTimeRemaining

func (m *BatteryStats_System) GetDischargeTimeRemaining() *BatteryStats_System_DischargeTimeRemaining

func (*BatteryStats_System) GetGlobalBluetooth

func (*BatteryStats_System) GetGlobalBluetoothController

func (m *BatteryStats_System) GetGlobalBluetoothController() *BatteryStats_ControllerActivity

func (*BatteryStats_System) GetGlobalModemController

func (m *BatteryStats_System) GetGlobalModemController() *BatteryStats_ControllerActivity

func (*BatteryStats_System) GetGlobalNetwork

func (*BatteryStats_System) GetGlobalWifi

func (*BatteryStats_System) GetGlobalWifiController

func (m *BatteryStats_System) GetGlobalWifiController() *BatteryStats_ControllerActivity

func (*BatteryStats_System) GetKernelWakelock

func (m *BatteryStats_System) GetKernelWakelock() []*BatteryStats_System_KernelWakelock

func (*BatteryStats_System) GetMisc

func (*BatteryStats_System) GetPowerUseItem

func (m *BatteryStats_System) GetPowerUseItem() []*BatteryStats_System_PowerUseItem

func (*BatteryStats_System) GetPowerUseSummary

func (*BatteryStats_System) GetScreenBrightness

func (m *BatteryStats_System) GetScreenBrightness() []*BatteryStats_System_ScreenBrightness

func (*BatteryStats_System) GetSignalScanningTime

func (m *BatteryStats_System) GetSignalScanningTime() *BatteryStats_System_SignalScanningTime

func (*BatteryStats_System) GetSignalStrength

func (m *BatteryStats_System) GetSignalStrength() []*BatteryStats_System_SignalStrength

func (*BatteryStats_System) GetWakeupReason

func (m *BatteryStats_System) GetWakeupReason() []*BatteryStats_System_WakeupReason

func (*BatteryStats_System) GetWifiSignalStrength

func (m *BatteryStats_System) GetWifiSignalStrength() []*BatteryStats_System_WifiSignalStrength

func (*BatteryStats_System) GetWifiState

func (*BatteryStats_System) GetWifiSupplicantState

func (m *BatteryStats_System) GetWifiSupplicantState() []*BatteryStats_System_WifiSupplicantState

func (*BatteryStats_System) ProtoMessage

func (*BatteryStats_System) ProtoMessage()

func (*BatteryStats_System) Reset

func (m *BatteryStats_System) Reset()

func (*BatteryStats_System) String

func (m *BatteryStats_System) String() string

type BatteryStats_System_Battery

type BatteryStats_System_Battery struct {
	// #times the device has been started.
	StartCount *float32 `protobuf:"fixed32,1,opt,name=start_count" json:"start_count,omitempty"`
	// Realtime on battery.
	BatteryRealtimeMsec *float32 `protobuf:"fixed32,2,opt,name=battery_realtime_msec" json:"battery_realtime_msec,omitempty"`
	// Uptime (i.e., not suspend).
	BatteryUptimeMsec *float32 `protobuf:"fixed32,3,opt,name=battery_uptime_msec" json:"battery_uptime_msec,omitempty"`
	// Total realtime. Should match battery_realtime_msec for SINCE_UNPLUGGED.
	TotalRealtimeMsec *float32 `protobuf:"fixed32,4,opt,name=total_realtime_msec" json:"total_realtime_msec,omitempty"`
	TotalUptimeMsec   *float32 `protobuf:"fixed32,5,opt,name=total_uptime_msec" json:"total_uptime_msec,omitempty"`
	// Wall clock time when the data collection started.
	StartClockTimeMsec *int64 `protobuf:"varint,6,opt,name=start_clock_time_msec" json:"start_clock_time_msec,omitempty"`
	// Time spent on battery with the screen off.
	ScreenOffRealtimeMsec *float32 `protobuf:"fixed32,7,opt,name=screen_off_realtime_msec" json:"screen_off_realtime_msec,omitempty"`
	ScreenOffUptimeMsec   *float32 `protobuf:"fixed32,8,opt,name=screen_off_uptime_msec" json:"screen_off_uptime_msec,omitempty"`
	// The estimated real battery capacity, which may be less than the
	// declared battery capacity (for example, because of battery aging).
	EstimatedBatteryCapacityMah *int64 `protobuf:"varint,9,opt,name=estimated_battery_capacity_mah" json:"estimated_battery_capacity_mah,omitempty"`
	// The minimum learned battery capacity in uAh.
	MinLearnedBatteryCapacityUah *int64 `protobuf:"varint,10,opt,name=min_learned_battery_capacity_uah" json:"min_learned_battery_capacity_uah,omitempty"`
	// The maximum learned battery capacity in uAh.
	MaxLearnedBatteryCapacityUah *int64 `protobuf:"varint,11,opt,name=max_learned_battery_capacity_uah" json:"max_learned_battery_capacity_uah,omitempty"`
	XXX_unrecognized             []byte `json:"-"`
}

func (*BatteryStats_System_Battery) Descriptor

func (*BatteryStats_System_Battery) Descriptor() ([]byte, []int)

func (*BatteryStats_System_Battery) GetBatteryRealtimeMsec

func (m *BatteryStats_System_Battery) GetBatteryRealtimeMsec() float32

func (*BatteryStats_System_Battery) GetBatteryUptimeMsec

func (m *BatteryStats_System_Battery) GetBatteryUptimeMsec() float32

func (*BatteryStats_System_Battery) GetEstimatedBatteryCapacityMah

func (m *BatteryStats_System_Battery) GetEstimatedBatteryCapacityMah() int64

func (*BatteryStats_System_Battery) GetMaxLearnedBatteryCapacityUah

func (m *BatteryStats_System_Battery) GetMaxLearnedBatteryCapacityUah() int64

func (*BatteryStats_System_Battery) GetMinLearnedBatteryCapacityUah

func (m *BatteryStats_System_Battery) GetMinLearnedBatteryCapacityUah() int64

func (*BatteryStats_System_Battery) GetScreenOffRealtimeMsec

func (m *BatteryStats_System_Battery) GetScreenOffRealtimeMsec() float32

func (*BatteryStats_System_Battery) GetScreenOffUptimeMsec

func (m *BatteryStats_System_Battery) GetScreenOffUptimeMsec() float32

func (*BatteryStats_System_Battery) GetStartClockTimeMsec

func (m *BatteryStats_System_Battery) GetStartClockTimeMsec() int64

func (*BatteryStats_System_Battery) GetStartCount

func (m *BatteryStats_System_Battery) GetStartCount() float32

func (*BatteryStats_System_Battery) GetTotalRealtimeMsec

func (m *BatteryStats_System_Battery) GetTotalRealtimeMsec() float32

func (*BatteryStats_System_Battery) GetTotalUptimeMsec

func (m *BatteryStats_System_Battery) GetTotalUptimeMsec() float32

func (*BatteryStats_System_Battery) ProtoMessage

func (*BatteryStats_System_Battery) ProtoMessage()

func (*BatteryStats_System_Battery) Reset

func (m *BatteryStats_System_Battery) Reset()

func (*BatteryStats_System_Battery) String

func (m *BatteryStats_System_Battery) String() string

type BatteryStats_System_BatteryDischarge

type BatteryStats_System_BatteryDischarge struct {
	// Discharged battery percentage points since the stats were last reset
	// after charging (lower bound approximation).
	LowerBound *float32 `protobuf:"fixed32,1,opt,name=lower_bound" json:"lower_bound,omitempty"`
	// Upper bound approximation.
	UpperBound *float32 `protobuf:"fixed32,2,opt,name=upper_bound" json:"upper_bound,omitempty"`
	// Discharged points while screen is on.
	ScreenOn  *float32 `protobuf:"fixed32,3,opt,name=screen_on" json:"screen_on,omitempty"`
	ScreenOff *float32 `protobuf:"fixed32,4,opt,name=screen_off" json:"screen_off,omitempty"`
	// Total amount of battery discharged in mAh. This will only be non-zero
	// for devices that report battery discharge via a coulomb counter.
	TotalMah *int64 `protobuf:"varint,5,opt,name=total_mah" json:"total_mah,omitempty"`
	// Total amount of battery discharged while the screen was off in mAh.
	// This will only be non-zero for devices that report battery discharge
	// via a coulomb counter.
	TotalMahScreenOff *int64 `protobuf:"varint,6,opt,name=total_mah_screen_off" json:"total_mah_screen_off,omitempty"`
	XXX_unrecognized  []byte `json:"-"`
}

func (*BatteryStats_System_BatteryDischarge) Descriptor

func (*BatteryStats_System_BatteryDischarge) Descriptor() ([]byte, []int)

func (*BatteryStats_System_BatteryDischarge) GetLowerBound

func (m *BatteryStats_System_BatteryDischarge) GetLowerBound() float32

func (*BatteryStats_System_BatteryDischarge) GetScreenOff

func (*BatteryStats_System_BatteryDischarge) GetScreenOn

func (*BatteryStats_System_BatteryDischarge) GetTotalMah

func (*BatteryStats_System_BatteryDischarge) GetTotalMahScreenOff

func (m *BatteryStats_System_BatteryDischarge) GetTotalMahScreenOff() int64

func (*BatteryStats_System_BatteryDischarge) GetUpperBound

func (m *BatteryStats_System_BatteryDischarge) GetUpperBound() float32

func (*BatteryStats_System_BatteryDischarge) ProtoMessage

func (*BatteryStats_System_BatteryDischarge) ProtoMessage()

func (*BatteryStats_System_BatteryDischarge) Reset

func (*BatteryStats_System_BatteryDischarge) String

type BatteryStats_System_BatteryLevel

type BatteryStats_System_BatteryLevel struct {
	// The battery percentage level at the last time the device was unplugged.
	StartLevel *float32 `protobuf:"fixed32,1,opt,name=start_level" json:"start_level,omitempty"`
	// The current level.
	CurrentLevel     *float32 `protobuf:"fixed32,2,opt,name=current_level" json:"current_level,omitempty"`
	XXX_unrecognized []byte   `json:"-"`
}

func (*BatteryStats_System_BatteryLevel) Descriptor

func (*BatteryStats_System_BatteryLevel) Descriptor() ([]byte, []int)

func (*BatteryStats_System_BatteryLevel) GetCurrentLevel

func (m *BatteryStats_System_BatteryLevel) GetCurrentLevel() float32

func (*BatteryStats_System_BatteryLevel) GetStartLevel

func (m *BatteryStats_System_BatteryLevel) GetStartLevel() float32

func (*BatteryStats_System_BatteryLevel) ProtoMessage

func (*BatteryStats_System_BatteryLevel) ProtoMessage()

func (*BatteryStats_System_BatteryLevel) Reset

func (*BatteryStats_System_BatteryLevel) String

type BatteryStats_System_BluetoothState

type BatteryStats_System_BluetoothState struct {
	Name *BatteryStats_System_BluetoothState_Name `protobuf:"varint,1,opt,name=name,enum=batterystats.BatteryStats_System_BluetoothState_Name" json:"name,omitempty"`
	// Duration running in the given state.
	TimeMsec *float32 `protobuf:"fixed32,2,opt,name=time_msec" json:"time_msec,omitempty"`
	// #times entering the state.
	Count            *float32 `protobuf:"fixed32,3,opt,name=count" json:"count,omitempty"`
	XXX_unrecognized []byte   `json:"-"`
}

func (*BatteryStats_System_BluetoothState) Descriptor

func (*BatteryStats_System_BluetoothState) Descriptor() ([]byte, []int)

func (*BatteryStats_System_BluetoothState) GetCount

func (*BatteryStats_System_BluetoothState) GetName

func (*BatteryStats_System_BluetoothState) GetTimeMsec

func (*BatteryStats_System_BluetoothState) ProtoMessage

func (*BatteryStats_System_BluetoothState) ProtoMessage()

func (*BatteryStats_System_BluetoothState) Reset

func (*BatteryStats_System_BluetoothState) String

type BatteryStats_System_BluetoothState_Name

type BatteryStats_System_BluetoothState_Name int32
const (
	BatteryStats_System_BluetoothState_INACTIVE BatteryStats_System_BluetoothState_Name = 0
	BatteryStats_System_BluetoothState_LOW      BatteryStats_System_BluetoothState_Name = 1
	BatteryStats_System_BluetoothState_MEDIUM   BatteryStats_System_BluetoothState_Name = 2
	BatteryStats_System_BluetoothState_HIGH     BatteryStats_System_BluetoothState_Name = 3
)

func (BatteryStats_System_BluetoothState_Name) Enum

func (BatteryStats_System_BluetoothState_Name) EnumDescriptor

func (BatteryStats_System_BluetoothState_Name) EnumDescriptor() ([]byte, []int)

func (BatteryStats_System_BluetoothState_Name) String

func (*BatteryStats_System_BluetoothState_Name) UnmarshalJSON

func (x *BatteryStats_System_BluetoothState_Name) UnmarshalJSON(data []byte) error

type BatteryStats_System_ChargeStep

type BatteryStats_System_ChargeStep struct {
	TimeMsec *float32 `protobuf:"fixed32,1,opt,name=time_msec" json:"time_msec,omitempty"`
	// Battery level
	Level *float32 `protobuf:"fixed32,2,opt,name=level" json:"level,omitempty"`
	// State of the display.
	DisplayState *BatteryStats_System_DisplayState_State `` /* 130-byte string literal not displayed */
	// Indicates status in power save mode.
	PowerSaveMode *BatteryStats_System_PowerSaveMode_Mode `` /* 134-byte string literal not displayed */
	// Indicates status in Doze mode.
	IdleMode         *BatteryStats_System_IdleMode_Mode `protobuf:"varint,5,opt,name=idle_mode,enum=batterystats.BatteryStats_System_IdleMode_Mode" json:"idle_mode,omitempty"`
	XXX_unrecognized []byte                             `json:"-"`
}

ChargeStep tracks data for which conditions were continuously held for the entire duration. Field for which the conditions were not consistent for the entire duration should be marked MIXED.

func (*BatteryStats_System_ChargeStep) Descriptor

func (*BatteryStats_System_ChargeStep) Descriptor() ([]byte, []int)

func (*BatteryStats_System_ChargeStep) GetDisplayState

func (*BatteryStats_System_ChargeStep) GetIdleMode

func (*BatteryStats_System_ChargeStep) GetLevel

func (*BatteryStats_System_ChargeStep) GetPowerSaveMode

func (*BatteryStats_System_ChargeStep) GetTimeMsec

func (m *BatteryStats_System_ChargeStep) GetTimeMsec() float32

func (*BatteryStats_System_ChargeStep) ProtoMessage

func (*BatteryStats_System_ChargeStep) ProtoMessage()

func (*BatteryStats_System_ChargeStep) Reset

func (m *BatteryStats_System_ChargeStep) Reset()

func (*BatteryStats_System_ChargeStep) String

type BatteryStats_System_ChargeTimeRemaining

type BatteryStats_System_ChargeTimeRemaining struct {
	Usec             *int64 `protobuf:"varint,1,opt,name=usec" json:"usec,omitempty"`
	XXX_unrecognized []byte `json:"-"`
}

Approximation for how much time remains until the battery is fully charged. The device will print -1 if there wasn't enough data to calculate an estimate, or if the battery is currently discharging.

func (*BatteryStats_System_ChargeTimeRemaining) Descriptor

func (*BatteryStats_System_ChargeTimeRemaining) Descriptor() ([]byte, []int)

func (*BatteryStats_System_ChargeTimeRemaining) GetUsec

func (*BatteryStats_System_ChargeTimeRemaining) ProtoMessage

func (*BatteryStats_System_ChargeTimeRemaining) Reset

func (*BatteryStats_System_ChargeTimeRemaining) String

type BatteryStats_System_DataConnection

type BatteryStats_System_DataConnection struct {
	Name *BatteryStats_System_DataConnection_Name `protobuf:"varint,1,opt,name=name,enum=batterystats.BatteryStats_System_DataConnection_Name" json:"name,omitempty"`
	// Duration running in the given state.
	TimeMsec *float32 `protobuf:"fixed32,2,opt,name=time_msec" json:"time_msec,omitempty"`
	// #times entering the state.
	Count            *float32 `protobuf:"fixed32,3,opt,name=count" json:"count,omitempty"`
	XXX_unrecognized []byte   `json:"-"`
}

func (*BatteryStats_System_DataConnection) Descriptor

func (*BatteryStats_System_DataConnection) Descriptor() ([]byte, []int)

func (*BatteryStats_System_DataConnection) GetCount

func (*BatteryStats_System_DataConnection) GetName

func (*BatteryStats_System_DataConnection) GetTimeMsec

func (*BatteryStats_System_DataConnection) ProtoMessage

func (*BatteryStats_System_DataConnection) ProtoMessage()

func (*BatteryStats_System_DataConnection) Reset

func (*BatteryStats_System_DataConnection) String

type BatteryStats_System_DataConnection_Name

type BatteryStats_System_DataConnection_Name int32
const (
	BatteryStats_System_DataConnection_NONE      BatteryStats_System_DataConnection_Name = 0
	BatteryStats_System_DataConnection_GPRS      BatteryStats_System_DataConnection_Name = 1
	BatteryStats_System_DataConnection_EDGE      BatteryStats_System_DataConnection_Name = 2
	BatteryStats_System_DataConnection_UMTS      BatteryStats_System_DataConnection_Name = 3
	BatteryStats_System_DataConnection_CDMA      BatteryStats_System_DataConnection_Name = 4
	BatteryStats_System_DataConnection_EVDO_0    BatteryStats_System_DataConnection_Name = 5
	BatteryStats_System_DataConnection_EVDO_A    BatteryStats_System_DataConnection_Name = 6
	BatteryStats_System_DataConnection_ONE_X_RTT BatteryStats_System_DataConnection_Name = 7
	BatteryStats_System_DataConnection_HSDPA     BatteryStats_System_DataConnection_Name = 8
	BatteryStats_System_DataConnection_HSUPA     BatteryStats_System_DataConnection_Name = 9
	BatteryStats_System_DataConnection_HSPA      BatteryStats_System_DataConnection_Name = 10
	BatteryStats_System_DataConnection_IDEN      BatteryStats_System_DataConnection_Name = 11
	BatteryStats_System_DataConnection_EVDO_B    BatteryStats_System_DataConnection_Name = 12
	BatteryStats_System_DataConnection_LTE       BatteryStats_System_DataConnection_Name = 13
	BatteryStats_System_DataConnection_EHRPD     BatteryStats_System_DataConnection_Name = 14
	BatteryStats_System_DataConnection_HSPAP     BatteryStats_System_DataConnection_Name = 15
	BatteryStats_System_DataConnection_OTHER     BatteryStats_System_DataConnection_Name = 16
)

func (BatteryStats_System_DataConnection_Name) Enum

func (BatteryStats_System_DataConnection_Name) EnumDescriptor

func (BatteryStats_System_DataConnection_Name) EnumDescriptor() ([]byte, []int)

func (BatteryStats_System_DataConnection_Name) String

func (*BatteryStats_System_DataConnection_Name) UnmarshalJSON

func (x *BatteryStats_System_DataConnection_Name) UnmarshalJSON(data []byte) error

type BatteryStats_System_DischargeStep

type BatteryStats_System_DischargeStep struct {
	TimeMsec *float32 `protobuf:"fixed32,1,opt,name=time_msec" json:"time_msec,omitempty"`
	// Battery level
	Level *float32 `protobuf:"fixed32,2,opt,name=level" json:"level,omitempty"`
	// State of the display.
	DisplayState *BatteryStats_System_DisplayState_State `` /* 130-byte string literal not displayed */
	// Indicates status in power save mode.
	PowerSaveMode *BatteryStats_System_PowerSaveMode_Mode `` /* 134-byte string literal not displayed */
	// Indicates status in idle mode.
	IdleMode         *BatteryStats_System_IdleMode_Mode `protobuf:"varint,5,opt,name=idle_mode,enum=batterystats.BatteryStats_System_IdleMode_Mode" json:"idle_mode,omitempty"`
	XXX_unrecognized []byte                             `json:"-"`
}

DischargeStep tracks data for which conditions were continuously held for the entire duration. Field for which the conditions were not consistent for the entire duration should be marked MIXED.

func (*BatteryStats_System_DischargeStep) Descriptor

func (*BatteryStats_System_DischargeStep) Descriptor() ([]byte, []int)

func (*BatteryStats_System_DischargeStep) GetDisplayState

func (*BatteryStats_System_DischargeStep) GetIdleMode

func (*BatteryStats_System_DischargeStep) GetLevel

func (*BatteryStats_System_DischargeStep) GetPowerSaveMode

func (*BatteryStats_System_DischargeStep) GetTimeMsec

func (m *BatteryStats_System_DischargeStep) GetTimeMsec() float32

func (*BatteryStats_System_DischargeStep) ProtoMessage

func (*BatteryStats_System_DischargeStep) ProtoMessage()

func (*BatteryStats_System_DischargeStep) Reset

func (*BatteryStats_System_DischargeStep) String

type BatteryStats_System_DischargeTimeRemaining

type BatteryStats_System_DischargeTimeRemaining struct {
	Usec             *int64 `protobuf:"varint,1,opt,name=usec" json:"usec,omitempty"`
	XXX_unrecognized []byte `json:"-"`
}

Approximation for how much run time is remaining on the battery. The device will print -1 if there wasn't enough data to calculate an estimate or if the battery is currently charging.

func (*BatteryStats_System_DischargeTimeRemaining) Descriptor

func (*BatteryStats_System_DischargeTimeRemaining) GetUsec

func (*BatteryStats_System_DischargeTimeRemaining) ProtoMessage

func (*BatteryStats_System_DischargeTimeRemaining) Reset

func (*BatteryStats_System_DischargeTimeRemaining) String

type BatteryStats_System_DisplayState

type BatteryStats_System_DisplayState struct {
	XXX_unrecognized []byte `json:"-"`
}

func (*BatteryStats_System_DisplayState) Descriptor

func (*BatteryStats_System_DisplayState) Descriptor() ([]byte, []int)

func (*BatteryStats_System_DisplayState) ProtoMessage

func (*BatteryStats_System_DisplayState) ProtoMessage()

func (*BatteryStats_System_DisplayState) Reset

func (*BatteryStats_System_DisplayState) String

type BatteryStats_System_DisplayState_State

type BatteryStats_System_DisplayState_State int32
const (
	BatteryStats_System_DisplayState_MIXED        BatteryStats_System_DisplayState_State = 0
	BatteryStats_System_DisplayState_ON           BatteryStats_System_DisplayState_State = 1
	BatteryStats_System_DisplayState_OFF          BatteryStats_System_DisplayState_State = 2
	BatteryStats_System_DisplayState_DOZE         BatteryStats_System_DisplayState_State = 3
	BatteryStats_System_DisplayState_DOZE_SUSPEND BatteryStats_System_DisplayState_State = 4
)

func (BatteryStats_System_DisplayState_State) Enum

func (BatteryStats_System_DisplayState_State) EnumDescriptor

func (BatteryStats_System_DisplayState_State) EnumDescriptor() ([]byte, []int)

func (BatteryStats_System_DisplayState_State) String

func (*BatteryStats_System_DisplayState_State) UnmarshalJSON

func (x *BatteryStats_System_DisplayState_State) UnmarshalJSON(data []byte) error

type BatteryStats_System_GlobalBluetooth

type BatteryStats_System_GlobalBluetooth struct {
	BluetoothIdleTimeMsec *float32 `protobuf:"fixed32,1,opt,name=bluetooth_idle_time_msec" json:"bluetooth_idle_time_msec,omitempty"`
	BluetoothRxTimeMsec   *float32 `protobuf:"fixed32,2,opt,name=bluetooth_rx_time_msec" json:"bluetooth_rx_time_msec,omitempty"`
	BluetoothTxTimeMsec   *float32 `protobuf:"fixed32,3,opt,name=bluetooth_tx_time_msec" json:"bluetooth_tx_time_msec,omitempty"`
	BluetoothPowerMah     *float32 `protobuf:"fixed32,4,opt,name=bluetooth_power_mah" json:"bluetooth_power_mah,omitempty"`
	XXX_unrecognized      []byte   `json:"-"`
}

Total bluetooth data

func (*BatteryStats_System_GlobalBluetooth) Descriptor

func (*BatteryStats_System_GlobalBluetooth) Descriptor() ([]byte, []int)

func (*BatteryStats_System_GlobalBluetooth) GetBluetoothIdleTimeMsec

func (m *BatteryStats_System_GlobalBluetooth) GetBluetoothIdleTimeMsec() float32

func (*BatteryStats_System_GlobalBluetooth) GetBluetoothPowerMah

func (m *BatteryStats_System_GlobalBluetooth) GetBluetoothPowerMah() float32

func (*BatteryStats_System_GlobalBluetooth) GetBluetoothRxTimeMsec

func (m *BatteryStats_System_GlobalBluetooth) GetBluetoothRxTimeMsec() float32

func (*BatteryStats_System_GlobalBluetooth) GetBluetoothTxTimeMsec

func (m *BatteryStats_System_GlobalBluetooth) GetBluetoothTxTimeMsec() float32

func (*BatteryStats_System_GlobalBluetooth) ProtoMessage

func (*BatteryStats_System_GlobalBluetooth) ProtoMessage()

func (*BatteryStats_System_GlobalBluetooth) Reset

func (*BatteryStats_System_GlobalBluetooth) String

type BatteryStats_System_GlobalNetwork

type BatteryStats_System_GlobalNetwork struct {
	MobileBytesRx    *float32 `protobuf:"fixed32,1,opt,name=mobile_bytes_rx" json:"mobile_bytes_rx,omitempty"`
	MobileBytesTx    *float32 `protobuf:"fixed32,2,opt,name=mobile_bytes_tx" json:"mobile_bytes_tx,omitempty"`
	WifiBytesRx      *float32 `protobuf:"fixed32,3,opt,name=wifi_bytes_rx" json:"wifi_bytes_rx,omitempty"`
	WifiBytesTx      *float32 `protobuf:"fixed32,4,opt,name=wifi_bytes_tx" json:"wifi_bytes_tx,omitempty"`
	MobilePacketsRx  *float32 `protobuf:"fixed32,5,opt,name=mobile_packets_rx" json:"mobile_packets_rx,omitempty"`
	MobilePacketsTx  *float32 `protobuf:"fixed32,6,opt,name=mobile_packets_tx" json:"mobile_packets_tx,omitempty"`
	WifiPacketsRx    *float32 `protobuf:"fixed32,7,opt,name=wifi_packets_rx" json:"wifi_packets_rx,omitempty"`
	WifiPacketsTx    *float32 `protobuf:"fixed32,8,opt,name=wifi_packets_tx" json:"wifi_packets_tx,omitempty"`
	BtBytesRx        *int64   `protobuf:"varint,9,opt,name=bt_bytes_rx" json:"bt_bytes_rx,omitempty"`
	BtBytesTx        *int64   `protobuf:"varint,10,opt,name=bt_bytes_tx" json:"bt_bytes_tx,omitempty"`
	XXX_unrecognized []byte   `json:"-"`
}

"Total" view (vs. Network).

func (*BatteryStats_System_GlobalNetwork) Descriptor

func (*BatteryStats_System_GlobalNetwork) Descriptor() ([]byte, []int)

func (*BatteryStats_System_GlobalNetwork) GetBtBytesRx

func (m *BatteryStats_System_GlobalNetwork) GetBtBytesRx() int64

func (*BatteryStats_System_GlobalNetwork) GetBtBytesTx

func (m *BatteryStats_System_GlobalNetwork) GetBtBytesTx() int64

func (*BatteryStats_System_GlobalNetwork) GetMobileBytesRx

func (m *BatteryStats_System_GlobalNetwork) GetMobileBytesRx() float32

func (*BatteryStats_System_GlobalNetwork) GetMobileBytesTx

func (m *BatteryStats_System_GlobalNetwork) GetMobileBytesTx() float32

func (*BatteryStats_System_GlobalNetwork) GetMobilePacketsRx

func (m *BatteryStats_System_GlobalNetwork) GetMobilePacketsRx() float32

func (*BatteryStats_System_GlobalNetwork) GetMobilePacketsTx

func (m *BatteryStats_System_GlobalNetwork) GetMobilePacketsTx() float32

func (*BatteryStats_System_GlobalNetwork) GetWifiBytesRx

func (m *BatteryStats_System_GlobalNetwork) GetWifiBytesRx() float32

func (*BatteryStats_System_GlobalNetwork) GetWifiBytesTx

func (m *BatteryStats_System_GlobalNetwork) GetWifiBytesTx() float32

func (*BatteryStats_System_GlobalNetwork) GetWifiPacketsRx

func (m *BatteryStats_System_GlobalNetwork) GetWifiPacketsRx() float32

func (*BatteryStats_System_GlobalNetwork) GetWifiPacketsTx

func (m *BatteryStats_System_GlobalNetwork) GetWifiPacketsTx() float32

func (*BatteryStats_System_GlobalNetwork) ProtoMessage

func (*BatteryStats_System_GlobalNetwork) ProtoMessage()

func (*BatteryStats_System_GlobalNetwork) Reset

func (*BatteryStats_System_GlobalNetwork) String

type BatteryStats_System_GlobalWifi

type BatteryStats_System_GlobalWifi struct {
	// Wifi on and wifi running are mostly legacy and shouldn't have a
	// difference in practice.
	WifiOnTimeMsec      *float32 `protobuf:"fixed32,1,opt,name=wifi_on_time_msec" json:"wifi_on_time_msec,omitempty"`
	WifiRunningTimeMsec *float32 `protobuf:"fixed32,2,opt,name=wifi_running_time_msec" json:"wifi_running_time_msec,omitempty"`
	WifiIdleTimeMsec    *float32 `protobuf:"fixed32,3,opt,name=wifi_idle_time_msec" json:"wifi_idle_time_msec,omitempty"`
	// Rx and Tx times are reported from the Wifi chip. Running time is
	// recorded based on API calls, so it's more of an estimate.
	// RxTime + TxTime doesn't need to equal RunningTime.
	WifiRxTimeMsec   *float32 `protobuf:"fixed32,4,opt,name=wifi_rx_time_msec" json:"wifi_rx_time_msec,omitempty"`
	WifiTxTimeMsec   *float32 `protobuf:"fixed32,5,opt,name=wifi_tx_time_msec" json:"wifi_tx_time_msec,omitempty"`
	WifiPowerMah     *float32 `protobuf:"fixed32,6,opt,name=wifi_power_mah" json:"wifi_power_mah,omitempty"`
	XXX_unrecognized []byte   `json:"-"`
}

Total wifi data (includes app wifi usage).

func (*BatteryStats_System_GlobalWifi) Descriptor

func (*BatteryStats_System_GlobalWifi) Descriptor() ([]byte, []int)

func (*BatteryStats_System_GlobalWifi) GetWifiIdleTimeMsec

func (m *BatteryStats_System_GlobalWifi) GetWifiIdleTimeMsec() float32

func (*BatteryStats_System_GlobalWifi) GetWifiOnTimeMsec

func (m *BatteryStats_System_GlobalWifi) GetWifiOnTimeMsec() float32

func (*BatteryStats_System_GlobalWifi) GetWifiPowerMah

func (m *BatteryStats_System_GlobalWifi) GetWifiPowerMah() float32

func (*BatteryStats_System_GlobalWifi) GetWifiRunningTimeMsec

func (m *BatteryStats_System_GlobalWifi) GetWifiRunningTimeMsec() float32

func (*BatteryStats_System_GlobalWifi) GetWifiRxTimeMsec

func (m *BatteryStats_System_GlobalWifi) GetWifiRxTimeMsec() float32

func (*BatteryStats_System_GlobalWifi) GetWifiTxTimeMsec

func (m *BatteryStats_System_GlobalWifi) GetWifiTxTimeMsec() float32

func (*BatteryStats_System_GlobalWifi) ProtoMessage

func (*BatteryStats_System_GlobalWifi) ProtoMessage()

func (*BatteryStats_System_GlobalWifi) Reset

func (m *BatteryStats_System_GlobalWifi) Reset()

func (*BatteryStats_System_GlobalWifi) String

type BatteryStats_System_IdleMode

type BatteryStats_System_IdleMode struct {
	XXX_unrecognized []byte `json:"-"`
}

func (*BatteryStats_System_IdleMode) Descriptor

func (*BatteryStats_System_IdleMode) Descriptor() ([]byte, []int)

func (*BatteryStats_System_IdleMode) ProtoMessage

func (*BatteryStats_System_IdleMode) ProtoMessage()

func (*BatteryStats_System_IdleMode) Reset

func (m *BatteryStats_System_IdleMode) Reset()

func (*BatteryStats_System_IdleMode) String

type BatteryStats_System_IdleMode_Mode

type BatteryStats_System_IdleMode_Mode int32
const (
	// NO_DATA is intended for older reports that did not have an idle mode
	// section.
	BatteryStats_System_IdleMode_NO_DATA BatteryStats_System_IdleMode_Mode = 0
	BatteryStats_System_IdleMode_MIXED   BatteryStats_System_IdleMode_Mode = 1
	BatteryStats_System_IdleMode_ON      BatteryStats_System_IdleMode_Mode = 2
	BatteryStats_System_IdleMode_OFF     BatteryStats_System_IdleMode_Mode = 3
)

func (BatteryStats_System_IdleMode_Mode) Enum

func (BatteryStats_System_IdleMode_Mode) EnumDescriptor

func (BatteryStats_System_IdleMode_Mode) EnumDescriptor() ([]byte, []int)

func (BatteryStats_System_IdleMode_Mode) String

func (*BatteryStats_System_IdleMode_Mode) UnmarshalJSON

func (x *BatteryStats_System_IdleMode_Mode) UnmarshalJSON(data []byte) error

type BatteryStats_System_KernelWakelock

type BatteryStats_System_KernelWakelock struct {
	Name     *string  `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
	TimeMsec *float32 `protobuf:"fixed32,2,opt,name=time_msec" json:"time_msec,omitempty"`
	Count    *float32 `protobuf:"fixed32,3,opt,name=count" json:"count,omitempty"`
	// The kernel doesn't have the data to enable printing out current and max
	// durations, so -1 is always printed out for them.
	CurrentDurationMsec *int64 `protobuf:"varint,4,opt,name=current_duration_msec" json:"current_duration_msec,omitempty"`
	MaxDurationMsec     *int64 `protobuf:"varint,5,opt,name=max_duration_msec" json:"max_duration_msec,omitempty"`
	XXX_unrecognized    []byte `json:"-"`
}

Similar to Wakelock. Kernel wakelock metrics are only recorded when the device is unplugged *and* the screen is off.

func (*BatteryStats_System_KernelWakelock) Descriptor

func (*BatteryStats_System_KernelWakelock) Descriptor() ([]byte, []int)

func (*BatteryStats_System_KernelWakelock) GetCount

func (*BatteryStats_System_KernelWakelock) GetCurrentDurationMsec

func (m *BatteryStats_System_KernelWakelock) GetCurrentDurationMsec() int64

func (*BatteryStats_System_KernelWakelock) GetMaxDurationMsec

func (m *BatteryStats_System_KernelWakelock) GetMaxDurationMsec() int64

func (*BatteryStats_System_KernelWakelock) GetName

func (*BatteryStats_System_KernelWakelock) GetTimeMsec

func (*BatteryStats_System_KernelWakelock) ProtoMessage

func (*BatteryStats_System_KernelWakelock) ProtoMessage()

func (*BatteryStats_System_KernelWakelock) Reset

func (*BatteryStats_System_KernelWakelock) String

type BatteryStats_System_Misc

type BatteryStats_System_Misc struct {
	ScreenOnTimeMsec *float32 `protobuf:"fixed32,1,opt,name=screen_on_time_msec" json:"screen_on_time_msec,omitempty"`
	// battery_realtime - screen_on_time.
	ScreenOffTimeMsec *float32 `protobuf:"fixed32,2,opt,name=screen_off_time_msec" json:"screen_off_time_msec,omitempty"`
	// Active phone call time.
	PhoneOnTimeMsec *float32 `protobuf:"fixed32,3,opt,name=phone_on_time_msec" json:"phone_on_time_msec,omitempty"`
	// Duration of Wifi being enabled.
	WifiOnTimeMsec *float32 `protobuf:"fixed32,4,opt,name=wifi_on_time_msec" json:"wifi_on_time_msec,omitempty"`
	// Duration of Wifi being on and the driver being in the running state.
	WifiRunningTimeMsec          *float32 `protobuf:"fixed32,5,opt,name=wifi_running_time_msec" json:"wifi_running_time_msec,omitempty"`
	BluetoothOnTimeMsec          *float32 `protobuf:"fixed32,6,opt,name=bluetooth_on_time_msec" json:"bluetooth_on_time_msec,omitempty"`
	MobileBytesRx                *float32 `protobuf:"fixed32,7,opt,name=mobile_bytes_rx" json:"mobile_bytes_rx,omitempty"`
	MobileBytesTx                *float32 `protobuf:"fixed32,8,opt,name=mobile_bytes_tx" json:"mobile_bytes_tx,omitempty"`
	WifiBytesRx                  *float32 `protobuf:"fixed32,9,opt,name=wifi_bytes_rx" json:"wifi_bytes_rx,omitempty"`
	WifiBytesTx                  *float32 `protobuf:"fixed32,10,opt,name=wifi_bytes_tx" json:"wifi_bytes_tx,omitempty"`
	FullWakelockTimeMsec         *float32 `protobuf:"fixed32,11,opt,name=full_wakelock_time_msec" json:"full_wakelock_time_msec,omitempty"`
	PartialWakelockTimeMsec      *float32 `protobuf:"fixed32,12,opt,name=partial_wakelock_time_msec" json:"partial_wakelock_time_msec,omitempty"`
	MobileActiveTimeMsec         *float32 `protobuf:"fixed32,13,opt,name=mobile_active_time_msec" json:"mobile_active_time_msec,omitempty"`
	MobileActiveAdjustedTimeMsec *float32 `protobuf:"fixed32,14,opt,name=mobile_active_adjusted_time_msec" json:"mobile_active_adjusted_time_msec,omitempty"`
	InteractiveTimeMsec          *float32 `protobuf:"fixed32,15,opt,name=interactive_time_msec" json:"interactive_time_msec,omitempty"`
	// Amount of time power save mode was on.
	LowPowerModeEnabledTimeMsec *float32 `protobuf:"fixed32,16,opt,name=low_power_mode_enabled_time_msec" json:"low_power_mode_enabled_time_msec,omitempty"`
	// #times that connectivity state changed.
	ConnectivityChanges *float32 `protobuf:"fixed32,17,opt,name=connectivity_changes" json:"connectivity_changes,omitempty"`
	// When the device has seen no activity, it goes into
	// idle (Doze) mode. https://youtu.be/N72ksDKrX6c
	DeviceIdleModeEnabledTimeMsec *float32 `protobuf:"fixed32,18,opt,name=device_idle_mode_enabled_time_msec" json:"device_idle_mode_enabled_time_msec,omitempty"`
	DeviceIdleModeEnabledCount    *float32 `protobuf:"fixed32,19,opt,name=device_idle_mode_enabled_count" json:"device_idle_mode_enabled_count,omitempty"`
	// Idling time encompasses "idle" time and the idle maintenance windows that allow apps to operate.
	DeviceIdlingTimeMsec *float32 `protobuf:"fixed32,20,opt,name=device_idling_time_msec" json:"device_idling_time_msec,omitempty"`
	DeviceIdlingCount    *float32 `protobuf:"fixed32,21,opt,name=device_idling_count" json:"device_idling_count,omitempty"`
	// # times the mobile radio was active.
	MobileActiveCount *float32 `protobuf:"fixed32,22,opt,name=mobile_active_count" json:"mobile_active_count,omitempty"`
	// Amount of time the mobile radio was on but the time couldn't be attributed to any app.
	MobileActiveUnknownTime *float32 `protobuf:"fixed32,23,opt,name=mobile_active_unknown_time" json:"mobile_active_unknown_time,omitempty"`
	// Light-weight idle (Doze) mode turns on after the screen has been off for some time,
	// and then cycles through periods of light-weight idle with maintenance
	// windows, regardless of whether the device is moving around.
	DeviceLightIdleModeEnabledTimeMsec *int64 `` /* 128-byte string literal not displayed */
	DeviceLightIdleModeEnabledCount    *int32 `protobuf:"varint,25,opt,name=device_light_idle_mode_enabled_count" json:"device_light_idle_mode_enabled_count,omitempty"`
	// Light idling time encompasses "light idle" time and the maintenance
	// windows that allow apps to operate.
	DeviceLightIdlingTimeMsec             *int64 `protobuf:"varint,26,opt,name=device_light_idling_time_msec" json:"device_light_idling_time_msec,omitempty"`
	DeviceLightIdlingCount                *int32 `protobuf:"varint,27,opt,name=device_light_idling_count" json:"device_light_idling_count,omitempty"`
	MaxDeviceLightIdleModeEnabledTimeMsec *int64 `` /* 136-byte string literal not displayed */
	MaxDeviceIdleModeEnabledTimeMsec      *int64 `protobuf:"varint,29,opt,name=max_device_idle_mode_enabled_time_msec" json:"max_device_idle_mode_enabled_time_msec,omitempty"`
	XXX_unrecognized                      []byte `json:"-"`
}

"Total" view (vs. other App-specific stats above).

func (*BatteryStats_System_Misc) Descriptor

func (*BatteryStats_System_Misc) Descriptor() ([]byte, []int)

func (*BatteryStats_System_Misc) GetBluetoothOnTimeMsec

func (m *BatteryStats_System_Misc) GetBluetoothOnTimeMsec() float32

func (*BatteryStats_System_Misc) GetConnectivityChanges

func (m *BatteryStats_System_Misc) GetConnectivityChanges() float32

func (*BatteryStats_System_Misc) GetDeviceIdleModeEnabledCount

func (m *BatteryStats_System_Misc) GetDeviceIdleModeEnabledCount() float32

func (*BatteryStats_System_Misc) GetDeviceIdleModeEnabledTimeMsec

func (m *BatteryStats_System_Misc) GetDeviceIdleModeEnabledTimeMsec() float32

func (*BatteryStats_System_Misc) GetDeviceIdlingCount

func (m *BatteryStats_System_Misc) GetDeviceIdlingCount() float32

func (*BatteryStats_System_Misc) GetDeviceIdlingTimeMsec

func (m *BatteryStats_System_Misc) GetDeviceIdlingTimeMsec() float32

func (*BatteryStats_System_Misc) GetDeviceLightIdleModeEnabledCount

func (m *BatteryStats_System_Misc) GetDeviceLightIdleModeEnabledCount() int32

func (*BatteryStats_System_Misc) GetDeviceLightIdleModeEnabledTimeMsec

func (m *BatteryStats_System_Misc) GetDeviceLightIdleModeEnabledTimeMsec() int64

func (*BatteryStats_System_Misc) GetDeviceLightIdlingCount

func (m *BatteryStats_System_Misc) GetDeviceLightIdlingCount() int32

func (*BatteryStats_System_Misc) GetDeviceLightIdlingTimeMsec

func (m *BatteryStats_System_Misc) GetDeviceLightIdlingTimeMsec() int64

func (*BatteryStats_System_Misc) GetFullWakelockTimeMsec

func (m *BatteryStats_System_Misc) GetFullWakelockTimeMsec() float32

func (*BatteryStats_System_Misc) GetInteractiveTimeMsec

func (m *BatteryStats_System_Misc) GetInteractiveTimeMsec() float32

func (*BatteryStats_System_Misc) GetLowPowerModeEnabledTimeMsec

func (m *BatteryStats_System_Misc) GetLowPowerModeEnabledTimeMsec() float32

func (*BatteryStats_System_Misc) GetMaxDeviceIdleModeEnabledTimeMsec

func (m *BatteryStats_System_Misc) GetMaxDeviceIdleModeEnabledTimeMsec() int64

func (*BatteryStats_System_Misc) GetMaxDeviceLightIdleModeEnabledTimeMsec

func (m *BatteryStats_System_Misc) GetMaxDeviceLightIdleModeEnabledTimeMsec() int64

func (*BatteryStats_System_Misc) GetMobileActiveAdjustedTimeMsec

func (m *BatteryStats_System_Misc) GetMobileActiveAdjustedTimeMsec() float32

func (*BatteryStats_System_Misc) GetMobileActiveCount

func (m *BatteryStats_System_Misc) GetMobileActiveCount() float32

func (*BatteryStats_System_Misc) GetMobileActiveTimeMsec

func (m *BatteryStats_System_Misc) GetMobileActiveTimeMsec() float32

func (*BatteryStats_System_Misc) GetMobileActiveUnknownTime

func (m *BatteryStats_System_Misc) GetMobileActiveUnknownTime() float32

func (*BatteryStats_System_Misc) GetMobileBytesRx

func (m *BatteryStats_System_Misc) GetMobileBytesRx() float32

func (*BatteryStats_System_Misc) GetMobileBytesTx

func (m *BatteryStats_System_Misc) GetMobileBytesTx() float32

func (*BatteryStats_System_Misc) GetPartialWakelockTimeMsec

func (m *BatteryStats_System_Misc) GetPartialWakelockTimeMsec() float32

func (*BatteryStats_System_Misc) GetPhoneOnTimeMsec

func (m *BatteryStats_System_Misc) GetPhoneOnTimeMsec() float32

func (*BatteryStats_System_Misc) GetScreenOffTimeMsec

func (m *BatteryStats_System_Misc) GetScreenOffTimeMsec() float32

func (*BatteryStats_System_Misc) GetScreenOnTimeMsec

func (m *BatteryStats_System_Misc) GetScreenOnTimeMsec() float32

func (*BatteryStats_System_Misc) GetWifiBytesRx

func (m *BatteryStats_System_Misc) GetWifiBytesRx() float32

func (*BatteryStats_System_Misc) GetWifiBytesTx

func (m *BatteryStats_System_Misc) GetWifiBytesTx() float32

func (*BatteryStats_System_Misc) GetWifiOnTimeMsec

func (m *BatteryStats_System_Misc) GetWifiOnTimeMsec() float32

func (*BatteryStats_System_Misc) GetWifiRunningTimeMsec

func (m *BatteryStats_System_Misc) GetWifiRunningTimeMsec() float32

func (*BatteryStats_System_Misc) ProtoMessage

func (*BatteryStats_System_Misc) ProtoMessage()

func (*BatteryStats_System_Misc) Reset

func (m *BatteryStats_System_Misc) Reset()

func (*BatteryStats_System_Misc) String

func (m *BatteryStats_System_Misc) String() string

type BatteryStats_System_PowerSaveMode

type BatteryStats_System_PowerSaveMode struct {
	XXX_unrecognized []byte `json:"-"`
}

func (*BatteryStats_System_PowerSaveMode) Descriptor

func (*BatteryStats_System_PowerSaveMode) Descriptor() ([]byte, []int)

func (*BatteryStats_System_PowerSaveMode) ProtoMessage

func (*BatteryStats_System_PowerSaveMode) ProtoMessage()

func (*BatteryStats_System_PowerSaveMode) Reset

func (*BatteryStats_System_PowerSaveMode) String

type BatteryStats_System_PowerSaveMode_Mode

type BatteryStats_System_PowerSaveMode_Mode int32
const (
	BatteryStats_System_PowerSaveMode_MIXED BatteryStats_System_PowerSaveMode_Mode = 0
	BatteryStats_System_PowerSaveMode_ON    BatteryStats_System_PowerSaveMode_Mode = 1
	BatteryStats_System_PowerSaveMode_OFF   BatteryStats_System_PowerSaveMode_Mode = 2
)

func (BatteryStats_System_PowerSaveMode_Mode) Enum

func (BatteryStats_System_PowerSaveMode_Mode) EnumDescriptor

func (BatteryStats_System_PowerSaveMode_Mode) EnumDescriptor() ([]byte, []int)

func (BatteryStats_System_PowerSaveMode_Mode) String

func (*BatteryStats_System_PowerSaveMode_Mode) UnmarshalJSON

func (x *BatteryStats_System_PowerSaveMode_Mode) UnmarshalJSON(data []byte) error

type BatteryStats_System_PowerUseItem

type BatteryStats_System_PowerUseItem struct {
	Name             *BatteryStats_System_PowerUseItem_Name `protobuf:"varint,1,opt,name=name,enum=batterystats.BatteryStats_System_PowerUseItem_Name" json:"name,omitempty"`
	ComputedPowerMah *float32                               `protobuf:"fixed32,2,opt,name=computed_power_mah" json:"computed_power_mah,omitempty"`
	XXX_unrecognized []byte                                 `json:"-"`
}

func (*BatteryStats_System_PowerUseItem) Descriptor

func (*BatteryStats_System_PowerUseItem) Descriptor() ([]byte, []int)

func (*BatteryStats_System_PowerUseItem) GetComputedPowerMah

func (m *BatteryStats_System_PowerUseItem) GetComputedPowerMah() float32

func (*BatteryStats_System_PowerUseItem) GetName

func (*BatteryStats_System_PowerUseItem) ProtoMessage

func (*BatteryStats_System_PowerUseItem) ProtoMessage()

func (*BatteryStats_System_PowerUseItem) Reset

func (*BatteryStats_System_PowerUseItem) String

type BatteryStats_System_PowerUseItem_Name

type BatteryStats_System_PowerUseItem_Name int32
const (
	BatteryStats_System_PowerUseItem_IDLE        BatteryStats_System_PowerUseItem_Name = 0
	BatteryStats_System_PowerUseItem_CELL        BatteryStats_System_PowerUseItem_Name = 1
	BatteryStats_System_PowerUseItem_PHONE       BatteryStats_System_PowerUseItem_Name = 2
	BatteryStats_System_PowerUseItem_WIFI        BatteryStats_System_PowerUseItem_Name = 3
	BatteryStats_System_PowerUseItem_BLUETOOTH   BatteryStats_System_PowerUseItem_Name = 4
	BatteryStats_System_PowerUseItem_SCREEN      BatteryStats_System_PowerUseItem_Name = 5
	BatteryStats_System_PowerUseItem_APP         BatteryStats_System_PowerUseItem_Name = 6
	BatteryStats_System_PowerUseItem_USER        BatteryStats_System_PowerUseItem_Name = 7
	BatteryStats_System_PowerUseItem_UNACCOUNTED BatteryStats_System_PowerUseItem_Name = 8
	BatteryStats_System_PowerUseItem_OVERCOUNTED BatteryStats_System_PowerUseItem_Name = 9
	BatteryStats_System_PowerUseItem_DEFAULT     BatteryStats_System_PowerUseItem_Name = 10
	BatteryStats_System_PowerUseItem_FLASHLIGHT  BatteryStats_System_PowerUseItem_Name = 11
)

func (BatteryStats_System_PowerUseItem_Name) Enum

func (BatteryStats_System_PowerUseItem_Name) EnumDescriptor

func (BatteryStats_System_PowerUseItem_Name) EnumDescriptor() ([]byte, []int)

func (BatteryStats_System_PowerUseItem_Name) String

func (*BatteryStats_System_PowerUseItem_Name) UnmarshalJSON

func (x *BatteryStats_System_PowerUseItem_Name) UnmarshalJSON(data []byte) error

type BatteryStats_System_PowerUseSummary

type BatteryStats_System_PowerUseSummary struct {
	BatteryCapacityMah *float32 `protobuf:"fixed32,1,opt,name=battery_capacity_mah" json:"battery_capacity_mah,omitempty"`
	ComputedPowerMah   *float32 `protobuf:"fixed32,2,opt,name=computed_power_mah" json:"computed_power_mah,omitempty"`
	// Lower bound of actual power drained.
	MinDrainedPowerMah *float32 `protobuf:"fixed32,3,opt,name=min_drained_power_mah" json:"min_drained_power_mah,omitempty"`
	// Upper bound of actual power drained.
	MaxDrainedPowerMah *float32 `protobuf:"fixed32,4,opt,name=max_drained_power_mah" json:"max_drained_power_mah,omitempty"`
	XXX_unrecognized   []byte   `json:"-"`
}

func (*BatteryStats_System_PowerUseSummary) Descriptor

func (*BatteryStats_System_PowerUseSummary) Descriptor() ([]byte, []int)

func (*BatteryStats_System_PowerUseSummary) GetBatteryCapacityMah

func (m *BatteryStats_System_PowerUseSummary) GetBatteryCapacityMah() float32

func (*BatteryStats_System_PowerUseSummary) GetComputedPowerMah

func (m *BatteryStats_System_PowerUseSummary) GetComputedPowerMah() float32

func (*BatteryStats_System_PowerUseSummary) GetMaxDrainedPowerMah

func (m *BatteryStats_System_PowerUseSummary) GetMaxDrainedPowerMah() float32

func (*BatteryStats_System_PowerUseSummary) GetMinDrainedPowerMah

func (m *BatteryStats_System_PowerUseSummary) GetMinDrainedPowerMah() float32

func (*BatteryStats_System_PowerUseSummary) ProtoMessage

func (*BatteryStats_System_PowerUseSummary) ProtoMessage()

func (*BatteryStats_System_PowerUseSummary) Reset

func (*BatteryStats_System_PowerUseSummary) String

type BatteryStats_System_ScreenBrightness

type BatteryStats_System_ScreenBrightness struct {
	Name *BatteryStats_System_ScreenBrightness_Name `protobuf:"varint,1,opt,name=name,enum=batterystats.BatteryStats_System_ScreenBrightness_Name" json:"name,omitempty"`
	// Duration.
	TimeMsec         *float32 `protobuf:"fixed32,2,opt,name=time_msec" json:"time_msec,omitempty"`
	XXX_unrecognized []byte   `json:"-"`
}

func (*BatteryStats_System_ScreenBrightness) Descriptor

func (*BatteryStats_System_ScreenBrightness) Descriptor() ([]byte, []int)

func (*BatteryStats_System_ScreenBrightness) GetName

func (*BatteryStats_System_ScreenBrightness) GetTimeMsec

func (*BatteryStats_System_ScreenBrightness) ProtoMessage

func (*BatteryStats_System_ScreenBrightness) ProtoMessage()

func (*BatteryStats_System_ScreenBrightness) Reset

func (*BatteryStats_System_ScreenBrightness) String

type BatteryStats_System_ScreenBrightness_Name

type BatteryStats_System_ScreenBrightness_Name int32
const (
	BatteryStats_System_ScreenBrightness_DARK   BatteryStats_System_ScreenBrightness_Name = 0
	BatteryStats_System_ScreenBrightness_DIM    BatteryStats_System_ScreenBrightness_Name = 1
	BatteryStats_System_ScreenBrightness_MEDIUM BatteryStats_System_ScreenBrightness_Name = 2
	BatteryStats_System_ScreenBrightness_LIGHT  BatteryStats_System_ScreenBrightness_Name = 3
	BatteryStats_System_ScreenBrightness_BRIGHT BatteryStats_System_ScreenBrightness_Name = 4
)

func (BatteryStats_System_ScreenBrightness_Name) Enum

func (BatteryStats_System_ScreenBrightness_Name) EnumDescriptor

func (BatteryStats_System_ScreenBrightness_Name) EnumDescriptor() ([]byte, []int)

func (BatteryStats_System_ScreenBrightness_Name) String

func (*BatteryStats_System_ScreenBrightness_Name) UnmarshalJSON

func (x *BatteryStats_System_ScreenBrightness_Name) UnmarshalJSON(data []byte) error

type BatteryStats_System_SignalScanningTime

type BatteryStats_System_SignalScanningTime struct {
	// Duration trying to acquire a signal.
	TimeMsec         *float32 `protobuf:"fixed32,1,opt,name=time_msec" json:"time_msec,omitempty"`
	XXX_unrecognized []byte   `json:"-"`
}

func (*BatteryStats_System_SignalScanningTime) Descriptor

func (*BatteryStats_System_SignalScanningTime) Descriptor() ([]byte, []int)

func (*BatteryStats_System_SignalScanningTime) GetTimeMsec

func (*BatteryStats_System_SignalScanningTime) ProtoMessage

func (*BatteryStats_System_SignalScanningTime) Reset

func (*BatteryStats_System_SignalScanningTime) String

type BatteryStats_System_SignalStrength

type BatteryStats_System_SignalStrength struct {
	Name *BatteryStats_System_SignalStrength_Name `protobuf:"varint,1,opt,name=name,enum=batterystats.BatteryStats_System_SignalStrength_Name" json:"name,omitempty"`
	// Duration running with the given signal strength.
	TimeMsec *float32 `protobuf:"fixed32,2,opt,name=time_msec" json:"time_msec,omitempty"`
	// #times entering the given signal strength.
	Count            *float32 `protobuf:"fixed32,3,opt,name=count" json:"count,omitempty"`
	XXX_unrecognized []byte   `json:"-"`
}

func (*BatteryStats_System_SignalStrength) Descriptor

func (*BatteryStats_System_SignalStrength) Descriptor() ([]byte, []int)

func (*BatteryStats_System_SignalStrength) GetCount

func (*BatteryStats_System_SignalStrength) GetName

func (*BatteryStats_System_SignalStrength) GetTimeMsec

func (*BatteryStats_System_SignalStrength) ProtoMessage

func (*BatteryStats_System_SignalStrength) ProtoMessage()

func (*BatteryStats_System_SignalStrength) Reset

func (*BatteryStats_System_SignalStrength) String

type BatteryStats_System_SignalStrength_Name

type BatteryStats_System_SignalStrength_Name int32
const (
	BatteryStats_System_SignalStrength_NONE_OR_UNKNOWN BatteryStats_System_SignalStrength_Name = 0
	BatteryStats_System_SignalStrength_POOR            BatteryStats_System_SignalStrength_Name = 1
	BatteryStats_System_SignalStrength_MODERATE        BatteryStats_System_SignalStrength_Name = 2
	BatteryStats_System_SignalStrength_GOOD            BatteryStats_System_SignalStrength_Name = 3
	BatteryStats_System_SignalStrength_GREAT           BatteryStats_System_SignalStrength_Name = 4
)

func (BatteryStats_System_SignalStrength_Name) Enum

func (BatteryStats_System_SignalStrength_Name) EnumDescriptor

func (BatteryStats_System_SignalStrength_Name) EnumDescriptor() ([]byte, []int)

func (BatteryStats_System_SignalStrength_Name) String

func (*BatteryStats_System_SignalStrength_Name) UnmarshalJSON

func (x *BatteryStats_System_SignalStrength_Name) UnmarshalJSON(data []byte) error

type BatteryStats_System_WakeupReason

type BatteryStats_System_WakeupReason struct {
	Name             *string  `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
	TimeMsec         *float32 `protobuf:"fixed32,2,opt,name=time_msec" json:"time_msec,omitempty"`
	Count            *float32 `protobuf:"fixed32,3,opt,name=count" json:"count,omitempty"`
	XXX_unrecognized []byte   `json:"-"`
}

Similar to KernelWakelock.

func (*BatteryStats_System_WakeupReason) Descriptor

func (*BatteryStats_System_WakeupReason) Descriptor() ([]byte, []int)

func (*BatteryStats_System_WakeupReason) GetCount

func (*BatteryStats_System_WakeupReason) GetName

func (*BatteryStats_System_WakeupReason) GetTimeMsec

func (m *BatteryStats_System_WakeupReason) GetTimeMsec() float32

func (*BatteryStats_System_WakeupReason) ProtoMessage

func (*BatteryStats_System_WakeupReason) ProtoMessage()

func (*BatteryStats_System_WakeupReason) Reset

func (*BatteryStats_System_WakeupReason) String

type BatteryStats_System_WifiSignalStrength

type BatteryStats_System_WifiSignalStrength struct {
	Name             *BatteryStats_System_WifiSignalStrength_Name `protobuf:"varint,1,opt,name=name,enum=batterystats.BatteryStats_System_WifiSignalStrength_Name" json:"name,omitempty"`
	TimeMsec         *float32                                     `protobuf:"fixed32,2,opt,name=time_msec" json:"time_msec,omitempty"`
	Count            *float32                                     `protobuf:"fixed32,3,opt,name=count" json:"count,omitempty"`
	XXX_unrecognized []byte                                       `json:"-"`
}

Similar to SignalStrength.

func (*BatteryStats_System_WifiSignalStrength) Descriptor

func (*BatteryStats_System_WifiSignalStrength) Descriptor() ([]byte, []int)

func (*BatteryStats_System_WifiSignalStrength) GetCount

func (*BatteryStats_System_WifiSignalStrength) GetName

func (*BatteryStats_System_WifiSignalStrength) GetTimeMsec

func (*BatteryStats_System_WifiSignalStrength) ProtoMessage

func (*BatteryStats_System_WifiSignalStrength) Reset

func (*BatteryStats_System_WifiSignalStrength) String

type BatteryStats_System_WifiSignalStrength_Name

type BatteryStats_System_WifiSignalStrength_Name int32
const (
	BatteryStats_System_WifiSignalStrength_NONE     BatteryStats_System_WifiSignalStrength_Name = 0
	BatteryStats_System_WifiSignalStrength_POOR     BatteryStats_System_WifiSignalStrength_Name = 1
	BatteryStats_System_WifiSignalStrength_MODERATE BatteryStats_System_WifiSignalStrength_Name = 2
	BatteryStats_System_WifiSignalStrength_GOOD     BatteryStats_System_WifiSignalStrength_Name = 3
	BatteryStats_System_WifiSignalStrength_GREAT    BatteryStats_System_WifiSignalStrength_Name = 4
)

func (BatteryStats_System_WifiSignalStrength_Name) Enum

func (BatteryStats_System_WifiSignalStrength_Name) EnumDescriptor

func (BatteryStats_System_WifiSignalStrength_Name) EnumDescriptor() ([]byte, []int)

func (BatteryStats_System_WifiSignalStrength_Name) String

func (*BatteryStats_System_WifiSignalStrength_Name) UnmarshalJSON

func (x *BatteryStats_System_WifiSignalStrength_Name) UnmarshalJSON(data []byte) error

type BatteryStats_System_WifiState

type BatteryStats_System_WifiState struct {
	Name             *BatteryStats_System_WifiState_Name `protobuf:"varint,1,opt,name=name,enum=batterystats.BatteryStats_System_WifiState_Name" json:"name,omitempty"`
	TimeMsec         *float32                            `protobuf:"fixed32,2,opt,name=time_msec" json:"time_msec,omitempty"`
	Count            *float32                            `protobuf:"fixed32,3,opt,name=count" json:"count,omitempty"`
	XXX_unrecognized []byte                              `json:"-"`
}

Similar to WifiSupplicantState.

func (*BatteryStats_System_WifiState) Descriptor

func (*BatteryStats_System_WifiState) Descriptor() ([]byte, []int)

func (*BatteryStats_System_WifiState) GetCount

func (m *BatteryStats_System_WifiState) GetCount() float32

func (*BatteryStats_System_WifiState) GetName

func (*BatteryStats_System_WifiState) GetTimeMsec

func (m *BatteryStats_System_WifiState) GetTimeMsec() float32

func (*BatteryStats_System_WifiState) ProtoMessage

func (*BatteryStats_System_WifiState) ProtoMessage()

func (*BatteryStats_System_WifiState) Reset

func (m *BatteryStats_System_WifiState) Reset()

func (*BatteryStats_System_WifiState) String

type BatteryStats_System_WifiState_Name

type BatteryStats_System_WifiState_Name int32
const (
	BatteryStats_System_WifiState_OFF                  BatteryStats_System_WifiState_Name = 0
	BatteryStats_System_WifiState_OFF_SCANNING         BatteryStats_System_WifiState_Name = 1
	BatteryStats_System_WifiState_ON_NO_NETWORKS       BatteryStats_System_WifiState_Name = 2
	BatteryStats_System_WifiState_ON_DISCONNECTED      BatteryStats_System_WifiState_Name = 3
	BatteryStats_System_WifiState_ON_CONNECTED_STA     BatteryStats_System_WifiState_Name = 4
	BatteryStats_System_WifiState_ON_CONNECTED_P2P     BatteryStats_System_WifiState_Name = 5
	BatteryStats_System_WifiState_ON_CONNECTED_STA_P2P BatteryStats_System_WifiState_Name = 6
	BatteryStats_System_WifiState_SOFT_AP              BatteryStats_System_WifiState_Name = 7
)

func (BatteryStats_System_WifiState_Name) Enum

func (BatteryStats_System_WifiState_Name) EnumDescriptor

func (BatteryStats_System_WifiState_Name) EnumDescriptor() ([]byte, []int)

func (BatteryStats_System_WifiState_Name) String

func (*BatteryStats_System_WifiState_Name) UnmarshalJSON

func (x *BatteryStats_System_WifiState_Name) UnmarshalJSON(data []byte) error

type BatteryStats_System_WifiSupplicantState

type BatteryStats_System_WifiSupplicantState struct {
	Name             *BatteryStats_System_WifiSupplicantState_Name `protobuf:"varint,1,opt,name=name,enum=batterystats.BatteryStats_System_WifiSupplicantState_Name" json:"name,omitempty"`
	TimeMsec         *float32                                      `protobuf:"fixed32,2,opt,name=time_msec" json:"time_msec,omitempty"`
	Count            *float32                                      `protobuf:"fixed32,3,opt,name=count" json:"count,omitempty"`
	XXX_unrecognized []byte                                        `json:"-"`
}

func (*BatteryStats_System_WifiSupplicantState) Descriptor

func (*BatteryStats_System_WifiSupplicantState) Descriptor() ([]byte, []int)

func (*BatteryStats_System_WifiSupplicantState) GetCount

func (*BatteryStats_System_WifiSupplicantState) GetName

func (*BatteryStats_System_WifiSupplicantState) GetTimeMsec

func (*BatteryStats_System_WifiSupplicantState) ProtoMessage

func (*BatteryStats_System_WifiSupplicantState) Reset

func (*BatteryStats_System_WifiSupplicantState) String

type BatteryStats_System_WifiSupplicantState_Name

type BatteryStats_System_WifiSupplicantState_Name int32
const (
	BatteryStats_System_WifiSupplicantState_INVALID            BatteryStats_System_WifiSupplicantState_Name = 0
	BatteryStats_System_WifiSupplicantState_DISCONNECTED       BatteryStats_System_WifiSupplicantState_Name = 1
	BatteryStats_System_WifiSupplicantState_INTERFACE_DISABLED BatteryStats_System_WifiSupplicantState_Name = 2
	BatteryStats_System_WifiSupplicantState_INACTIVE           BatteryStats_System_WifiSupplicantState_Name = 3
	BatteryStats_System_WifiSupplicantState_SCANNING           BatteryStats_System_WifiSupplicantState_Name = 4
	BatteryStats_System_WifiSupplicantState_AUTHENTICATING     BatteryStats_System_WifiSupplicantState_Name = 5
	BatteryStats_System_WifiSupplicantState_ASSOCIATING        BatteryStats_System_WifiSupplicantState_Name = 6
	BatteryStats_System_WifiSupplicantState_ASSOCIATED         BatteryStats_System_WifiSupplicantState_Name = 7
	BatteryStats_System_WifiSupplicantState_FOUR_WAY_HANDSHAKE BatteryStats_System_WifiSupplicantState_Name = 8
	BatteryStats_System_WifiSupplicantState_GROUP_HANDSHAKE    BatteryStats_System_WifiSupplicantState_Name = 9
	BatteryStats_System_WifiSupplicantState_COMPLETED          BatteryStats_System_WifiSupplicantState_Name = 10
	BatteryStats_System_WifiSupplicantState_DORMANT            BatteryStats_System_WifiSupplicantState_Name = 11
	BatteryStats_System_WifiSupplicantState_UNINITIALIZED      BatteryStats_System_WifiSupplicantState_Name = 12
)

func (BatteryStats_System_WifiSupplicantState_Name) Enum

func (BatteryStats_System_WifiSupplicantState_Name) EnumDescriptor

func (BatteryStats_System_WifiSupplicantState_Name) EnumDescriptor() ([]byte, []int)

func (BatteryStats_System_WifiSupplicantState_Name) String

func (*BatteryStats_System_WifiSupplicantState_Name) UnmarshalJSON

func (x *BatteryStats_System_WifiSupplicantState_Name) UnmarshalJSON(data []byte) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL