Alexey Starikovskiy 558073dd56 ACPI: battery: Convert discharge energy rate to current properly
ACPI battery interface reports its state either in mW or in mA, and
discharge rate in your case is reported in mW. power_supply interface
does not have such a parameter, so current_now parameter is used
for all cases. But in case of mW, reported discharge should
be converted into mA.

Signed-off-by: Alexey Starikovskiy <astarikovskiy@suse.de>
Tested-by: Ferenc Wagner <wferi@niif.hu>
Signed-off-by: Len Brown <len.brown@intel.com>
2008-11-26 17:23:10 -05:00
..
2008-11-11 21:17:26 -05:00
2008-11-11 21:14:49 -05:00
2008-10-22 23:33:29 -04:00
2008-11-11 21:17:26 -05:00
2008-10-22 23:33:29 -04:00
2008-11-11 21:15:50 -05:00
2008-10-22 23:33:29 -04:00
2008-02-07 03:33:23 -05:00
2008-07-16 23:27:07 +02:00
2008-11-11 21:14:15 -05:00
2008-10-23 00:11:07 -04:00
2008-10-22 23:33:29 -04:00
2008-11-11 21:17:26 -05:00
2008-11-11 21:14:49 -05:00
2008-11-11 21:15:50 -05:00