iPhone, iPad wake screen command

Is there an Appium command to wake iOS devices? I have a method which sometimes takes a while to run, and sometimes the device goes to sleep. I would like to wake the device so I can get a screenshot of the current state.

I don’t think so appium have any method to wake device.
It’s better to increase sleep time of device manually from settings.