subscribeToBatteryPercentageStream abstract method

Future<Stream<int>> subscribeToBatteryPercentageStream(
  1. String deviceId
)

Subscribes to the battery percentage stream from the BLE device with the given deviceId.

Returns a stream of battery percentage updates.

Implementation

Future<Stream<int>> subscribeToBatteryPercentageStream(String deviceId);