hi

I have a little hack for this problem

cat /proc/acpi/ac_adapter/ACAD/state

this command to force update the status of AC_Adapter correctly, this
will be used for the hack.

sudo vim /etc/acpi/events/battery_event
(copy/paste)
event=battery.*
action=cat /proc/acpi/ac_adapter/AC/state > /dev/null

then restarting the daemon acpid or reboot.
service acpid restart

now plugged in/out should work out correctly.

-- 
[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
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to