Save before battery dies.