Components All New MacOS Windows Linux iOS
Examples Mac & Win Server Client Guides Statistic FMM Blog Deprecated Old

iOSDevice.BatteryState

The battery state for the device.

Component Version macOS Windows Linux Server iOS SDK
iOSDevice 7.2 ❌ No ❌ No ❌ No ❌ No ✅ Yes
MBS( "iOSDevice.BatteryState" )

Parameters

none

Result

Returns value or error.

Description

The battery state for the device.
Value is Unknown, Unplugged, Charging or Full.

See also

This function is free to use.

Created 18th March 2017, last changed 18th March 2017


iOSDevice.BatteryLevel - iOSDevice.IdentifierForVendor