Since Lipo-L293d combination is ill suited for Raspberry Pi we looked for an alternate solution. Portable mobile battery was found to be an excellent solution. It gives exact 5V power supply. So 7805 is not required and no power is wasted. We used a 2200mA power bank. So the raspberry pi will run on it for 2-3 hours.