a person is closing the cover in an electronic device