Instance Property


A Boolean value that determines whether the app can monitor the device's battery.


var isBatteryMonitoringEnabled: Bool { get set }


This property defaults to false. To monitor the device's battery, set this property to true. This enables both the batteryLevel and batteryState properties.

See Also

Reading Information About the Battery

var batteryLevel: Float

The battery's current percent charge.

enum WKInterfaceDeviceBatteryState

The battery's charging state.