When calling getBatteryLevelWithCompletionHandler it always returns 1677745664 as the battery level. I've tried calling it from multiple places. Does this number mean something or why is it returning this? What is the expected range of battery level (0-100)?
self.scanner?.getBatteryLevelWithCompletionHandler({ result, batteryLevel in
if result == SKTCaptureErrors.E_NOERROR {
print("Battery Level: \(batteryLevel ?? 0)")
}
})
When calling getBatteryLevelWithCompletionHandler it always returns 1677745664 as the battery level. I've tried calling it from multiple places. Does this number mean something or why is it returning this? What is the expected range of battery level (0-100)?