GoToSleep forces the screen to turn off and puts the device to sleep. This has the same effect as pressing the power button.