iPod Touch iPod touch Battery Percentage (like 3Gs)

Discussion in 'Jailbreaks and iOS Hacks' started by DanielNTX, Jun 24, 2009.

  1. DanielNTX macrumors 6502

    Joined:
    May 2, 2005
    #1
    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.
     
  2. Austin2048 macrumors 6502

    Austin2048

    Joined:
    Mar 16, 2009
    Location:
    Holmes, Pennsylvania
    #2
    i just went to SBsettings and turned numeric battery and it gave me the percentage next to the battery bar
     
  3. DanielNTX thread starter macrumors 6502

    Joined:
    May 2, 2005
    #3
  4. egk69 macrumors 6502

    Joined:
    Dec 5, 2008
    #4
    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....
     
  5. andybno1 macrumors 68040

    andybno1

    Joined:
    Nov 6, 2007
    Location:
    Liverpool, UK
    #5
    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
     
  6. egk69 macrumors 6502

    Joined:
    Dec 5, 2008
    #6
    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...
     
  7. DanielNTX thread starter macrumors 6502

    Joined:
    May 2, 2005
    #7
    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.
     
  8. Kinjjibo macrumors newbie

    Joined:
    Jul 6, 2009
    Location:
    Pennsylvania
    #8
    Can anyone who has an iPod touch 2G send me the .plist files? SBSettings is draining my battery with Numeric Battery switched on. Thanks.
     
  9. Winter Charm macrumors 6502a

    Winter Charm

    Joined:
    Jul 31, 2008
    #9
    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?
     
  10. Kinjjibo macrumors newbie

    Joined:
    Jul 6, 2009
    Location:
    Pennsylvania
    #10

    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.
     
  11. santaf macrumors newbie

    Joined:
    Jul 14, 2009
    #11
    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
     
  12. SnowLeopard2008 macrumors 604

    SnowLeopard2008

    Joined:
    Jul 4, 2008
    Location:
    Silicon Valley
    #12
    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?
     
  13. VaatiKaiba macrumors 6502

    Joined:
    Jun 12, 2008
    #13
    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.
     
  14. andybno1 macrumors 68040

    andybno1

    Joined:
    Nov 6, 2007
    Location:
    Liverpool, UK
    #14
    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
     
  15. Mr.Bigtime macrumors newbie

    Joined:
    Jul 28, 2009
    #15
    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.
     
  16. 99MustangGTman macrumors 6502

    Joined:
    Dec 3, 2008
    Location:
    Germantown MD/ Columbus OH
    #16
    You can also just download iHandy and easily switch the battery percentage to on and it looks just like on the 3GS.
     
  17. charliegreen macrumors newbie

    Joined:
    Jan 13, 2010
    #17
    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
     
  18. josueg942 macrumors member

    Joined:
    Apr 1, 2009
    #18
    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
     
  19. Aero26 macrumors regular

    Joined:
    Apr 24, 2010
    #19
    Now that we are in the 21st century....you can just download SBSettings from Cydia and adjust those preferences.
     
  20. celticpride678

    Joined:
    Feb 15, 2009
    Location:
    Boston, MA
    #20
    Thanks, those steps along with the OP's worked perfectly. Now I don't have to guess how much juice my battery has left :)
     
  21. MajorTruSkill macrumors newbie

    Joined:
    Jul 23, 2010
    #21
    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.
     
  22. celticpride678

    Joined:
    Feb 15, 2009
    Location:
    Boston, MA
    #22
    Are you following the OP's steps since you are on iOS 3?
     
  23. frankidoo macrumors newbie

    Joined:
    Aug 25, 2010
    #23
    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!!
     
  24. Mesqueeb macrumors newbie

    Joined:
    Oct 17, 2010
    #24
    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
     
  25. supermassive macrumors regular

    supermassive

    Joined:
    Sep 15, 2010
    #25
    You'll need the plist editor to change that. You see strange symbols because the plist is binary encoded.
     

Share This Page