Moved the screen wake lock under WebAPI