[PATCH] fix PMU battery and AC handling with power_supply

Danny Kukawka danny.kukawka at web.de
Wed Aug 6 10:15:55 PDT 2008


From: Danny Kukawka <danny.kukawka at web.de>
Subject: fix PMU battery and AC handling with power_supply

Fixed PMU battery and AC handling if they are exposed via the
power_supply interface. This prevents double the battery and AC
devices by handling the proc and sysfs interfaces.

Should fix fd.o bug #15482.

Signed-off-by: Danny Kukawka <danny.kukawka at web.de>
---

 pmu.c |   21 ++++++++++++++-------
 1 file changed, 14 insertions(+), 7 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: hal-20080414-fix-pmu_sysfs-power_supply.diff
Type: text/x-diff
Size: 1893 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/hal/attachments/20080806/6a4ac330/attachment.diff 


More information about the hal mailing list