standby - Android 5.0 - how to wake up device display? Scienctific app -


question

since there 1 wake-lock left 5.0, way force device go out of standby 2-5 seconds , go black. no interaction, no unlock of keys... out of standby. solutions found work deprecated wake-locks.

i know it´s bad idea , google want forbid me... normal apps makes sense, work on scientific app need , can risk battery drain.

can force deprecated wake lock work under newer os?

why need this?/what do/2 devices == different behavoĆ­our

i have step counter, write values sqlite db - @ alarm db , ask steps. based on magic.

sony: sony xperia z1 compact works, because don´t stop sensors while standby. no batching.

samsung: same app, step counter sensor. here 0 steps when ask them in alarm. workaround: when start device out of standby moment , go black again. alarm can right value. , need. want activate display before ask steps. batched sensor data must in db , right steps.

so solutions? wake-locks on service runtime, step counter inside, not working.

big thank you, , sure case there no duplicate question. points , make me happy. big thank help!


Comments

Popular posts from this blog

searchKeyword not working in AngularJS filter -

sequelize.js - Sequelize: sort by enum cases -

user interface - how to replace an ongoing process of image capture from another process call over the same ImageLabel in python's GUI TKinter -