| commit | 7faa144a518c456e2057918f030f50100144ccc6 | [log] [tgz] |
|---|---|---|
| author | Alexey Starikovskiy <astarikovskiy@suse.de> | Fri Mar 27 22:23:52 2009 -0400 |
| committer | Len Brown <len.brown@intel.com> | Fri Mar 27 22:23:52 2009 -0400 |
| tree | 4f1a9406419ba486386b460164e3afb270a0beb5 | |
| parent | 8e0ee43bc2c3e19db56a4adaa9a9b04ce885cd84 [diff] |
ACPI: battery: add power_{now,avg} properties to power_class
ACPI has smart batteries, which work in units of energy and measure
rate of (dis)charge as power, thus it is not appropriate to export it
as a current_now. Current_now will still be exported to allow
for userland applications to match.
Signed-off-by: Alexey Starikovskiy <astarikovskiy@suse.de>
Signed-off-by: Len Brown <len.brown@intel.com>