Your favorite Apple, iPhone, iPad, iOS, Jailbreak, and Cydia site.
Thread: How to enable the numeric battery in firmware 3.0 for iPhone 3G
is a discussion within theFile Mods
forums, a part of theiPhone Modding
section;Enable Numeric Battery in firmware 3.0 Manually Firmware 3.0 has a feature in it that allow you to enable/disable a numeric battery percentage on the status bar of the iPhone.
...-
06-27-2009, 04:28 AM #1iPhoneaholic
- Join Date
- Sep 2008
- Location
- Massachusetts, USA
- Posts
- 430
- Thanks
- 39
- Thanked 71 Times in 59 Posts
How to enable the numeric battery in firmware 3.0 for iPhone 3G
Enable Numeric Battery in firmware 3.0 Manually
Firmware 3.0 has a feature in it that allow you to enable/disable a numeric battery percentage on the status bar of the iPhone. Apple, decided to make this feature only available to the iPhone 3GS and not the 3G. Below is how to enable the numeric battery on the iPhone 3G and yes it works.
- Connect to your iphone 3G using WinSCP (SSH)
- Before doing anything, backup the file called com.apple.springboard.plist located in /var/mobile/Library/Preferences/ and then copy it to your computer.
- Download pledit.zip that is attached and extract it to the same folder as your file called com.apple.springboard.plist
- Run Pledit.exe and open com.apple.springboard.plist
- Find the following:
Code:<key>SBReorderCount</key> <integer>2</integer>
- Add the following key under it
if it already exists, then change <false/> to </true>Code:<key>SBShowBatteryLevel</key> <true/>
- Save the file com.apple.springboard.plist in PLedit.exe and exit.
- Using WinSCP or SSH, copy com.apple.springboard.plist from your computer to /var/mobile/Library/Preferences/ on your iPhone 3G and overwrite the original file.
- Execute the following command from WinSCP or from a SSH terminal window:
Code:killall SpringBoard
That's it. You can't enable and disable the numeric battery indicator like you can on the the iPhone 3GS in the Settings->General->Usage menu, but it does displays a numeric battery indicator on the status bar of the iPhone 3G.
Note: If you don't want to go through this hassle, you can install SBSettings in Cydia and enable the numeric battery. SBSettings replaced BossPrefs. BossPrefs still installs in 3.0, but the numeric battery no longer works and it messes up the order of your application icons.Last edited by reddawg; 06-27-2009 at 02:56 PM.
-
The Following User Says Thank You to reddawg For This Useful Post:
Kiserai (07-07-2009)
-
06-27-2009, 04:34 AM #2
I know an easier and faster way to enable that feature and even the switch in Settings->General->Usage
Just add
Code:<key>gas-gauge-battery</key> <true/>
to M68AP.plist in /System/Library/CoreServices/
-
-
06-27-2009, 04:32 PM #3iPhoneaholic
- Join Date
- Sep 2008
- Location
- Massachusetts, USA
- Posts
- 430
- Thanks
- 39
- Thanked 71 Times in 59 Posts
Giabar's mod allows you to enable or disable the numeric battery using the Settings-> General-> Usuage ->Battery Percentage [ON / OFF] menus on your iPhone 3G. Below are instructions that on how to do this:
______________________________________________
How to Enable the Numeric Battery in firmware 3.0- Connect to your iphone 3G using WinSCP (SSH)
- Before doing anything, backup the file called M68AP.plist located in /System/Library/CoreServices/SpringBoard.app.
- Using WinSCP (ssh), copy M68AP.plist to your computer.
- Download the PLIST editor in pledit.zip that is attached to my previous post and extract it to the same folder on your computer as your file called M68AP.plist
- Run Pledit.exe and open M68AP.plist
- Add the following key to under <key>capabilities</key>
Code:<key>gas-gauge-battery</key> <true/>
- Save the file M68AP.plist in PLedit.exe and exit.
- Using WinSCP or SSH, copy M68AP.plist from your computer to /System/Library/CoreServices/SpringBoard.app/ on your iPhone 3G and overwrite the original file.
- Execute the following command from WinSCP or from a SSH terminal window:
Code:killall SpringBoard
Last edited by reddawg; 06-27-2009 at 11:03 PM.
-
-
06-27-2009, 04:36 PM #4Retired Moderator
- Join Date
- Jan 2008
- Location
- TX Follow me @StealthBravo
- Posts
- 32,492
- Thanks
- 44
- Thanked 5,326 Times in 3,113 Posts
lol

-
06-27-2009, 04:44 PM #5iPhoneaholic
- Join Date
- Jan 2009
- Location
- West Coast
- Posts
- 412
- Thanks
- 16
- Thanked 43 Times in 37 Posts
Yeah, you can do this through Cydia without SSH. Download and install asBattery (only tested on the iPhone 3G). This also gives you the ON and OFF switch within Settings.
"To unpathed waters, undreamed shores." -- William Shakespeare
-
06-27-2009, 05:29 PM #6iPhoneaholic
- Join Date
- Sep 2008
- Location
- Massachusetts, USA
- Posts
- 430
- Thanks
- 39
- Thanked 71 Times in 59 Posts
AsBattery is definately much easier to install and works as you described, but I found that it seemed to drain my battery faster than it should. After uninstalling it and using the above mod, my battery isn't draining as fast.
Last edited by reddawg; 06-28-2009 at 01:24 AM.
-
06-28-2009, 03:12 PM #7
I can't find asbattery on cydia what source needs to be installed?
Thanks
-
06-28-2009, 03:15 PM #8
@vwcrzy http://apt.iphone-storage.de/
Last edited by xjuliephanx; 06-28-2009 at 03:18 PM.
-
06-29-2009, 04:19 AM #9
Anyone know how to get old style display? Replace the whole battery with just number... 1~100. No % symbol. Touch to switch between battery and number.
-
07-02-2009, 04:51 PM #10Green Apple
- Join Date
- Jul 2007
- Location
- Detroit | Sterling Heights
- Posts
- 61
- Thanks
- 8
- Thanked 7 Times in 6 Posts
I did the % battery for my iphone 3g, and it works, however after doing this my phone seems to drain a lot quicker. Is anyone else noticing this, or is it only me?
useful? hit the thanks button!
-
07-02-2009, 09:54 PM #11Use the "Thank you" option if someone helped you solve your problems!

