Is it possible in Android API level 15 to receive a notification whenever the user does anything that keeps the device awake - in effect, whenever PowerManager.userActivity()
is called?
(Bit of background: I'm working on a large Android app for a non-mobile device with a fixed power supply. When the user interacts with the screen, keyboard, etc. I need to send a "stay awake" signal to another, connected device.)