Hi, On Fri, Mar 06, 2015 at 12:12:50PM +0100, Oliver Neukum wrote: > On Fri, 2015-03-06 at 16:03 +0530, Jenny TC wrote: > > +struct psy_temp_mon_table { > > + int temp_max; > > + int temp_min; > > + int charging_current; /* CC */ > > + int charging_voltage; /* CV */ > > In which units? First few lines from power_supply.h: /* * All voltages, currents, charges, energies, time and temperatures in uV, * µA, µAh, µWh, seconds and tenths of degree Celsius unless otherwise * stated. It's driver's job to convert its raw values to units in which * this class operates. */ -- Sebastian