Skip to main content

Interface IBatteryBackedPeripheral

Provides an abstraction for peripherals that have a battery and that can read information about that battery

Assembly: Meadow.Contracts.dll
View Source
Declaration
public interface IBatteryBackedPeripheral

Methods

IsBatteryLow()

Reads the state of the battery

View Source
Declaration
bool IsBatteryLow()
Returns

System.Boolean: <b>True</b> if the battery voltage is low, otherwise <b>False</b>