summaryrefslogtreecommitdiffstats
path: root/Kbuild
diff options
context:
space:
mode:
authorZhang Rui <rui.zhang@intel.com>2014-05-28 15:23:36 +0800
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2014-05-30 13:45:24 +0200
commit1ac5aaa67290b397712e4410de7f067d5cd85871 (patch)
treec44021fda631460070b1a5b90cbefb3acb356756 /Kbuild
parentcbcd085da2f99a8b36a07256dd7d1aae38b1d80f (diff)
downloadlinux-1ac5aaa67290b397712e4410de7f067d5cd85871.tar.bz2
ACPI / battery: introduce support for POWER_SUPPLY_PROP_CAPACITY_LEVEL
ACPI battery device receives notifications when 1. the remaining battery capacity becomes critical low 2. the trip point set by the _BTP (Design capacity of Warning by default) is reached or crossed. So it is able to support POWER_SUPPLY_PROP_CAPACITY_LEVEL to report POWER_SUPPLY_CAPACITY_LEVEL_CRITICAL, POWER_SUPPLY_CAPACITY_LEVEL_LOW, POWER_SUPPLY_CAPACITY_LEVEL_NORMAL, POWER_SUPPLY_CAPACITY_LEVEL_FULL, capacity levels to power supply core and user space. Introduce support for POWER_SUPPLY_PROP_CAPACITY_LEVEL in this patch. Signed-off-by: Zhang Rui <rui.zhang@intel.com> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'Kbuild')
0 files changed, 0 insertions, 0 deletions