t = RegRead( "HKCU", "ControlPanel\Battery", "mainlevel" ) SleepMessage 1, %tt%