BatteryLevel

public struct BatteryLevel : Shortcut

Outputs the percentage of battery remaining as a number from 0 to 100.

Result: Number

  • The contents of the shortcut.

    Declaration

    Swift

    public var body: some Shortcut { get }
  • Initializes the shortcut.

    Declaration

    Swift

    public init()