Mintoris

Author Topic: How to prevent the screen from turning off due to inactivity?  (Read 793 times)

FabianClub

  • Full Member
  • ***
  • Posts: 76
Companions, I want to ask you how it is done so that during the execution of the program does not turn off the screen due to inactivity.
Is there a command in Mintoris to avoid that?

Chuck

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1899
Re: How to prevent the screen from turning off due to inactivity?
« Reply #1 on: May 24, 2017, 10:48 AM »
The Wakelock On command will keep the device from going to sleep.

Google is trying to eliminate the ability prevent the device from going to sleep, so I'm not sure if the Wakelock command will continue to work on newer versions of Android.

FabianClub

  • Full Member
  • ***
  • Posts: 76
Re: How to prevent the screen from turning off due to inactivity?
« Reply #2 on: May 24, 2017, 09:26 PM »
 ;D Thanks!