Provides information about the amount of slots present in the eBike and how many are used.
constonBatterySlotsChange= (value:BatterySlots, timestamp?:Date) => {console.log(value, timestamp);};COBI.batteryController.slots.read(onBatterySlotsChange); // Instantly get the current valueCOBI.batteryController.slots.subscribe(onBatterySlotsChange);COBI.batteryController.slots.unsubscribe(onBatterySlotsChange);
constonBatterySlotsChange= (value, timestamp) => {console.log(value, timestamp);};COBI.batteryController.slots.read(onBatterySlotsChange); // Instantly get the current valueCOBI.batteryController.slots.subscribe(onBatterySlotsChange);COBI.batteryController.slots.unsubscribe(onBatterySlotsChange);