Added Battery Level Check and Reset Everything