Cydia

In the event that you have an iPhone, and you can't hear the ringtone going off because your volume wasn't loud enough for you to hear it all muffled in your pocket or purse, you're going to end up with a lot of missed calls and notifications from applications.

iOS developer Nick Dawson's popular PocketMode jailbreak tweak for iOS 5 and iOS 6 offered a handy way to make the iPhone detect whether or not the device was in a dark place, such as a pocket or purse, and then automatically adjust the device's volume to be louder if it was; and now, the developer has just released PocketMode 2 for iOS 7.

The tweak does the same thing as the predecessor, but with additional features and iOS 7 support.

PocketMode 2 uses the iPhone's ambient light sensor to detect the light conditions around the device. If it's dark, like in a pocket or in a purse, then your device's volume will become gradually louder until you hear it, which is great for those phone calls that end up muffled in your pocket because of the tight fit. The tweak also respects your Do Not Disturb settings, so if you're sleeping at night in the dark, you won't have to worry about the tweak mistaking the dark of night for being in your pocket or in a purse.

The tweak adds a preferences pane to the Settings application where you can configure a number of options:

You'll be able to enable or disable the tweak on demand, as well as configure options individually for phone calls, text messages/iMessages, and miscellaneous notifications from other applications. You can then enable or disable any of all of the three depending on your wishes. Last but not least, you will be able to adjust the light sensitivity for the ambient light sensor.

If you choose to enable the tweak for phone calls, then you will be able to choose a volume level for when the tweak thinks the device is in your pocket. You can also enable or disable gradual volume increase for the ringtone, choose whether or not to override the mute switch, and enable or disable the tweak for FaceTime calls as well.

If you choose to enable the tweak for text messages/iMessages, then you will be able to choose a volume level for when the tweak thinks the device is in your pocket, and then choose whether or not you want the tweak to override the mute switch.

If you choose to enable the tweak for miscellaneous applications, then you will be able to choose a volume level for when the tweak thinks the device is in your pocket, pick the applications that you want to configure the tweak for, and choose whether or not you want the tweak to override the mute switch.

If you think that this tweak might come in handy for you, then we would love to hear from you about your experiences after trying it. In the mean time, if you want to grab it, it's available from Cydia's BigBoss repository for $1.99. The tweak is for iPhones running iOS 7 only.