private void PublishBattery() { _mqtt.Publish("Power/BatteryChargeStatus", Power.BatteryChargeStatus()); _mqtt.Publish("Power/BatteryFullLifetime", Power.BatteryFullLifetime()); _mqtt.Publish("Power/BatteryLifePercent", Power.BatteryLifePercent()); _mqtt.Publish("Power/BatteryLifeRemaining", Power.BatteryLifeRemaining()); _mqtt.Publish("Power/PowerLineStatus", Power.PowerLineStatus()); }