PowerStatus::BatteryLifeRemaining Property

 

Gets the approximate number of seconds of battery time remaining.

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

public:
property int BatteryLifeRemaining {
	int get();
}

Property Value

Type: System::Int32

The approximate number of seconds of battery life remaining, or –1 if the approximate remaining battery life is unknown.

.NET Framework
Available since 2.0
Return to top
Show: