Remove IsLowBattery

This commit is contained in:
Christine Chen
2021-04-12 11:11:22 -04:00
parent 43b97fe0ad
commit f66306a81a
3 changed files with 2 additions and 8 deletions

View File

@ -14,11 +14,5 @@ namespace osu.Game.Utils
public abstract double ChargeLevel { get; }
public abstract bool IsCharging { get; }
/// <summary>
/// Whether the battery is currently low in charge.
/// Returns true if not charging and current charge level is lower than or equal to 25%.
/// </summary>
public bool IsLowBattery => !IsCharging && ChargeLevel <= 0.25;
}
}