I've trawled a lot and can't find how to programatically turn on the screen when it is off.
The phone wake states appear to stop the screen going off when it's on but not be able to turn the screen on when it is off.
The Toggle library has toggle.useractivity which might work but I'm unclear on how to set the 'when' variable.:
Many thanks in advance.
The phone wake states appear to stop the screen going off when it's on but not be able to turn the screen on when it is off.
The Toggle library has toggle.useractivity which might work but I'm unclear on how to set the 'when' variable.:
Many thanks in advance.