e5f5ccb646
This adds a function that indicates that a battery is fully charged. It also includes functions to get a power_supply device from the class of registered devices by name reference. These can be used to find a specific battery to call power_supply_set_battery_charged() on. Some battery drivers might need this information to calibrate themselves. Signed-off-by: Daniel Mack <daniel@caiaq.de> Cc: Ian Molton <spyro@f2s.com> Cc: Anton Vorontsov <cbou@mail.ru> Cc: Matt Reimer <mreimer@vpop.net> Signed-off-by: Anton Vorontsov <cbouatmailru@gmail.com> |
||
---|---|---|
.. | ||
apm_power.c | ||
bq27x00_battery.c | ||
da9030_battery.c | ||
ds2760_battery.c | ||
ds2782_battery.c | ||
Kconfig | ||
Makefile | ||
max17040_battery.c | ||
olpc_battery.c | ||
pcf50633-charger.c | ||
pda_power.c | ||
pmu_battery.c | ||
power_supply.h | ||
power_supply_core.c | ||
power_supply_leds.c | ||
power_supply_sysfs.c | ||
tosa_battery.c | ||
wm97xx_battery.c | ||
wm8350_power.c |