I was running Door lock sample application. And it works perfectly when the devices are powered through USB. But I'm not getting EZ mode success if the devices are connected through batteries. What can possibly be the problem in this situation. Where should i look to rectify it?