Page 1 of 2 12 LastLast
Results 1 to 10 of 20
Discuss numeric battery in SBsettings at the iOS 3.x (iPhone OS 3.x) - Hackint0sh.org; enabling numeric battery under Extra now adds the numeric percentage next to the battery icon. ...
  1. #1
    Senior Professional Array

    Join Date
    Jan 2009
    Location
    seattle, washington
    Posts
    135
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    12

    Default numeric battery in SBsettings

    enabling numeric battery under Extra now adds the numeric percentage next to the battery icon. back in firmware 2.2.1, it actually toggles between numeric and battery.

    anyone has a workaround for this.



  2. #2
    Board Hero Array

    Join Date
    Dec 2007
    Posts
    1,044
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    74
    iPhone 3GS / 3.1.2 JB (PwnageTool) / 04.26.08 carrier-locked, Carrier Logo Fixer / Cydia / 1000 posts on Hackint0sh

    Installing Cydia programs on a phone that has no internet connection: read this.

    Editing binary .plist, .strings, .nib and .xib files:
    * on your computer: Windows tool / conversion website.
    * on your iPhone: convert those files in a terminal with plutil (installed with Erica Utilities) or edit them with iFile (Cydia links).

  3. #3
    Supporter Array gkscit's Avatar

    Join Date
    Oct 2008
    Location
    Bangalore - INDIA
    Posts
    164
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    14

    Default

    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 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
    Code:
    <key>SBShowBatteryLevel</key>
    <true/>if it already exists, then change <false/> to </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

  4. #4
    Senior Professional Array

    Join Date
    Jan 2009
    Location
    seattle, washington
    Posts
    135
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    12

    Default

    Quote Originally Posted by gkscit View Post
    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 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
    Code:
    <key>SBShowBatteryLevel</key>
    <true/>if it already exists, then change <false/> to </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
    i would love to try this out, but i have a couple of questions

    1. where do i find this pledit.exe?
    2. basically this pledit.exe opens the .plist file?
    3. if all i am doing is to flip this key from true to false
    <key>SBShowBatteryLevel</key>

    i think i should be able to use any edit, modify the .plist file and copy it back using SSH.
    Last edited by sfaguy; 07-29-2009 at 05:17 AM.

  5. #5
    Supporter Array cofi's Avatar

    Join Date
    Dec 2008
    Location
    Porto - Portugal
    Posts
    230
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    21

    Default

    Quote Originally Posted by sfaguy View Post
    i would love to try this out, but i have a couple of questions

    1. where do i find this pledit.exe?
    2. basically this pledit.exe opens the .plist file?
    3. if all i am doing is to flip this key from true to false
    <key>SBShowBatteryLevel</key>

    i think i should be able to use any edit, modify the .plist file and copy it back using SSH.
    Answers:

    1. Google. If just found a ton of results
    2. Yes, it's an editor that interacts with WinSCP
    3. Yes


  6. #6
    Supporter Array gkscit's Avatar

    Join Date
    Oct 2008
    Location
    Bangalore - INDIA
    Posts
    164
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    14

    Default

    I had attached plist edit.. you need to download iphone browser from google search...

    iphone browser is easier than winscp


    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 gkscit; 07-29-2009 at 01:59 PM. Reason: correction

  7. #7
    Senior Professional Array

    Join Date
    Jan 2009
    Location
    seattle, washington
    Posts
    135
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    12

    Default

    Quote Originally Posted by gkscit View Post
    I had attached plist edit.. you need to download iphone browser from google search...

    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
    hey gkscit,

    earlier, you suggested to modify the com.apple.springboard.plist which i tried but that did not work. (1) it re-arranged all my icons, (2) the percentage disappears

    now you are saying we should modify another file? so which one is it, really?

    i just modified the M68AP.plist, it did not work for me. both percentage and battery icons are still there. anyone else has any luck with this?
    Last edited by sfaguy; 07-29-2009 at 07:22 PM.

  8. #8
    Supporter Array gkscit's Avatar

    Join Date
    Oct 2008
    Location
    Bangalore - INDIA
    Posts
    164
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    14

    Thumbs up

    Both are correct earlier one it will show percentage meter permanently unless you remove that command ; if you modify M68AP.plist file you will get switch in usage tab under general settings. Ensure that you are not using any third party battery % display ( SBS or fake carrier)

    Trust me it works as I did that for iphone3G 16Gb
    Thanx * Rgds,
    Girish Kumar

  9. #9
    Senior Professional Array

    Join Date
    Jan 2009
    Location
    seattle, washington
    Posts
    135
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    12

    Default

    Quote Originally Posted by gkscit View Post
    Both are correct earlier one it will show percentage meter permanently unless you remove that command ; if you modify M68AP.plist file you will get switch in usage tab under general settings. Ensure that you are not using any third party battery % display ( SBS or fake carrier)

    Trust me it works as I did that for iphone3G 16Gb
    hi gkscit,

    i added the codes to m68ap.plist as follow. do i have it in the right place? then i disable % battery in SBS

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

    then i rebooted my 3G, i do not see this switch you mentioned under settings. care to explain this more?? if you like, we can chat via YM or AIM, let me know which one you use.

    can anyone get this to work???
    Last edited by sfaguy; 07-30-2009 at 06:41 AM.

  10. #10
    Supporter Array gkscit's Avatar

    Join Date
    Oct 2008
    Location
    Bangalore - INDIA
    Posts
    164
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    14

    Wink

    follow the instructions you need to add only gas-guage-battery which is marked in red unber "capabilities" and reboot your phone.

    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.
    Thanx * Rgds,
    Girish Kumar


 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. How is the numeric battery shown in SBSettings?
    By yalag in forum Free Toolchain Software (Cydia App's)
    Replies: 0
    Last Post: 07-22-2009, 05:38 PM
  2. SBSettings Numeric Battery and RainbowLight questions
    By hkhero in forum Free Toolchain Software (Cydia App's)
    Replies: 1
    Last Post: 07-17-2009, 03:16 PM
  3. SMS Application from 1.1.2, fixed the non-numeric problem?
    By matthijst in forum iPhone "2G" (Rev. 1)
    Replies: 3
    Last Post: 11-11-2007, 01:15 AM
  4. Replies: 13
    Last Post: 11-05-2007, 12:08 PM
  5. Change to UK numeric ?
    By tim kay in forum General
    Replies: 8
    Last Post: 10-18-2007, 08:41 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Powered by vBulletin®
Copyright © 2014 vBulletin Solutions, Inc. All rights reserved.
Search Engine Friendly URLs by vBSEO
(c) 2006-2012 Hackint0sh.org
All times are GMT +2. The time now is 09:16 PM.
twitter, follow us!