How to measure sound decibel in Android?
If you could measure the power output of the headphone jack then look on the spec sheet of your headphone/earphone for the sensitivity, you would be able to determine how much decibels you are being exposed to.