Comment 22 for bug 213128

Revision history for this message
eddiewould (eddie-eddiewould) wrote : Re: [Hardy] Guidance-power-manager doesn't know when laptop is mains unplugged

I've the following issues on a SONY VAIO VGN-CR323 Notebook:

- guidance-power-manager doesn't appear to be able to tell when the AC adaptor is plugged in.

When plugged:
> cat /proc/acpi/ac_adapter/ACAD/state
 state: on-line
> hal-find-by-capability --capability ac_adapter
 /org/freedesktop/Hal/devices/computer_power_supply_ac_adapter_ACAD
> hal-get-property --udi `hal-find-by-capability --capability ac_adapter` --key ac_adapter.present
 false

When unplugged:
> cat /proc/acpi/ac_adapter/ACAD/state
 state: off-line
> hal-find-by-capability --capability ac_adapter
 /org/freedesktop/Hal/devices/computer_power_supply_ac_adapter_ACAD
> hal-get-property --udi `hal-find-by-capability --capability ac_adapter` --key ac_adapter.present
 false

I've attached output from lshal when both plugged and unplugged.

Hopefully this helps in resolving the bug...