The Dreamliner's two batteries are in electrical compartments located low down and near the front and middle of the plane.