summaryrefslogtreecommitdiffstats
path: root/fs/ecryptfs
diff options
context:
space:
mode:
authorAnton Vorontsov <cbou@mail.ru>2007-10-05 01:05:00 +0400
committerAnton Vorontsov <cbou@mail.ru>2007-10-05 01:05:00 +0400
commitd385376f0d75fdbeed8041ed6baf5cb4a1578ffb (patch)
tree123182e8e7c8468565d3f1718c7ac1fe4dd65b80 /fs/ecryptfs
parentcd1ebcc0ef620e8e7c5e399bf9e123135e4f24a4 (diff)
downloadblackbird-op-linux-d385376f0d75fdbeed8041ed6baf5cb4a1578ffb.tar.gz
blackbird-op-linux-d385376f0d75fdbeed8041ed6baf5cb4a1578ffb.zip
apm_power: improve battery finding algorithm
Prior to this patch, if use_for_apm unspecified, apm_power able to choice batteries according to their charge only. This patch adds ability to choice batteries according to their charge, energy, use_for_apm flag, and fallback to any battery if it failed to decide. Patch is mandatory to report Apple PMU batteries through legacy /proc/apm interface using power supply class. Signed-off-by: Anton Vorontsov <cbou@mail.ru>
Diffstat (limited to 'fs/ecryptfs')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud