1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-26 23:43:03 +08:00
osu-lazer/osu.Game/Utils
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
..
FormatUtils.cs Add the ability to specify format provider (to make tests culture invariant) 2021-03-26 13:10:11 +09:00
HumanizerUtils.cs Cleanup 2019-08-28 20:15:28 +09:00
ModUtils.cs Merge branch 'master' into mod-consistency-function 2021-02-02 20:01:42 +09:00
Optional.cs Make HitSampleInfo immutable 2020-12-01 15:37:51 +09:00
PeriodTracker.cs Make PeriodTracker actually immutable 2020-05-02 01:33:33 +02:00
PowerStatus.cs Use DI to implement battery detection, add BatteryCutoff property 2021-04-08 19:55:11 -04:00
SentryLogger.cs Remove easy to remove finalizers 2021-03-02 16:07:09 +09:00
StatelessRNG.cs Rename NextUlong -> NextULong 2020-12-02 12:59:45 +09:00
TaskChain.cs Update TaskChain to use ContinueWithSequential internally 2021-01-29 16:19:46 +09:00
ZipUtils.cs Shortcut checking for whether directories are files 2019-06-26 17:10:22 +09:00