Dela via


PowerManager.RemainingChargePercent Property

Definition

Gets the total percentage of charge remaining from all batteries connected to the device.

public:
 static property int RemainingChargePercent { int get(); };
static int RemainingChargePercent();
public static int RemainingChargePercent { get; }
var int32 = PowerManager.remainingChargePercent;
Public Shared ReadOnly Property RemainingChargePercent As Integer

Property Value

Int32

int

The total percentage of charge remaining from all batteries connected to the device.

Applies to