linux/drivers/power
Matthew Garrett 942ed16194 power_supply: Add function to return system-wide power state
Certain drivers benefit from knowing whether the system is on ac or
battery, for instance when determining which backlight registers to
read. This adds a simple call to determine whether there's an online
power supply other than any batteries.

Signed-off-by: Matthew Garrett <mjg@redhat.com>
Signed-off-by: Anton Vorontsov <cbouatmailru@gmail.com>
2008-09-01 02:42:54 +04: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
ds2760_battery.c drivers/power: fix platform driver hotplug/coldplug 2008-07-25 10:53:28 -07:00
Kconfig Merge branch 'master' of /home/cbou/linux-2.6 2008-07-30 02:05:23 +04:00
Makefile Merge branch 'master' of /home/cbou/linux-2.6 2008-07-30 02:05:23 +04:00
olpc_battery.c
palmtx_battery.c [ARM] Move include/asm-arm/arch-* to arch/arm/*/include/mach 2008-08-07 09:55:48 +01:00
pda_power.c pda_power: Check and handle return value of set_irq_wake 2008-09-01 02:10:06 +04:00
pmu_battery.c
power_supply_core.c power_supply: Add function to return system-wide power state 2008-09-01 02:42:54 +04:00
power_supply_leds.c
power_supply_sysfs.c Merge branch 'master' of /home/cbou/linux-2.6 2008-07-30 02:05:23 +04:00
power_supply.h
tosa_battery.c [ARM] Move include/asm-arm/arch-* to arch/arm/*/include/mach 2008-08-07 09:55:48 +01:00