detect if phone is stable or nor