On Tue 13. Mar - 19:35:50, Stefan Seyfried wrote:
> Hi,
> 
> i just noticed that another strange hook has crept into pm-utils.
> 
> 55battery:
> -----------
> #!/bin/bash
> 
> . /usr/lib/pm-utils/functions
> 
> resume_batteries()
> {
>       for x in $(hal-find-by-capability --capability battery 2>/dev/null); do
> #             hal-set-property --udi "$x" --key battery.present --bool false
> #             dbus-send --print-reply --system --reply-timeout=2000 \
> #                     --dest=org.freedesktop.Hal $x \
> #                     org.freedesktop.Hal.Device.Reprobe string:$x
>               dbus-send --print-reply --system --reply-timeout=2000 \
>                       --dest=org.freedesktop.Hal $x \
>                       org.freedesktop.Hal.Device.Rescan string:$x

Huh? This is already done in hal-system-power-hibernate-linux after
pm-utils was called to suspend? Why is this needed again?

Regards,
        Holger
_______________________________________________
Pm-utils mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/pm-utils

Reply via email to