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