These are useful pieces of information for the curious user.
Signed-off-by: Timo Kokkonen <timo.t.kokkonen@iki.fi>
}
cell_avg /= (double)active_cells;
- pr_info("\r\033[K%8s Ubat: %.3fV Ucell avg: %.3fV ",
- time_str, data->charging_voltage, cell_avg);
+ pr_info("\r\033[K%8s Ubat: %.3fV Ucell avg: %.3fV "
+ "Current: %.2fA Charge %.0fmAh ",
+ time_str, data->charging_voltage, cell_avg,
+ data->charging_current, data->total_charge);
fflush(stdout);