Instruments failing after take off

Which aircraft? You really should include all likely relevant information.

What it sounds like is you have left the starter motor on, and/or not turned the alternator on, and you’ve drained the battery.