The on-board Fuel Gauge allows you to monitor the battery voltage, state of charge and set low voltage battery thresholds. Use an instance of the
FuelGauge library to call the various fuel gauge functions.
// EXAMPLE FuelGauge fuel;
FuelGauge is available on all devices with a battery state-of-charge sensor, including the Boron, B Series SoM, Tracker SoM (Gen 3) as well as the Electron and E Series (Gen 2).
The Photon 2, P2, Argon, Photon, and P1 do not have FuelGauge support.