Instance Property

batteryLevel

The battery's current percent charge.

Declaration

@property(nonatomic, readonly) float batteryLevel;

Discussion

If battery monitoring is enabled, this property is set to a value between 0.0 (0% charge) and 1.0 (100% charge). When the batteryState property is set to WKInterfaceDeviceBatteryStateUnknown (for example, when battery monitoring is disabled), the value is -1.0.

See Also

Accessing Information about the Battery

batteryMonitoringEnabled

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

batteryState

The device's battery state.

WKInterfaceDeviceBatteryState

The battery's charging state.