PowerStatus.BatteryChargeStatus Property

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Gets the current battery charge status.

Namespace:   System.Windows.Forms
Assembly:  System.Windows.Forms (in System.Windows.Forms.dll)

public BatteryChargeStatus BatteryChargeStatus { get; }

Property Value

Type: System.Windows.Forms.BatteryChargeStatus

One of the BatteryChargeStatus values indicating the current battery charge level or charging status.

This property indicates the current battery charge level or battery charging status.

.NET Framework
Available since 2.0
Return to top
Show: