I created an application which uses camera and during the appplication execution the screen is always on.
In the onCreate() method I added the lock:
I use mWakelock.setReferenceCounted(false), still dunno what it means, but it resolves my "Wakelock under-locked" problem.
Init: OnStart() acquire: onResume() release: onStop()