mirror of
https://github.com/ppy/osu.git
synced 2024-11-18 07:32:54 +08:00
21 lines
544 B
C#
21 lines
544 B
C#
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
|
|
// See the LICENCE file in the repository root for full licence text.
|
|
|
|
#nullable disable
|
|
|
|
namespace osu.Game.Utils
|
|
{
|
|
/// <summary>
|
|
/// Provides access to the system's power status.
|
|
/// </summary>
|
|
public abstract class BatteryInfo
|
|
{
|
|
/// <summary>
|
|
/// The charge level of the battery, from 0 to 1.
|
|
/// </summary>
|
|
public abstract double ChargeLevel { get; }
|
|
|
|
public abstract bool IsCharging { get; }
|
|
}
|
|
}
|