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

@ -294,7 +294,7 @@ namespace osu.Game.Tests.Visual.Gameplay
[TestCase(false, 1.0, false)] // not charging, above cutoff --> no warning
[TestCase(true, 0.1, false)] // charging, below cutoff --> no warning
[TestCase(false, 0.2, true)] // not charging, at cutoff --> warning
[TestCase(false, 0.25, true)] // not charging, at cutoff --> warning
public void TestLowBatteryNotification(bool isCharging, double chargeLevel, bool shouldWarn)
{
AddStep("reset notification lock", () => sessionStatics.GetBindable<bool>(Static.LowBatteryNotificationShownOnce).Value = false);