acpi "ac_adapter" events
#1
Hello, I am running Manjaro on my PBP. I want to modify /etc/acpi/handler.sh to run some scripts when AC power is plugged/unplugged.

My understanding is that this should show up as an `ac_adapter` event in the output of `acpi_listen`. However, there is no such output when I plug/unplug from power. Other events do print. I have Power Manager running and it shows a notification that I've plugged/unplugged from power, so it must be using a different mechanism. How can I hook into AC plug/unplug events?

Code:
$ sudo acpi_listen
button/power PBTN 00000080 00000000
button/power PBTN 00000080 00000000
button/lid LID close
button/lid LID open

Thanks for any ideas!


Messages In This Thread
acpi "ac_adapter" events - by elijahr - 09-24-2020, 07:23 PM
RE: acpi "ac_adapter" events - by MtnSk8 - 09-24-2020, 08:42 PM
RE: acpi "ac_adapter" events - by elijahr - 09-24-2020, 09:28 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  X events getting clogged up? ab1jx 21 18,261 01-21-2021, 01:05 AM
Last Post: KC9UDX

Forum Jump:


Users browsing this thread: 1 Guest(s)