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

DanielNTX

macrumors 6502
Original poster
May 2, 2005
271
10
To enable the Battery Percentage option in the General/Usage menu, do the following:

Modify /var/Stash/Aplications.pwn/Preferences.app/General.plist in the third section that talks about "UsageController":
From:
Code:
            <array>
                <string>unified-ipod</string>
            </array>
To:
Code:
            <array>
                <dict>
                    <key>unified-ipod</key>
                    <false/>
                </dict>
            </array>
Depending on your device modify either the N45AP.plist (1st generation iPod touch) or N72AP.plist (2nd generation iPod touch) in the folder /System/Library/CoreServices/SpringBoard.app to add to the capabilities section:
Code:
        <key>gas-gauge-battery</key>
        <true/>
Respring and go turn on the option. Then you have percentage next to your battery icon.
 
how do i do this on a PLIST editor!!?!??????

i cant figure it out

orr, what application should i use to open it, cause i tried "textedit" and it is all mess up, i cant find anything written here!

PLEASE!

I made this on my iPhone, now im trying to do it on the iPodTouch2G:D

-----
EDIT: Nevermind, i figure it out, it works AWESOME, now the ipod show the USAGE menu, where you can turn on/off the battery %

THANKS!!!!!!!!!!!!!!!!!!!!!!!

BTW: someone should make a youtube video of this, i would but im too lazy, hehehe, i spend 1 hour searching in google and youtube and i couldnt find anything besides this....
 
the plist editing is soooo not worth the hassle, if you have sbsettings installed you can enable the percentage with the simple touch of a button
 
the plist editing is soooo not worth the hassle, if you have sbsettings installed you can enable the percentage with the simple touch of a button

I dont know about the Ipod Touch, but on the iPhone SBSettings battery % drains the battery a lot of people have confirm it (including my self)

so, i rather spend a few minutes with the plist editor that have my battery drain! :(

anyways its pretty easy!!, you just need SSH, cyberduck (on mac, or anything like it) and a plist editor (or the already modified files) and once you know what you're going to do, you can do it in a few minutes...
 
I originally tested SBSettings and i lost half my battery in 4 hours of not using the iPhone which is not the norm. Removed SBSettings and problem went away. I didn't try it out on the touch, but I bet it would be something similar.
 
Can anyone who has an iPod touch 2G send me the .plist files? SBSettings is draining my battery with Numeric Battery switched on. Thanks.
 
umm? okay, so i am a complete noob at this, and i really want the battery percentage meter... so i have like 2-3 questions.


1. Do i have to jailbreak to do this?

2. people are talking about a Plist editor - what is this? and is there one for windows?

3. I did some searching, and apparently there is some wierd xml thing you must do in windows.. does anyone know what that is about?
 
umm? okay, so i am a complete noob at this, and i really want the battery percentage meter... so i have like 2-3 questions.


1. Do i have to jailbreak to do this?

2. people are talking about a Plist editor - what is this? and is there one for windows?

3. I did some searching, and apparently there is some wierd xml thing you must do in windows.. does anyone know what that is about?


1. Yeah, you need it to be jailbroken

2. Go to http://www.download3000.com/download-ipodrobot-plist-editor-for-windows-count-reg-53442.html. I use that.

3. I don't know about that. I couldn't do this and am waiting if anyone can send me it.

Hope this helps.
 
umm? okay, so i am a complete noob at this, and i really want the battery percentage meter... so i have like 2-3 questions.


1. Do i have to jailbreak to do this?

2. people are talking about a Plist editor - what is this? and is there one for windows?

3. I did some searching, and apparently there is some wierd xml thing you must do in windows.. does anyone know what that is about?
1) as the other person said yes

2) i'm pretty sure on windows you can edit plist files with the text editor thing that windows comes with

3) i don't know what you are talking about sorry
 
Wait, so after you edit these plists, then what do you do? You didn't make that part clear...

EDIT: Nvm, I thought these plists were local (on computer). You SSH into the iPod and then change it right?
 
Just use BossPrefs - the option is in there under extras, it does nearly everything that SBSettings does, but without the battery drain. Oh, and no Plists or anything needed.
 
3. I don't know about that. I couldn't do this and am waiting if anyone can send me it.

well you don't need to convert to xml but it does make it easier to edit the file if you use wordpad or notepad.

I tend to use https://brokolice.drsny.net/iphone/plutil/ load the file there and then save it to a location seperate to original file edit convert back to binary using the same method and upload to iPod.

and remember ALWAYS MAKE A BACKUP OF THE ORIGINAL FILE :p
 
