Show / Hide Table of Contents

Property computer.isOnBattery


Overload

Returns true if the computer is using battery power.

public static bool isOnBattery { get; }
Property Value
bool

See Also

System.Windows.Forms.SystemInformation.PowerStatus