How Does Your Phone Know It's Pockets?

Your phone has tiny sensors inside that feel like they have senses of their own. When you put it in your pocket, these sensors send signals to a small brain chip. The chip asks, 'Are we moving? Are we dark?'

Feeling the Movement

The accelerometer is like a little ball inside a tube. If the phone shakes a lot, like when you are walking, the ball bounces around. This tells your phone that steps are being taken.

Seeing the Light

Your phone also has an eye called the light sensor. If it goes dark suddenly, it might be in a pocket or bag. But if it stays bright, maybe it is just in a sunny room.

Putting It Together

A computer program mixes these clues. If there is shaking but no light, it guesses 'pocket.' If there is shaking and lots of light, it guesses 'in your hand.' This helps the phone count steps correctly so you do not get fake points for moving around while sitting.

Take the quiz →

Examples

  1. The phone feels the shaking from your legs as you walk.
  2. It sees its eyes go dark when tucked inside jeans.
  3. It knows it is in a bag because it moves but stays dark.

Ask a question

See also

Discussion

Recent activity