Almost empty and empty are different states
快没电了 says the phone is almost out of battery. 没电了 says it is out of power. 快 matters when you still have enough charge to show information or make a call. Do not translate the first line as a completed shutdown: the dialogue gives no battery percentage or claim that the phone has already switched off.