Add battery info to core dump