diff options
author | srinivas pandruvada <srinivas.pandruvada@intel.com> | 2012-04-05 17:38:54 -0700 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2012-06-01 18:57:11 -0400 |
commit | a58e1150225cc9e554b76da5519b2bb5bb6e46ff (patch) | |
tree | 90cbedc661a3bf171f82d4401f226abfa42b89fb /drivers/acpi/acpica/utdecode.c | |
parent | c5971456964290da7e98222892797b71ef793e62 (diff) |
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/utdecode.c')
0 files changed, 0 insertions, 0 deletions