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

Sampling 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

Attributes

  • chargeRate (type: integer(), default: nil) - Output only. Battery charge percentage.
  • current (type: String.t, default: nil) - Output only. Battery current (mA).
  • dischargeRate (type: integer(), default: nil) - Output only. The battery discharge rate measured in mW. Positive if the battery is being discharged, negative if it's being charged.
  • remainingCapacity (type: String.t, default: nil) - Output only. Battery remaining capacity (mAmpere-hours).
  • reportTime (type: DateTime.t, default: nil) - Output only. Timestamp of when the sample was collected on device
  • status (type: String.t, default: nil) - Output only. Battery status read from sysfs. Example: Discharging
  • temperature (type: integer(), default: nil) - Output only. Temperature in Celsius degrees.
  • voltage (type: String.t, default: nil) - Output only. Battery voltage (millivolt).

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() ::
  %GoogleApi.ChromeManagement.V1.Model.GoogleChromeManagementV1BatterySampleReport{
    chargeRate: integer() | nil,
    current: String.t() | nil,
    dischargeRate: integer() | nil,
    remainingCapacity: String.t() | nil,
    reportTime: DateTime.t() | nil,
    status: String.t() | nil,
    temperature: integer() | nil,
    voltage: String.t() | nil
  }

Functions

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

Unwrap a decoded JSON object into its complex fields.