osu/osu.Game/Configuration
Christine Chen 0a6baf670e Send a warning notification if device is unplugged and low battery
- Uses Xamarin.Essentials in osu.Game.PlayerLoader to check battery level
- Encapsulated battery checking in the public BatteryManager class so battery level and plugged in status can be accessed and edited in TestPlayerLoader
- When checking battery level, catch NotImplementedException thrown by Xamarin.Essentials.Battery on non-mobile platforms
- Added visual unit tests for battery notification
  To mock battery status and level, we had to define a batteryManager object in TestPlayerLoader and add a new function ResetPlayerWithBattery()

Co-Authored-By: Marlina José <marlina@umich.edu>
2021-04-07 15:56:50 -04:00
..
BackgroundSource.cs Revert "Add BackgroundSource.Seasonal" 2020-10-29 14:30:50 +01:00
DatabasedConfigManager.cs
DatabasedSetting.cs
DevelopmentOsuConfigManager.cs Move all endpoint information to a configuration class 2020-12-24 17:58:38 +09:00
DiscordRichPresenceMode.cs Use better naming for DiscordRichPresenceMode 2021-01-03 16:46:25 +07:00
HUDVisibilityMode.cs Remove "hide during breaks" option 2020-10-30 13:49:45 +09:00
InMemoryConfigManager.cs
IntroSequence.cs
ModSettingChangeTracker.cs Xmldoc + cleanup 2021-02-10 20:12:29 +09:00
OsuConfigManager.cs Update usages of config with framework changes 2021-03-17 16:10:16 +09:00
RandomSelectAlgorithm.cs
RankingType.cs
ReleaseStream.cs
ScalingMode.cs
ScoreMeterType.cs Fix misordered hit error in score meter types 2021-02-18 13:04:22 +03:00
ScreenshotFormat.cs
ScrollVisualisationMethod.cs
SeasonalBackgroundMode.cs Add xmldoc to SeasonalBackgroundMode 2020-10-30 19:56:52 +01:00
SessionStatics.cs Send a warning notification if device is unplugged and low battery 2021-04-07 15:56:50 -04:00
SettingSourceAttribute.cs Revert changes to SettingsSourceAttribute class 2021-03-18 21:16:50 +09:00
SettingsStore.cs
StorageConfigManager.cs Update usages of config with framework changes 2021-03-17 16:10:16 +09:00