Battery Low

Signals a low battery level. The threshold for a low battery level is defined in the firmware of a device.

Data Point

   
Name in Jabra SDK BatteryStatusUpdateEventArgs.BatteryLow
Trigger When the batterie status of a device either falls below a defined threshold or rises above it.
Event Subscription IDeviceService.BatteryStatusUpdateInput
Value Range True = Battery level is low.
False = Battery level is not low.

Code Sample

The code sample demonstrates the event subscription. It shows how to parse the event to get back the data for the data point.

using System;
using JabraSDK;

namespace Jabra.TelemetryExample
{
    public class TelemetryPrinter
    {
        public TelemetryPrinter(IDeviceService deviceService)
        {
            deviceService.BatteryStatusUpdateInput += OnBatteryStateUpdatedEvent;
        }

        private void OnBatteryStateUpdatedEvent(object sender, BatteryStatusUpdateEventArgs e)
        {
            Console.WriteLine($"Battery is low: {e.BatteryLow}");
        }
    }
}