//------------------------------------------------------------------------------ // // Copyright (c) Microsoft Corporation. All rights reserved. // //------------------------------------------------------------------------------ /* */ namespace Microsoft.Win32 { using System.Diagnostics; using System; /// /// Specifies how the system /// power mode changes. /// public enum PowerModes { /// /// The system is about to resume. /// Resume = 1, /// /// The power mode status has changed. This may /// indicate a weak or charging battery, a transition /// from AC power from battery, or other change in the /// status of the system power supply. /// StatusChange = 2, /// /// The system is about to be suspended. /// Suspend = 3, } }