Quote:
Originally Posted by pazos
There's a chance that the specific code path is restricted to system apps, so nobody can tell you without doing the work first.
|
Thanks for your thoughts. The links to the doze docs you mentioned helped to research whether the commands to enforce DS might be used by an app. Unfortunately it don't look very promising.
Also it just happened that I rooted my 4e and grab the logcat after a dozen of page flips in the BN app (bn.ereader). Looks like they use some proprietary lib epdUtils (probably vaguely googlable in the context of Sony eInk readers, epd probably stands for Electronic Paper Display) and the method (or call) setDirectSuspend. When the line with true
....EpdUtils: setDirectSuspend: true
then 2.5 seconds pass until the system goes to deep sleep and the logcat stops reporting anything at all until (in my case) hardware button KEYCODE_F11 is pressed, after that about 3.5 seconds passes until the corresponding call is noticed
... EpdUtils: setDirectSuspend: false
The 6-7 unavoidable seconds I previosly mentioned is this 2.5 + 3.5 seconds between these calls. Now I really doubt anyone can find a non-B&N app performing the same wizardly...