Skip to content
Commit a58e1150 authored by srinivas pandruvada's avatar srinivas pandruvada Committed by Len Brown
Browse files

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: default avatarsrinivas pandruvada <srinivas.pandruvada@intel.com>
Signed-off-by: default avatarLen Brown <len.brown@intel.com>
parent c5971456
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment