View Source GoogleApi.ChromeManagement.V1.Model.GoogleChromeManagementV1BatteryStatusReport (google_api_chrome_management v0.3.0)

Status data for battery. This field is telemetry information and this will change over time as the device is utilized. Data for this field is controlled via policy: ReportDevicePowerStatus Data Collection Frequency: Only at Upload Default Data Reporting Frequency: 3 hours - Policy Controlled: Yes Cache: If the device is offline, the collected data is stored locally, and will be reported when the device is next online: No Reported for affiliated users only: N/A * Granular permission needed: TELEMETRY_API_BATTERY_REPORT

Attributes

  • batteryHealth (type: String.t, default: nil) - Output only. Battery health.
  • cycleCount (type: integer(), default: nil) - Output only. Cycle count.
  • fullChargeCapacity (type: String.t, default: nil) - Output only. Full charge capacity (mAmpere-hours).
  • reportTime (type: DateTime.t, default: nil) - Output only. Timestamp of when the sample was collected on device
  • sample (type: list(GoogleApi.ChromeManagement.V1.Model.GoogleChromeManagementV1BatterySampleReport.t), default: nil) - Output only. Sampling data for the battery sorted in a decreasing order of report_time.
  • serialNumber (type: String.t, default: nil) - Output only. Battery serial number.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() ::
  %GoogleApi.ChromeManagement.V1.Model.GoogleChromeManagementV1BatteryStatusReport{
    batteryHealth: String.t() | nil,
    cycleCount: integer() | nil,
    fullChargeCapacity: String.t() | nil,
    reportTime: DateTime.t() | nil,
    sample:
      [
        GoogleApi.ChromeManagement.V1.Model.GoogleChromeManagementV1BatterySampleReport.t()
      ]
      | nil,
    serialNumber: String.t() | nil
  }

Functions

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.