Beispiel #1
0
 private void UpdateSpeed()
 {
     while (true)
     {
         if (BatteryManager.ActualCharge.OnChange())
         {
             BatteryManager.Calculate(Timer.OnlySeconds());
             RunOnUiThread(() =>
             {
                 PercentByMinute.Text = BatteryManager.Speed.Value.ToString() + ("% / Min");
             });
         }
     }
 }