PowerStatus.BatteryFullLifetime Property

 

Gets the reported full charge lifetime of the primary battery power source in seconds.

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

public int BatteryFullLifetime { get; }

Property Value

Type: System.Int32

The reported number of seconds of battery life available when the battery is fully charged, or -1 if the battery life is unknown.

.NET Framework
Available since 2.0
Return to top
Show: