mirror of https://github.com/ppy/osu
Adjust documentation
This commit is contained in:
parent
2b947a44da
commit
3d85dc11c6
|
@ -22,7 +22,8 @@ public abstract class PowerStatus
|
|||
public virtual bool IsCharging { get; } = false;
|
||||
|
||||
/// <summary>
|
||||
/// Returns true if <see cref="IsCharging"/> = false and <see cref="ChargeLevel"/> <= <see cref="BatteryCutoff"/>.
|
||||
/// Whether the battery is currently low in charge.
|
||||
/// Returns true if not charging and current charge level is lower than or equal to <see cref="BatteryCutoff"/>.
|
||||
/// </summary>
|
||||
public bool IsLowBattery => !IsCharging && ChargeLevel <= BatteryCutoff;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue