registry team mailing list archive
-
registry team
-
Mailing list archive
-
Message #22634
[Bug 213128] Re: [Master] hal/acpi incorrectly reports AC adapter state
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 Registry
Administrators, which is the registrant for acpi.