They Lost AC power 4 minutes before the crash. That'll happen when you lose both engines.
This airframe was built in 2009, and independent battery for the black boxes was made mandatory for aircraft built after 2010 I believe.
Hope they change this and retrofit.