OpenCloudOS-Kernel/drivers/power
Thomas Champagne d54e7929d8 pmu_battery: Fix battery full reporting
Prior to this patch, pmu_battery was unable to report battery full
status. This patch fixes the issue by adding a proper handling code
into pmu_bat_get_property(): if we're on AC and the battery isn't
charging, then the battery is considered full.

Signed-off-by: Thomas Champagne <lafeuil@gmail.com>
Acked-By: David Woodhouse <David.Woodhouse@intel.com>
Signed-off-by: Anton Vorontsov <cbouatmailru@gmail.com>
2009-12-18 03:51:29 +03:00
..
Kconfig Merge git://git.infradead.org/battery-2.6 2009-12-15 08:59:33 -08:00
Makefile Merge git://git.infradead.org/battery-2.6 2009-12-15 08:59:33 -08:00
apm_power.c Driver Core: add ability for class_for_each_device to start in middle of list 2008-07-21 21:54:47 -07:00
bq27x00_battery.c trivial: Fix misspelling of "Celsius". 2009-03-30 15:22:03 +02:00
collie_battery.c collie: add battery driver 2009-11-27 21:07:23 +01:00
da9030_battery.c da9030_battery: Fix race between event handler and monitor 2009-06-09 01:12:38 +04:00
ds2760_battery.c ds2760_battery: Fix integer overflow for time_to_empty_now 2009-09-04 20:26:40 +04:00
ds2782_battery.c Add ds2782 battery gas gauge driver 2009-07-01 02:36:58 +04:00
max17040_battery.c Add MAX17040 Fuel Gauge driver 2009-06-09 00:53:21 +04:00
olpc_battery.c power_supply: Add a charge_type property, and use it for olpc driver 2009-07-02 18:14:37 +04:00
pcf50633-charger.c Merge git://git.infradead.org/battery-2.6 2009-12-15 08:59:33 -08:00
pda_power.c pda_power: Add optional OTG transceiver and voltage regulator support 2009-02-02 20:15:47 +03:00
pmu_battery.c pmu_battery: Fix battery full reporting 2009-12-18 03:51:29 +03:00
power_supply.h Driver core: change add_uevent_var to use a struct 2007-10-12 14:51:01 -07:00
power_supply_core.c power_supply: get_by_name and set_charged functionality 2009-07-30 17:49:15 +04:00
power_supply_leds.c power: replace remaining __FUNCTION__ occurrences 2008-04-29 08:05:58 -07:00
power_supply_sysfs.c power_supply_sysfs: Handle -ENODATA in a special way 2009-12-03 00:38:06 +03:00
tosa_battery.c [ARM] Move include/asm-arm/arch-* to arch/arm/*/include/mach 2008-08-07 09:55:48 +01:00
wm97xx_battery.c const: constify remaining dev_pm_ops 2009-12-15 08:53:25 -08:00
wm831x_backup.c wm831x_backup: Remove unused variables 2009-11-17 19:16:38 +03:00
wm831x_power.c wm831x: Factor out WM831x backup battery charger 2009-11-16 03:27:30 +03:00
wm8350_power.c mfd: Mask and unmask wm8350 IRQs on request and free 2009-12-13 19:21:40 +01:00