Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
Post Reply

[APP] Enable Battery Percentage (Android 4.4) [NO ROOT]

OP kroegerama

7th November 2013, 07:59 PM   |  #1  
OP Member
Flag Dortmund, Germany
Thanks Meter: 343
 
61 posts
Join Date:Joined: Oct 2009
More
Just install my App and click on "Enable Battery Percent". Then reboot. You can uninstall the App afterwards. The setting will remain

You can only see the battery percent text, if the battery is empty enough. (White text on white battery!)

FAQ:
Do I need a rooted device?
No, should work on any 4.4+ device

Can you change the text-color?
Sorry, this is impossible with a simple app like this one, because the color is hard-coded in SystemUI.apk. You need to decompile that apk, edit one line of source code and then recompile it. Actually, I don't plan to do this, because I don't like to change system-apps. Also, the OTA-Updates from google would fail after that and it would require root.

After removing the app the percentage is still there.
That's because the app changes a system setting. The app does NOT display the battery itself!

I uninstalled the App. Now I want to disable the percent display.
Ok, just install the App again, uncheck the setting and uninstall it.


Current Version: 1.1 (b11)


Changelog:
1.1 (b11)
  • Hungarian (by @Davidsolo)
  • Credits to all translators (see Menu)
  • Added System-Info (see Menu)
1.0 (b10)1.0.8
  • Added Georgian (by @giokaxo)
  • Added Portuguese-Portugal (by @xonaecom)
  • Fixed French
  • Fixed Hebrew
1.0.7
  • Added Catalan (by Pere P.)
  • Added French (by Nicolas B.)
1.0.6
  • Added slovenian (by Tadej R.)
  • Added hebrew (by Tom G.)
  • Added polish (by MK)
  • Added japanese (by @xgaboard)
  • Fixed portuguese-brazil
1.0.5
  • Fixed italian translation
  • Added spanish translation (by @JoseBerga)
  • Added portuguese-brazil translation (by @marcosdemori)
  • Added korean translation (by @xgaboard)
1.0.4
  • Added dutch translation (by @joris454)
  • Added arabic translation
  • Changed app icon
1.0.3
  • Added italian translation (by @gpvecchi)
1.0.2
  • Added Translations:
  • Added full FAQ
  • Reduced application size
1.0.1
  • changed the two buttons to one checkbox


Screen shots:
49 percent:
Click image for larger version

Name:	percent-49.png
Views:	26549
Size:	91.2 KB
ID:	2377937
39 percent:
Click image for larger version

Name:	percent-39.png
Views:	21796
Size:	90.0 KB
ID:	2377936
28 percent:
Click image for larger version

Name:	percent-28.png
Views:	21390
Size:	24.3 KB
ID:	2377960

Want to help me translate?:
Just translate this file and send it to me: strings-en.zip

This app is available in the Play Store:
If you want an easy way to install this app, SEE HERE

Attached Files
File Type: apk battery.percent.1.1.b11.apk - [Click for QR Code] (83.5 KB, 34926 views)
Last edited by kroegerama; 22nd October 2014 at 02:14 PM.
The Following 312 Users Say Thank You to kroegerama For This Useful Post: [ View ]
7th November 2013, 08:05 PM   |  #2  
ifti_a's Avatar
Senior Member
Flag London
Thanks Meter: 153
 
1,318 posts
Join Date:Joined: Apr 2010
More
Sounds good, screen shots would be good

Sent from my Nexus 5 using Tapatalk
7th November 2013, 08:06 PM   |  #3  
Member
Thanks Meter: 1
 
60 posts
Join Date:Joined: Jan 2011
Hey great work!
Not possible to change the hex value to zero for black text ?

Thank you though for the good work!
The Following User Says Thank You to nikolaus2007 For This Useful Post: [ View ]
7th November 2013, 08:09 PM   |  #4  
mjs2011's Avatar
Senior Member
Thanks Meter: 1,716
 
4,373 posts
Join Date:Joined: May 2011
I'm assuming you probably have to be rooted, correct?
7th November 2013, 08:12 PM   |  #5  
OP Member
Flag Dortmund, Germany
Thanks Meter: 343
 
61 posts
Join Date:Joined: Oct 2009
More
Quote:
Originally Posted by nikolaus2007

Not possible to change the hex value to zero for black text ?

Sorry, this will be only possible, if we decompile the system-app, change this value and recompile it again. This is much more work, as you have to change an entire system application.
My app only changes one hidden setting, which will in no way affect any part of the system. Also, it should work for non-rooted devices too...
The Following User Says Thank You to kroegerama For This Useful Post: [ View ]
7th November 2013, 08:13 PM   |  #6  
OP Member
Flag Dortmund, Germany
Thanks Meter: 343
 
61 posts
Join Date:Joined: Oct 2009
More
Quote:
Originally Posted by mjs2011

I'm assuming you probably have to be rooted, correct?

I don't think so, just try it
The Following User Says Thank You to kroegerama For This Useful Post: [ View ]
7th November 2013, 08:31 PM   |  #7  
mjs2011's Avatar
Senior Member
Thanks Meter: 1,716
 
4,373 posts
Join Date:Joined: May 2011
Quote:
Originally Posted by kroegerama

I don't think so, just try it

Looks like you do have to be rooted. Mine didn't change after a reboot.
7th November 2013, 08:33 PM   |  #8  
OP Member
Flag Dortmund, Germany
Thanks Meter: 343
 
61 posts
Join Date:Joined: Oct 2009
More
Quote:
Originally Posted by mjs2011

Looks like you do have to be rooted. Mine didn't change after a reboot.

If you tap multiple times on "Enable Battery Percent". Does it say "Setting already set"?
The Following User Says Thank You to kroegerama For This Useful Post: [ View ]
7th November 2013, 08:33 PM   |  #9  
ridobe's Avatar
Senior Member
Carmel, In.
Thanks Meter: 77
 
509 posts
Join Date:Joined: Dec 2010
More
Quote:
Originally Posted by mjs2011

Looks like you do have to be rooted. Mine didn't change after a reboot.

Lol. How full is your battery?

Sent from my Nexus 5 using Tapatalk
7th November 2013, 08:41 PM   |  #10  
mjs2011's Avatar
Senior Member
Thanks Meter: 1,716
 
4,373 posts
Join Date:Joined: May 2011
Oh, could that be the problem? I'm at 82%. But if it's white on white it obviously won't show up.

The Following User Says Thank You to mjs2011 For This Useful Post: [ View ]
Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes