Solve Battery drain and mmc issues with WIFI