Share via


Intent.ActionPowerConnected Field

Definition

Broadcast Action: External power has been connected to the device.

[Android.Runtime.Register("ACTION_POWER_CONNECTED")]
public const string ActionPowerConnected;
[<Android.Runtime.Register("ACTION_POWER_CONNECTED")>]
val mutable ActionPowerConnected : string

Field Value

Implements

Attributes

Remarks

Broadcast Action: External power has been connected to the device. This is intended for applications that wish to register specifically to this notification. Unlike ACTION_BATTERY_CHANGED, applications will be woken for this and so do not have to stay active to receive this notification. This action can be used to implement actions that wait until power is available to trigger.

<p class="note">This is a protected intent that can only be sent by the system.

Java documentation for android.content.Intent.ACTION_POWER_CONNECTED.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to