Android.OS.BatteryManager.ExtraPlugged Field
Extra for Android.Content.Intent.ActionBatteryChanged: integer indicating whether the device is plugged in to a power source; 0 means it is on battery, other constants are different types of power sources.

Syntax

[Android.Runtime.Register("EXTRA_PLUGGED")]
public const string ExtraPlugged

Remarks

Extra for Android.Content.Intent.ActionBatteryChanged: integer indicating whether the device is plugged in to a power source; 0 means it is on battery, other constants are different types of power sources.

[Android Documentation]

Requirements

Namespace: Android.OS
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 5