1// Copyright 2023 The Chromium Authors 2// Use of this source code is governed by a BSD-style license that can be 3// found in the LICENSE file. 4 5syntax = "proto2"; 6 7option optimize_for = LITE_RUNTIME; 8option java_package = "org.chromium.components.metrics"; 9 10option java_outer_classname = "DeviceStateProtos"; 11 12package metrics; 13 14// Enums corresponding to the state of the device when data was collected. 15 16// The system's thermal state, as defined by the power monitor in chromium 17// https://source.chromium.org/chromium/chromium/src/+/main:base/power_monitor/power_observer.h;l=49;drc=e4622aaeccea84652488d1822c28c78b7115684f 18enum ThermalState { 19 THERMAL_STATE_UNKNOWN = 0; 20 THERMAL_STATE_NOMINAL = 1; 21 THERMAL_STATE_FAIR = 2; 22 THERMAL_STATE_SERIOUS = 3; 23 THERMAL_STATE_CRITICAL = 4; 24} 25