add wifilock and wakelock