IIRC The black boxes have their own independent power supply (ie onboard batteries whose sole purpose are to power the recording devices and the location transponders), but if the devices that send the information to the black boxes stopped sending at 4 minutes before the crash then saying that the black boxes stopped recording might be an imprecise way of saying what happened - ie the sending devices stopped sending so there was no incoming data for the black boxes to record. Maybe?