1
0
mirror of https://github.com/ppy/osu.git synced 2024-09-21 18:47:27 +08:00
osu-lazer/osu.Android
Christine Chen 6bccb3aab6 Use DI to implement battery detection, add BatteryCutoff property
- Removed the Xamarin.Essentials package from osu.Game and added it to osu.iOS and osu.Android only.
- iOS and Android implementations use Xamarin.Essentials.Battery, while the Desktop implementation
only returns 100% battery for now.
- Added a BatteryCutoff property to PowerStatus so it can be different for each platform (default 20%, 25% on iOS)
2021-04-08 19:55:11 -04:00
..
Properties Send a warning notification if device is unplugged and low battery 2021-04-07 15:56:50 -04:00
Resources/drawable Update android icon 2019-07-12 18:24:49 +09:00
GameplayScreenRotationLocker.cs Trigger lock update on loading. 2020-10-19 10:01:24 +02:00
osu.Android.csproj Use DI to implement battery detection, add BatteryCutoff property 2021-04-08 19:55:11 -04:00
OsuGameActivity.cs Apply missing additions to android project 2021-03-08 15:22:03 +09:00
OsuGameAndroid.cs Use DI to implement battery detection, add BatteryCutoff property 2021-04-08 19:55:11 -04:00