debuging and DOZE mode