Commit before battery dies