HowTo: Enable Numeric Battery in iPhone FW 3.0

ATTENTION: Also read HowTo: Get Battery Percentage on iPhone 2G/3G Running OS 3.0

I know that many of you are using iPhone OS 3.0 already. Just couldnt wait for Apple to release it for all of us ( consumers ) in June. Yesterday Dr. Puttingham emailed me, and sent me a screenshot of his springboard. He enabled the numeric battery on his iPhone running iPhone OS 3.0.

I dont know about you, but im always on numeric battery, i like it better than the visual battery ( thats the way i should call it? ). I asked Dr. Puttingham how did he do that , and he explained the process to me. To be honest , i didnt quite understand, but i decided not to bother him anymore with this problem , since i dont have OS 3.0 ( im still on 2.2.1 which i hate. )

But i really want to find out how you do that. So i did a little bit of research and i found the answer. At the moment you can do it only manually, but when OS 3.0 will be oficially released , im sure you can do it via (maybe) SupremePrefs.


As i said above , you will do this manually, so prepare yourself for some SSH-ing. Before you do anything, make sure you backup this file : /var/mobile/Library/Preferences/com.apple.springboard.plist

Next step is get the command line and run the following command : plutil -c xml1 /var/mobile/Library/Preferences/com.apple.springboard.plist

Browse to /var/mobile/Library/Preferences/ and copy somewhere on your computer om.apple.springboard.plist Now you need to edit this file.Open it and search for:

<key>SBReorderCount</key>
<integer>2</integer>

Right under those lines you need to enter :

<key>SBShowBatteryLevel</key>
<true/>

Save the file and copy it back to /var/mobile/Library/Preferences/ replacing the existing (original) file.

Now in the command line type : killall SpringBoard and voila. Numeric Battery available under iPhone OS 3.0