diff options
| author | Alexey Starikovskiy <[email protected]> | 2008-11-21 14:41:01 +0000 |
|---|---|---|
| committer | Len Brown <[email protected]> | 2008-11-26 22:23:10 +0000 |
| commit | 558073dd56707864f09d563b64e7c37c021e89d2 (patch) | |
| tree | 0dcf13ad7676da7ac229b58a758546a70849cbe0 /net/unix/af_unix.c | |
| parent | ACPI: EC: count interrupts only if called from interrupt handler. (diff) | |
| download | kernel-558073dd56707864f09d563b64e7c37c021e89d2.tar.gz kernel-558073dd56707864f09d563b64e7c37c021e89d2.zip | |
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 <[email protected]>
Tested-by: Ferenc Wagner <[email protected]>
Signed-off-by: Len Brown <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions
