BatChargeFaultEnum

enum BatChargeFaultEnum

Faults that can be detected on a battery power source that is capable of charging.

  • The fault on the battery power source is not specified.

    Declaration

    Swift

    case unspecified
  • The ambient temperature is above the nominal range for this battery source.

    Declaration

    Swift

    case ambientTooHot
  • The ambient temperature is below the nominal range for this battery source.

    Declaration

    Swift

    case ambientTooCold
  • The temperature of this battery source is above the nominal range.

    Declaration

    Swift

    case batteryTooHot
  • The temperature of this battery source is below the nominal range.

    Declaration

    Swift

    case batteryTooCold
  • The battery source is not present.

    Declaration

    Swift

    case batteryAbsent
  • The voltage provided by the battery source is above the maximum supported value.

    Declaration

    Swift

    case batteryOverVoltage
  • The voltage provided by the battery source is below the minimum supported value.

    Declaration

    Swift

    case batteryUnderVoltage
  • The voltage of the charger for this battery source is above the maximum supported value.

    Declaration

    Swift

    case chargerOverVoltage
  • The voltage provided by the battery source to charge the battery is below the minimum supported value.

    Declaration

    Swift

    case chargerUnderVoltage
  • A charging safety timeout has occurred for this battery source.

    Declaration

    Swift

    case safetyTimeout
  • Creates a new instance with the specified raw value.

    If there is no value of the type that corresponds with the specified raw value, this initializer returns nil. For example:

    enum PaperSize: String {
        case A4, A5, Letter, Legal
    }
    
    print(PaperSize(rawValue: "Legal"))
    // Prints "Optional(PaperSize.Legal)"
    
    print(PaperSize(rawValue: "Tabloid"))
    // Prints "nil"
    

    Declaration

    Swift

    init?(rawValue: UInt64)

    Parameters

    rawValue

    The raw value to use for the new instance.