namespace TINK.Model.Bikes.BikeInfoNS.DriveNS.BatteryNS { public interface IBattery { /// /// Holds the current charging level of the battery in percent, double.NaN if unknown. /// double CurrentChargePercent { get; } /// /// Holds the current charging level of the battery in bars. Must not be larger than MaxChargeBars, null if unknown. /// int? CurrentChargeBars { get; } /// /// Holds the maximum charging level of the battery in bars, null if unknown. /// int? MaxChargeBars { get; } /// /// Holds whether backend is aware of battery charging level. /// bool? IsBackendAccessible { get; } /// /// Holds whether to display battery level or not. /// bool? IsHidden { get; } } }