Sleep tracking based on arm position?

I like to sleep with my arm under my pillow and sometimes I'll have my arm up in the air against my headboard. It never detects I'm sleeping during this.