Hello iam new around here. i instaleld Cydia for to use BOSSPREFS or what ever its name :D and use NUMERIC BATTERY but its not working. i have ipodtoch 2g 3.0

Anyway forget it. how can enable that numeric battery level with ur method? i dont get it. iam new to this stuff :( with what editor?

and u mention about sbsettings..what is it? where cani get it? i will google but if u know the answer shortly pls reply because iam so desperate to have a numeric battery level :( vthank u very much.
 
Hi,

I found this thread when i searched on Google to know how i could get percentage of my Ipod Touch 3rd Gen Jailbroken (Tethered).. then i don't know how to modify the lines which are written on the first post .. anybody could help me i'm new in this scene

Thank You
 
iOS4

G'day all... thought I'd share this with you all :p
I had difficulty adding the Usage menu to general preferences in iOS4
if your iPod Touch is running iOS3 it says
<array>
<string>unified-ipod</string>
</array>
but in iOS4 it says
<array>
<string>cellular-data</string>
</array>
so what you would do is change the <string>cellular-data</string> part to <key>unified-ipod</key>
Basically just change <string>cellular-data</string> and its surrounding to what DanielNTX listed :
<array>
<dict>
<key>unified-ipod</key>
<false/>
</dict>
</array>
and then add the gas-gauge-battery to your N45AP OR N72AP plist.
hope this helps :p
sorry my english is not very good
 
Hi,

I found this thread when i searched on Google to know how i could get percentage of my Ipod Touch 3rd Gen Jailbroken (Tethered).. then i don't know how to modify the lines which are written on the first post .. anybody could help me i'm new in this scene

Thank You
Now that we are in the 21st century....you can just download SBSettings from Cydia and adjust those preferences.
 
G'day all... thought I'd share this with you all :p
I had difficulty adding the Usage menu to general preferences in iOS4
if your iPod Touch is running iOS3 it says
<array>
<string>unified-ipod</string>
</array>
but in iOS4 it says
<array>
<string>cellular-data</string>
</array>
so what you would do is change the <string>cellular-data</string> part to <key>unified-ipod</key>
Basically just change <string>cellular-data</string> and its surrounding to what DanielNTX listed :
<array>
<dict>
<key>unified-ipod</key>
<false/>
</dict>
</array>
and then add the gas-gauge-battery to your N45AP OR N72AP plist.
hope this helps :p
sorry my english is not very good

Thanks, those steps along with the OP's worked perfectly. Now I don't have to guess how much juice my battery has left :)
 
Alright I tried doing this on my iPod using iFile(Allows you to edit files from iPod) and its not working. Could it possibly be the fact that im not doing it from my computer? Could it also be from having a MC Model(Jailbroken with Spirit, Untethered). I am kinda new to this stuff. Could someone possible help me do this or send me the file.
 
Alright I tried doing this on my iPod using iFile(Allows you to edit files from iPod) and its not working. Could it possibly be the fact that im not doing it from my computer? Could it also be from having a MC Model(Jailbroken with Spirit, Untethered). I am kinda new to this stuff. Could someone possible help me do this or send me the file.

Are you following the OP's steps since you are on iOS 3?
 
Hello iam new around here. i instaleld Cydia for to use BOSSPREFS or what ever its name :D and use NUMERIC BATTERY but its not working. i have ipodtoch 2g 3.0

Anyway forget it. how can enable that numeric battery level with ur method? i dont get it. iam new to this stuff :( with what editor?

and u mention about sbsettings..what is it? where cani get it? i will google but if u know the answer shortly pls reply because iam so desperate to have a numeric battery level :( vthank u very much.

just dowload fake carrier you can change everything in you status bar and have the numeric battery and about SB settings you can find it in cydia , if you dont have cydia you didnt jailbroke youre ipod ,if you didnt jailbroke your ipod well DO IT NOW!!
 
to OP

to OP:

I tried adding battery percentage as explained in the OP
but the files I had to edit were full of strange symbols like letters with accents and a lot of @#*()%&......
so how come the file wasn't nicely filled with html-codes like: <array> <string>unified-ipod</string> </array>
??

Thanks!!

-Mesqueeb
 
to OP:

I tried adding battery percentage as explained in the OP
but the files I had to edit were full of strange symbols like letters with accents and a lot of @#*()%&......
so how come the file wasn't nicely filled with html-codes like: <array> <string>unified-ipod</string> </array>
??

Thanks!!

-Mesqueeb

You'll need the plist editor to change that. You see strange symbols because the plist is binary encoded.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.