Migrated from Windows Mobile to iPhone 3G.
-
07-03-2009, 04:29 AM #12
To remove % I think we should look at PNGs in system>library>coreservices>springboard.app
Unfortunately I don't have the possibility to verify it by myself 'cause I cannot convert iPhone's PNG with my computer
-
07-03-2009, 07:05 AM #13
Isn't it easier to just enable it through SBsettings?
Housekeepin'?
-
07-06-2009, 03:03 AM #14Use the "Thank you" option if someone helped you solve your problems!

Migrated from Windows Mobile to iPhone 3G.
-
07-10-2009, 07:19 AM #15
A step int he right direction...
Hey all, like you I've been pissed that I can't have the battery OR the percentage.
I SSHed into /System/Library/CoreServices/SpringBoard.app as per the suggestion of a previous poster. There I found numerous .png files which I wasn't able to view so I just started deleting them with a sort of educated randomness. I found that I could make the '%' symbol disappear if I deleted "Default_Percent_%.png" and "FSO_Percent_%.png".
At least it no longer has to take up as much space on the right hand side of the taskbar.
Hope that helps.
-
The Following User Says Thank You to twowaymonologue For This Useful Post:
giabar (07-10-2009)
-
07-20-2009, 04:25 PM #16
None of these seem to work for me. On the lockscreen the numerical battery will display, but on any other screen regardless of whether or not I have an app open, I see the battery % draw but instantly get overwritten, and I can't figure out why.
Any help? I thought it may have something to do with the free memory display, but that didn't get me anywhere either.
-
08-03-2009, 11:15 AM #17
Use gibars walkthrough
Its so much easier. Except he didnt mention that you have to use a plist editor (which can be found on google), you have to add it under the <string>iPhone</string> thing, and also, you need to respring after, which, if you donīt have SBSettings, can be done by clicking and then undoing anything in winterboard. Then go to settings, general, usage, and turn it on. THANKS GIBAR.








-
08-03-2009, 06:06 PM #18The One and Only
- Join Date
- Mar 2008
- Location
- Boston
- Posts
- 1,201
- Thanks
- 29
- Thanked 59 Times in 55 Posts
Am I the only one who thinks the % icon actually looks badass? <.< >.>
-
08-04-2009, 12:59 AM #19iPhoneaholic
- Join Date
- Sep 2008
- Location
- Massachusetts, USA
- Posts
- 430
- Thanks
- 39
- Thanked 71 Times in 59 Posts
KillerChris1213, you are an idiot. Re-read the posts.
It's not easier, it still requires you to copy the PLIST file to your computer, edit it using a PLIST editor and then recopy it back to your iPhone.Use gibars walkthrough, Its so much easier.
I do agree GiBars method was better because it allows you to enable or disable the numeric battery through the iPhone Settings -> General ->Usuage menus. No argument there, but easier nope.
Yes, I did, if you can read. In my first post in the thread, I included a PLIST editor attachment and instructions on how to use it.Except he didnt mention that you have to use a plist editor (which can be found on google),
Pretty straight forward.5. Run Pledit.exe and open com.apple.springboard.plist
6. Add the following key to under <key>capabilities</key>
<key>SBShowBatteryLevel</key>
<true/>
I posted instructions to Gibar's post because the location he specified for M68AP.plist file was wrong, it was not in /System/Library/CoreServices/. It was located in /System/Library/CoreServices/SpringBoard.app. He also did not specify where in M68AP.plist to add the <STRINGS>.
I attempted to make instructions for Gibar method of enabling the numeric battery easier so the average person could use it. I stole no credit from him
I did not attach a PLIST editor in this post because I posted one in the very first post.Giabar's mod allows you to enable or disable the numeric battery using the Settings-> General-> Usuage ->Battery Percentage [ON / OFF] menus on your iPhone 3G. Below are instructions that on how to do this:
I did post instructions for re-springing which can be done using WinSCP terminal commands
Giabar, this is not directed at you. I liked your method of enabling the numeric battery better than mine. It is directed at KillerChris1213 who after 2 posts either can not read or comprehend.killall SpringBoard
Modmyi is supposed to be a forum where others help others, not a place where idiots attack people's post, especially when they don't bother to read the entire post. Offer constructive critism or go somewhere else.
Last edited by reddawg; 08-04-2009 at 01:11 AM.
"When I die, I want to go peacefully in my sleep like my grandfather did...not kicking and screaming like the passengers in his car." -- Unknown
-
08-06-2009, 08:46 PM #20
reddawg when i open the app memoryinfo to check the battery percentage it is 3 precent off from the actual battery percent number
anyone else has this problem?




LinkBack URL
About LinkBacks
Reply With Quote




