<manifest>
<uses-permission android:name="android.permission.WAKE_LOCK" />
</manifest>
Score creedengo: 2sur5
To avoid draining the battery, an Android device that is left idle quickly falls asleep.
Hence, keeping the screen on should be avoided, unless it is absolutely necessary.
If so, developers typically use a Power Manager system service feature called wake locks
by invoking PowerManager.WakeLock#newWakeLock(int levelAndFlags, String tag),
along with the specific permission WAKE_LOCK in their manifest.
<manifest>
<uses-permission android:name="android.permission.WAKE_LOCK" />
</manifest>