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