# WARNING: Please don't edit this file. It was generated by Python/WinRT v1.0.0-beta.7

import enum
import datetime
import sys
import types
import typing

import winsdk._winrt as _winrt
import winsdk.windows.foundation

class PowerSavingMode(enum.IntEnum):
    OFF = 0
    ON = 1

Self = typing.TypeVar('Self')

class PowerManager(_winrt.Object):
    power_saving_mode: PowerSavingMode
    power_saving_mode_enabled: _winrt.Boolean
    @staticmethod
    def _from(obj: _winrt.Object) -> PowerManager: ...
    @staticmethod
    def add_power_saving_mode_changed(change_handler: winsdk.windows.foundation.EventHandler[_winrt.Object]) -> winsdk.windows.foundation.EventRegistrationToken: ...
    @staticmethod
    def remove_power_saving_mode_changed(token: winsdk.windows.foundation.EventRegistrationToken) -> None: ...

