Пример #1
0
        private void OnPowerChanged(object sender, object o)
        {
            var eventHandler = PowerStatusChanged;
            var args         = new PowerStatusChangedEventArgs(RemainingChargePercent, IsInPowerSaverMode);

            eventHandler?.Invoke(this, args);
        }
        private void OnPowerChanged(object sender, object o)
        {
            var eventHandler = PowerStatusChanged;
            var args = new PowerStatusChangedEventArgs(RemainingChargePercent, IsInPowerSaverMode);

            eventHandler?.Invoke(this, args);
        }