I'm having a minor problem with running unit tests against a real device when testing activities.
The problem is that they fail when the screen is not turned on.
Is there an elegant solution to this problem? Except moving my arm slightly to the right and press the power button myself. I'm not interested in WakeLock or any other code that would go into the main application.