Chosen Solution

When I put my 3ds in a position the speaker pops and the 3ds turns off. And I cant seem to know why it happens. Please can someone help.

Devices with mechanics like a door they have a really slim connection between the two parts, This connection (The Flex Cable) with normal use it start wearing out . Now talking about your 3DS this connection is really weak i fixed some of this models replacing the Flex Cables between the 2 Pieces. If this is not the problem well, so many possibilities, liquid damage, loose connection, bad battery, etc.