mirror of
https://github.com/ppy/osu
synced 2025-01-03 21:02:22 +00:00
Adjust documentation
This commit is contained in:
parent
2b947a44da
commit
3d85dc11c6
@ -22,7 +22,8 @@ namespace osu.Game.Utils
|
||||
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
Block a user