9 double timestamp; /* seconds since beginning of the charging */
11 double charging_voltage;
12 double charging_current;
13 double cell_voltage[MAX_CELLS];
15 double total_charge; /* mAh */
16 double int_temp; /* milli celsius */
20 int read_data(int infd, int outfd);