BatteryStatus

public enum BatteryStatus : UInt8

Battery Status

  • Reserved

    Declaration

    Swift

    case reserved = 0
  • new

    New

    Declaration

    Swift

    case new = 1
  • Good

    Declaration

    Swift

    case good = 2
  • ok

    OK

    Declaration

    Swift

    case ok = 3
  • low

    Low

    Declaration

    Swift

    case low = 4
  • Critical

    Declaration

    Swift

    case critical = 5
  • Charging (FIT)

    Declaration

    Swift

    case charging = 6
  • Unknown

    Declaration

    Swift

    case unknown = 7
  • Invalid

    Declaration

    Swift

    case invalid = 255
  • String Value for Battery Status

    Declaration

    Swift

    var stringValue: String { get }