Perry’s last days as Energy secretary