here is a good fix to put in /etc/acpi/battery.sh ( I had the same
problem and fixed it by adding this to the top)

#########################################
AC_state=/proc/acpi/ac_adapter/AC/state

if grep -q "on-line" ${AC_state} ; then

    hal-set-property --udi `hal-find-by-capability --capability
ac_adapter` --key ac_adapter.present --bool true

else

    hal-set-property --udi `hal-find-by-capability --capability
ac_adapter` --key ac_adapter.present --bool false

fi
#########################################

-- 
[Master] hal/acpi incorrectly reports AC adapter state
https://bugs.launchpad.net/bugs/213128
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to