summaryrefslogtreecommitdiffstats
path: root/drivers/acpi/osl.c
diff options
context:
space:
mode:
authorZhang Rui <rui.zhang@intel.com>2010-12-08 03:40:49 +0100
committerLen Brown <len.brown@intel.com>2010-12-09 21:34:57 +0100
commit3138b32d5e0998ba3cbd1c74bdc1887d74c5279b (patch)
treee9058af9058161a2e9e180b85b9dcbebd94f068b /drivers/acpi/osl.c
parentACPI ac: update AC status upon sysfs query (diff)
downloadlinux-3138b32d5e0998ba3cbd1c74bdc1887d74c5279b.tar.xz
linux-3138b32d5e0998ba3cbd1c74bdc1887d74c5279b.zip
ACPI battery: update status upon sysfs query
Sometimes the Battery driver doesn't get notifications when it's plugged/unplugged. And this results in the incorrect Battery status reported by the power supply sysfs I/F. Update Battery status first when querying from sysfs. http://marc.info/?l=linux-acpi&m=128855015826728&w=2 Tested_by: Seblu <seblu@seblu.net> Signed-off-by: Zhang Rui <rui.zhang@intel.com> Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'drivers/acpi/osl.c')
0 files changed, 0 insertions, 0 deletions