Ion homeostasis, energy substrates, and network activity in developing brain