My battery died while El Capitan was installing
You can do Internet Recovery using a WiFi connection, if available. 

If not, you have two other options:

1) Purchase an ethernet adapter and connect directly to your modem or router and perform the Internet Recovery.

2) If you have another Mac, you can download the OS and copy it onto a USB drive and install it on your MacBook Air.