batteryState
The device’s battery state.
Declaration
var batteryState: WKInterfaceDeviceBatteryState { get }Discussion
If battery monitoring is enabled, this property is set to the device’s current battery state. For a list of possible states, see WKInterfaceDeviceBatteryState.
If battery monitoring is disabled, this property is set to WKInterfaceDeviceBatteryState.unknown.