diff options
author | Matthew Garrett <[email protected]> | 2010-08-23 20:25:32 +0000 |
---|---|---|
committer | Len Brown <[email protected]> | 2010-08-31 00:00:47 -0400 |
commit | b137b9942a07843c64a934cfdb7d43155e507e13 (patch) | |
tree | e9f8df3770c4cd7448bb843a391ab6497af39481 /scripts/patch-kernel | |
parent | 92fa5bd9a946b6e7aab6764e7312e4e3d9bed295 (diff) |
ACPI: Don't report current_now if battery reports in mWh
ACPI batteries can report in units of either current or energy. Right
now we expose the current_now file even if the battery is reporting
energy units, resulting in a file that should contain mA instead
containing mW. Don't expose this value unless the battery is reporting
current.
Signed-off-by: Matthew Garrett <[email protected]>
Cc: Arjan van de Ven <[email protected]>
Acked-by: Rafael J. Wysocki <[email protected]>
Acked-by: Zhang Rui <[email protected]>
Signed-off-by: Len Brown <[email protected]>
Diffstat (limited to 'scripts/patch-kernel')
0 files changed, 0 insertions, 0 deletions