User Power Availability
If the user power is available from any sensor
const onUserPowerAvailabilityChange = (value: boolean, timestamp?: Date) => {
console.log(value, timestamp);
};
COBI.rideService.userPower.subscribe(onUserPowerAvailabilityChange);
COBI.rideService.userPower.unsubscribe(onUserPowerAvailabilityChange);
const onUserPowerAvailabilityChange = (value, timestamp) => {
console.log(value, timestamp);
};
COBI.rideService.userPower.subscribe(onUserPowerAvailabilityChange);
COBI.rideService.userPower.unsubscribe(onUserPowerAvailabilityChange);