how to turn on the android phone screen at the desired time in new APIs (above API 23)?

50 Views Asked by At

I am developing a new application that is needed to light up the screen at the desired time and play a sound or alarm along with the notification. this concept is working in APIs below 23 with Wake_lock and some other deprecated methods. but as I mentioned most of them has been deprecated in new APIs due to some power-saving strategy which is called DOZE mode.

there are too many available apps which are working in the same way which I asked. but I did not find any good help or clue for my question.

is there any solution for the above issue (turning on the screen at the desired time)?

0

There are 0 best solutions below