This release allows PiJuiceSharp
to operate in environments where a PiJuice isn't present, allowing you to include logic for the PiJuice in your application, but not crash if no PiJuice is present. The new BatteryStatus.NoPiJuice
enum value can be used to detect this state.
Breaking changes:
- You no longer construct a
PiJuiceInterface
orPiJuiceStatus
instance yourself. Instead, usePiJuiceStatus.Create()
.