Bus Voltage
<%= Float.round(@avg_bus_voltage, 2) %>V
<%= live_component(@socket, AugieWeb.SparklineComponent, data: @bus_voltage, min: 0, sample_count: 60) %>
Shunt Voltage
<%= Float.round(@avg_shunt_voltage, 2) %>V
<%= live_component(@socket, AugieWeb.SparklineComponent, data: @shunt_voltage, min: 0, sample_count: 60) %>
Current
<%= Float.round(@avg_current, 2) %>mA
<%= live_component(@socket, AugieWeb.SparklineComponent, data: @current, min: 0, sample_count: 60) %>
Power
<%= Float.round(@avg_power, 2) %>mW
<%= live_component(@socket, AugieWeb.SparklineComponent, data: @power, min: 0, sample_count: 60) %>