I want to launch a timer which will get fired when the timer gets expired when the device is in low power (sleep) mode.
Device only gets waked up (normal mode) either on hard ware event (pressing of power button) or any network activity (call or data packet receiving).
Is there any way to bring the device back to the normal mode with timers in the native layer of android?
I googled so much but not able to find a way. Tried using timer_create() as well. But its not getting fired when the device is in low power (sleep) mode.
Please let me know if anyone had already done on this part.
Actually precision required for me is in milliseconds and the AlarmManager with RTC_WAKEUP is in the application layer which is expiring after consider delay and also this is in the Java layer. (If I implement Jni it will make some overhead to the application as there are multiple timers which need to be run in sleep mode).
Regards,
Suman