I'm working on an imx6slevk board with yocto bsp and running qt5 applications.
To enable screen blanking I made following changes in /etc/systemd/logind.conf
the console now turns off after 30 screen when the app is running.
but when I press a key in the matrix keypad the timer doesn't reset, for example if I press a key 29 sec after the previous suspend the board goes to suspend 1s later. I'm assuming that the key press is not registered as an activity by the board,
what changes should I make in systemd to enable key press as an event?