Fitbit is working on a feature that will allow its users to track how much of the night they spend snoring.