diff options
author | srinivas pandruvada <srinivas.pandruvada@intel.com> | 2012-04-06 02:38:54 +0200 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2012-06-02 00:57:11 +0200 |
commit | a58e1150225cc9e554b76da5519b2bb5bb6e46ff (patch) | |
tree | 90cbedc661a3bf171f82d4401f226abfa42b89fb /drivers/acpi/scan.c | |
parent | ACPI battery: only refresh the sysfs files when pertinent information changes (diff) | |
download | linux-a58e1150225cc9e554b76da5519b2bb5bb6e46ff.tar.xz linux-a58e1150225cc9e554b76da5519b2bb5bb6e46ff.zip |
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/scan.c')
0 files changed, 0 insertions, 0 deletions