<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>Battery – Yeri Tiete</title><link>https://yeri.be/tag/battery/</link><description>Yeri Tiete's blog</description><language>en</language><copyright>© Yeri Tiete</copyright><lastBuildDate>Fri, 31 Jul 2009 01:55:18 +0200</lastBuildDate><atom:link href="https://yeri.be/tag/battery/index.xml" rel="self" type="application/rss+xml"/><item><title>Display iPhone battery status in percent</title><link>https://yeri.be/display-iphone-battery-status-in-procent/</link><pubDate>Fri, 31 Jul 2009 01:55:18 +0200</pubDate><author>Yeri Tiete</author><guid isPermaLink="true">https://yeri.be/display-iphone-battery-status-in-procent/</guid><description>&lt;p&gt;With the new firmware, you can now display your battery status in percent (%).&lt;/p&gt;
&lt;p&gt;For my iPhone 3G this came, out of the box, right after the update to 3.0. I could clearly see the 100% next to my battery icon.&lt;/p&gt;
&lt;p&gt;But yes, I did have my iPhone jailbroken before I upgraded.&lt;/p&gt;
&lt;p&gt;Now, appearantly, this feature is only available for iPhone 3GS, and not iPhone 3G and iPhone 2G, though, it is possible using e.g. Bossprefs. Lame from Apple !&lt;/p&gt;
&lt;p&gt;Anyhow, after some Googling, I came to the conclusion:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;iPhones that used to be jailbroken will have the % displayed next to the battery icon.&lt;/li&gt;
&lt;li&gt;Regular iPhone 2G and 3G will not have the switch in "Settings &amp;gt; General &amp;gt; Usage", whereas 3GS will.&lt;/li&gt;
&lt;/ul&gt;
&lt;p style="text-align: center;"&gt;&lt;a href="https://static.yeri.be/2009/07/IMG_0003.PNG" target="_blank" rel="noopener"&gt;&lt;img class="alignnone size-medium wp-image-782" title="iPhone battery % status" src="https://static.yeri.be/2009/07/IMG_0003-200x300.PNG" alt="iPhone battery % status" width="200" height="300" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;I found a &lt;a href="http://iphone-oman.blogspot.com/2009/06/enable-battery-percentage-indicator-in.html" target="_blank" rel="noopener"&gt;cool workaround&lt;/a&gt; right here, although it requires you to jailbreak your iPhone.&lt;/p&gt;
&lt;p&gt;Don&amp;rsquo;t forget to install &amp;ldquo;openssh&amp;rdquo;  and &amp;ldquo;wget&amp;rdquo; or &amp;ldquo;lynx&amp;rdquo; (makes it a lot easier) using the Cydia package manager.&lt;/p&gt;
&lt;p&gt;I&amp;rsquo;ve hosted the plist file &lt;a href="https://static.yeri.be/2009/07/M68AP.plist" target="_blank" rel="noopener"&gt;right here&lt;/a&gt;, just in case it would go offline.&lt;/p&gt;
&lt;p&gt;Basicly, you have to add these 2 lines to the .plist:&lt;/p&gt;
&lt;pre&gt; &amp;lt;key&amp;gt;gas-gauge-battery&amp;lt;/key&amp;gt;
 &amp;lt;true/&amp;gt;&lt;/pre&gt;
&lt;p&gt;This works with the current iPhone version (3.0).&lt;/p&gt;</description><content:encoded><![CDATA[<p>With the new firmware, you can now display your battery status in percent (%).</p>
<p>For my iPhone 3G this came, out of the box, right after the update to 3.0. I could clearly see the 100% next to my battery icon.</p>
<p>But yes, I did have my iPhone jailbroken before I upgraded.</p>
<p>Now, appearantly, this feature is only available for iPhone 3GS, and not iPhone 3G and iPhone 2G, though, it is possible using e.g. Bossprefs. Lame from Apple !</p>
<p>Anyhow, after some Googling, I came to the conclusion:</p>
<ul>
<li>iPhones that used to be jailbroken will have the % displayed next to the battery icon.</li>
<li>Regular iPhone 2G and 3G will not have the switch in "Settings &gt; General &gt; Usage", whereas 3GS will.</li>
</ul>
<p style="text-align: center;"><a href="https://static.yeri.be/2009/07/IMG_0003.PNG" target="_blank" rel="noopener"><img class="alignnone size-medium wp-image-782" title="iPhone battery % status" src="https://static.yeri.be/2009/07/IMG_0003-200x300.PNG" alt="iPhone battery % status" width="200" height="300" /></a></p>
<p>I found a <a href="http://iphone-oman.blogspot.com/2009/06/enable-battery-percentage-indicator-in.html" target="_blank" rel="noopener">cool workaround</a> right here, although it requires you to jailbreak your iPhone.</p>
<p>Don&rsquo;t forget to install &ldquo;openssh&rdquo;  and &ldquo;wget&rdquo; or &ldquo;lynx&rdquo; (makes it a lot easier) using the Cydia package manager.</p>
<p>I&rsquo;ve hosted the plist file <a href="https://static.yeri.be/2009/07/M68AP.plist" target="_blank" rel="noopener">right here</a>, just in case it would go offline.</p>
<p>Basicly, you have to add these 2 lines to the .plist:</p>
<pre>   &lt;key&gt;gas-gauge-battery&lt;/key&gt;
   &lt;true/&gt;</pre>
<p>This works with the current iPhone version (3.0).</p>
<p>I&rsquo;ve copy pasted the howto, just in case. All credits go to the original poster.</p>
<ol>
    <li>First you need to Jailbreak your iPhone, use PwnageTool or Redsnow check the dev team blog.
<em>-&gt; and install openSSH, wget, lynx, and restart your iPhone to be sure.</em></li>
    <li> Download the M68AP.plist file from the link: <a href="http://www.4shared.com/file/113188452/9434236e/M68AP.html">http://www.4shared.com/file/113188452/9434236e/M68AP.html</a> <em>or from the link I've posted above</em>. <em>This is optional, see #5</em></li>
    <li>SSH into your iPhone. (Or use iPhoneBrowser 'look it up in google its right there!)
<em>-&gt; if this is first time you SSH to your iPhone it might take hell of a long time and even time out a few times. Due to the keys being generated. Use PuTTY or Terminal to ssh; command: ssh -l root &lt;iPhone IP&gt;</em>.<em> The default password is "alpine" (don't forget to change that with "passwd").</em></li>
    <li> Go to /System/Library/CoreServices/Springboard.app/</li>
    <li> Replace the M68AP.plist in the directory with the one you downloaded
<em>-&gt; you might aswell "mv M68AP.plist M68AP.plist.backup &amp;&amp; wget https://static.yeri.be/2009/07/M68AP.plist</em></li>
    <li> Restart you iphone.</li>
    <li> Now go to the application Settings -&gt; General -&gt; Usage and there will be a Battery Percentage toggle and you can use it to enable battery percentage next to battery icon in top-right corner.</li>
</ol>
<p>And that works !</p>]]></content:encoded><category>Software</category><category>battery</category><category>iPhone</category></item></channel></rss>