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

import datetime
import sys
import types
import typing
import uuid as _uuid
from builtins import property as _property

import winrt._winrt
import winrt.system
import winrt.windows.foundation

Self = typing.TypeVar('Self')

class Battery_Static(type):
    def get_default(cls) -> typing.Optional[Battery]: ...

class Battery(winrt.system.Object, metaclass=Battery_Static):
    @staticmethod
    def _from(obj: winrt.system.Object, /) -> Battery: ...
    def add_remaining_charge_percent_changed(self, change_handler: winrt.windows.foundation.EventHandler[winrt.system.Object], /) -> winrt.windows.foundation.EventRegistrationToken: ...
    def remove_remaining_charge_percent_changed(self, token: winrt.windows.foundation.EventRegistrationToken, /) -> None: ...
    @_property
    def remaining_charge_percent(self) -> winrt.system.Int32: ...
    @_property
    def remaining_discharge_time(self) -> datetime.timedelta: ...

