diff options
author | srinivas pandruvada <srinivas.pandruvada@intel.com> | 2012-04-06 00:38:54 (GMT) |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2012-06-01 22:57:11 (GMT) |
commit | a58e1150225cc9e554b76da5519b2bb5bb6e46ff (patch) | |
tree | 90cbedc661a3bf171f82d4401f226abfa42b89fb /drivers/acpi/acpica/nspredef.c | |
parent | c5971456964290da7e98222892797b71ef793e62 (diff) | |
download | linux-fsl-qoriq-a58e1150225cc9e554b76da5519b2bb5bb6e46ff.tar.xz |
ACPI Battery: Added capacity
Added Capacity field, which is a pre-defined power_supply
property. Calculating capacity using current charge/energy and
full charge/energy.
Some user mode implementations are relying on capacity field to
show battery strength and power down decision.
Signed-off-by: srinivas pandruvada <srinivas.pandruvada@intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'drivers/acpi/acpica/nspredef.c')
0 files changed, 0 insertions, 0 deletions