Enumeration

WKInterfaceDeviceBatteryState

The battery's charging state.

Topics

Battery States

WKInterfaceDeviceBatteryStateCharging

The device is connected to a charger, but its battery charge is under 100%.

WKInterfaceDeviceBatteryStateFull

The device is connected to a charger, and its battery is charged to 100%.

WKInterfaceDeviceBatteryStateUnknown

An unknown battery-charging state.

WKInterfaceDeviceBatteryStateUnplugged

The device is not connected to a charger and is running on battery power.

See Also

Accessing Information about the Battery

batteryMonitoringEnabled

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

batteryLevel

The battery's current percent charge.

batteryState

The device's battery state.