Using prompts and Modulo to calculate battery life on a cell phone before it dies