using System.ComponentModel;
namespace TINK.Model.Bikes.BikeInfoNS.DriveNS.BatteryNS
{
///
/// Manages the state of a chargeable battery.
///
public interface IBatteryMutable : INotifyPropertyChanged
{
///
/// Gets the current charging level of the battery in percent, double.NaN if unknown.
///
double CurrentChargePercent { get; }
///
/// Gets or sets the current charging level of the battery in bars. Must not be larger than MaxChargeBars, null if unknown.
///
int? CurrentChargeBars { get; set; }
///
/// Gets the maximum charging level of the battery in bars, null if unknown.
///
int? MaxChargeBars { get; }
///
/// Gets whether backend is aware of battery charging level.
///
bool? IsBackendAccessible { get; }
///
/// Gets whether to display battery level or not.
///
bool? IsHidden { get; }
}
}