mirror of
https://github.com/adulau/aha.git
synced 2025-01-01 13:46:24 +00:00
d385376f0d
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> |
||
---|---|---|
.. | ||
apm_power.c | ||
ds2760_battery.c | ||
Kconfig | ||
Makefile | ||
olpc_battery.c | ||
pda_power.c | ||
pmu_battery.c | ||
power_supply.h | ||
power_supply_core.c | ||
power_supply_leds.c | ||
power_supply_sysfs.c |