in an application I change the screen idle time like this:
Settings.System.PutString(this.ContentResolver, Settings.System.ScreenOffTimeout, TIEMPO);
Everything works fine, but if in a layout I want the rest to be 15 seconds (time = 15000 milliseconds) and then for a while I change it to 30 minutes (1800000) so that the screen is not blocked during a bar progress, when you put it back to 15 seconds the counter does not restart so it locks almost immediately since it was counting during the progress bar.
Does anyone know how to reset the ScreenOffTimeout counter?