mirror of https://github.com/ppy/osu
Make power status properties abstract
This commit is contained in:
parent
3d85dc11c6
commit
07ee1b4d0b
|
@ -12,14 +12,14 @@ public abstract class PowerStatus
|
|||
/// <summary>
|
||||
/// The maximum battery level considered as low, from 0 to 1.
|
||||
/// </summary>
|
||||
public virtual double BatteryCutoff { get; } = 0;
|
||||
public abstract double BatteryCutoff { get; }
|
||||
|
||||
/// <summary>
|
||||
/// The charge level of the battery, from 0 to 1.
|
||||
/// </summary>
|
||||
public virtual double ChargeLevel { get; } = 0;
|
||||
public abstract double ChargeLevel { get; }
|
||||
|
||||
public virtual bool IsCharging { get; } = false;
|
||||
public abstract bool IsCharging { get; }
|
||||
|
||||
/// <summary>
|
||||
/// Whether the battery is currently low in charge.
|
||||
|
|
Loading…
Reference in New Issue