PowerManager Properties

Vista Bridge Library

[This is preliminary documentation and is subject to change.]

The PowerManager type exposes the following members.

Properties

  NameDescription
BatteryLifePercent
Gets a value that indicates the remaining battery life (as a percentage of the full battery charge). This value is in the range 0-100, where 0 is not charged and 100 is fully charged.
IsBatteryPresent
Gets a value that indicates whether a battery is present. The battery can be a short term battery.
IsBatteryShortTerm
Gets a value that indicates whether the battery is a short term battery.
IsMonitorOn
Gets a value that indictates whether the monitor is on.
IsUpsPresent
Gets a value that indicates a UPS is present to prevent sudden loss of power.
MonitorRequired
Gets or sets a value that indicates whether the monitor is set to remain active.
PowerPersonality
Gets a value that indicates the current power scheme.
PowerSource
Gets the current power source.
RequestBlockSleep
Gets or sets a value that indicates whether the system is required to be in the working state.

See Also