• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1// Copyright 2021 The ChromiumOS 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 = "proto3";
6
7option go_package = "go.chromium.org/chromiumos/config/go/api/software";
8
9package chromiumos.config.api.software;
10
11// The configuration of diagnostic and telemetry handled by cros_healthd.
12// For more details, see:
13// https://source.chromium.org/chromiumos/chromiumos/codesearch/+/HEAD:src/platform2/chromeos-config/README.md
14message HealthConfig {
15  message Battery {
16    bool has_smart_battery_info = 1;
17  }
18  message CachedVpd {
19    bool has_sku_number = 1;
20  }
21
22  message BatteryHealth {
23    uint32 percent_battery_wear_allowed = 1;
24  }
25  message NvmeWearLevel {
26    uint32 wear_level_threshold = 1;
27  }
28  message Routines {
29    BatteryHealth battery_health = 1;
30    NvmeWearLevel nvme_wear_level = 2;
31  }
32
33  Battery battery = 1;
34  CachedVpd cached_vpd = 2;
35  Routines routines = 3;
36}
37