Fix constant wakelock problem