Wifi is available throughout the airport.
In Jakarta, as everywhere in Indonesia, you can use very cheap VIP lounges, which are usually available for a fee of around Rp 50,000 for domestic flights. You get unlimited refreshments (check the quality beforehand) and comfortable seats.