It might differ from the individual battery condition on bikes with multiple batteries.
constonBatteryStateChange= (value:BatteryCondition, timestamp?:Date) => {console.log(value, timestamp);};COBI.batteryController.state.read(onBatteryStateChange); // Instantly get the current valueCOBI.batteryController.state.subscribe(onBatteryStateChange);COBI.batteryController.state.unsubscribe(onBatteryStateChange);
constonBatteryStateChange= (value, timestamp) => {console.log(value, timestamp);};COBI.batteryController.state.read(onBatteryStateChange); // Instantly get the current valueCOBI.batteryController.state.subscribe(onBatteryStateChange);COBI.batteryController.state.unsubscribe(onBatteryStateChange);