Function energy_get_wh(energy_t)

Function Documentation

float energy_get_wh(energy_t handle)

Calculate total consumption since last charge.

Return
the consumption in Wh