Narrative:

On climb out at takeoff; lost all electrical power. Continued the climb out from runway at ZZZ. Started turning off lights and radios while still in contact with tower. Climbed out over the water and turned northbound. Left 1 radio tuned to VHF 121.5 and transponder set on 1200. Remained clear of all controled airspace and once north of ZZZ1 class C airspace; I turned off all avionics and lights to conserve what remained of the battery. Continued flight to ZZZ2 NORDO and lights out. Overflew ZZZ3 class C airspace and descended in ZZZ2 and landed uneventfully.

Google
 

Original NASA ASRS Text

Title: AN M20 PILOT LOST ALL ELECTRICAL POWER SHORTLY AFTER TAKEOFF. THE REPORTER ELECTED TO CONTINUE THE FLIGHT TO DESTINATION UNDER VFR NIGHT CONDITIONS.

Narrative: ON CLBOUT AT TKOF; LOST ALL ELECTRICAL PWR. CONTINUED THE CLBOUT FROM RWY AT ZZZ. STARTED TURNING OFF LIGHTS AND RADIOS WHILE STILL IN CONTACT WITH TWR. CLBED OUT OVER THE WATER AND TURNED NBOUND. LEFT 1 RADIO TUNED TO VHF 121.5 AND XPONDER SET ON 1200. REMAINED CLR OF ALL CTLED AIRSPACE AND ONCE N OF ZZZ1 CLASS C AIRSPACE; I TURNED OFF ALL AVIONICS AND LIGHTS TO CONSERVE WHAT REMAINED OF THE BATTERY. CONTINUED FLT TO ZZZ2 NORDO AND LIGHTS OUT. OVERFLEW ZZZ3 CLASS C AIRSPACE AND DSNDED IN ZZZ2 AND LANDED UNEVENTFULLY.

Data retrieved from NASA's ASRS site as of May 2009 and automatically converted to unabbreviated mixed upper/lowercase text. This report is for informational purposes with no guarantee of accuracy. See NASA's ASRS site for official report.