Share via


Battery.IsFullyCharged Method

Gets the amount of battery life remaining, as a percentage.

Namespace: Microsoft.SPOT.Hardware
Assembly: Microsoft.SPOT.Hardware (in microsoft.spot.hardware.dll)

Syntax

[MethodImplAttribute]
public static bool IsFullyCharged ()

Return Value

true only if the battery is fully charged; otherwise, false.

Version Information

Available in the .NET Micro Framework versions 2.0, 2.5, 3.0, 4.0, 4.1, and 4.2.

See Also

Reference

Battery Class
Battery Members
Microsoft.SPOT.Hardware Namespace