Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

TapOut

macrumors regular
Original poster
Jun 14, 2009
153
0
Erie, PA
you have to jailbreak.. BUT you dont have to use SBS or Boss prefs

got this off xsellize

there is a way to enable the toggle to turn on/off the percentage in the status bar (iPhone method)

To enable the Battery Percentage toggle in settings
1. SSH into your iphone
2. Go to /System/Library/CoreServices/Springboard.app/
3. Download the file M68AP.plist
4. Open the file using a text editor or a plist editor
5. Add a Boolean value under the capabilities dictionary
"<key>capabilities</key>
<dict>" underneath this insert what is typed in #6
6. this is a Boolean Key
<key>gas-gauge-battery</key>
<true/>
7. Save and upload the file to the same directory that it was originally in
8. Go onto the iPhone and respring
9. Now go to the application Settings -> General -> Usage and there will be a Battery Percentage toggle and you can use it to enable battery percentage next to battery icon in top-right corner.


so basically before you save, your file should look like this

<key>capabilities</key>
<dict>
<key>gas-gauge-battery</key>
<true/>

good luck and dont forget to thank me
 
I no longer have the 3g, but this is a good example of apple restricting its capabilities. Assuming it works.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.