Electronic device comprising flexible display and method for detecting state of electronic device | Patent Application Number 18456192 | Patexia