Battery drain fix.