ACStatus Property

       

Returns a value that indicates whether or not the system is using AC power.

Syntax

object.ACStatus

The object placeholder represents an object expression that evaluates to an object in the Applies To list.

Settings

The ACStatus property settings are:

Setting Description
0 The system is not using AC power.
1 The system is using AC power.
255 AC power status is unknown.