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 chargeing level of the battery in bars. Must not be arger than MaxChargeBars, null if unkonwn.
///
int? CurrentChargeBars { get; }
///
/// Holds the maximum chargeing level of the battery in bars, null if unkonwn.
///
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; }
}
}