I developing battery-powered device based on PocketBeagle + Bela mini + Linux 4.4.113-ti-xenomai-r149.1.
I connect button to some GPIO for wake-up system and use "echo mem > /sys/power/state" to put system into suspend.
When I put "echo mem > /sys/power/state" my system decrease power consumption to ~50 mA, but when I press to button the system is not wake up.
Is my kernel support suspend to RAM or other mode (standby) ?
How to configure pin to wake up?