RE: how can we tell system to shutdown on a power fail, using systemd and apcid

uname -r
4.4.12-ti-r31

ls /sys/firmware/devicetree/base/ocp/i2c@44e0b000/tps@24/

compatible interrupt-parent interrupts linux,phandle name phandle
reg regulators ti,pmic-shutdown-controller

uname -r
4.14.20-ti-r36
ls /sys/firmware/devicetree/base/ocp/i2c@44e0b000/tps@24/

charger compatible #interrupt-cells interrupt-controller
interrupt-parent interrupts name phandle pwrbutton reg regulators
ti,pmic-shutdown-controller

seems they added "charger" and "pwrbutton" directorys

more
/sys/firmware/devicetree/base/ocp/i2c@44e0b000/tps@24/charger/interrupt-names
USB

No "AC" ?
It seems that "AC" has been left out so we cannot get a power fail response?

Will do more testing tomorrow powering off USB using battery backup to
see if the BBG shuts down.

Sure be nice to know