Enumeration Case

UIDevice.BatteryState.charging

The device is plugged into power and the battery is less than 100% charged.

Declaration

case charging = 2