Introducing XDA:DevCon – A Conference For Developers By Developers
XDA Developers Android and Mobile Development Forum
Forgot your password?
 
Post Reply+
Tip us?
 
emprize
Old
#1  
emprize's Avatar
Senior Member - OP
Thanks Meter 104
Posts: 1,104
Join Date: Jan 2007

 
DONATE TO ME
Default can we show battery% on default?

just have a look the systemUI.apk and found out that there have 100 png with different percentage of battery icon, can we make the status bar battery icon shows percentages?
 
chrisrotolo
Old
#2  
Senior Member
Thanks Meter 403
Posts: 1,710
Join Date: Nov 2010
Location: Hartford, Connecticut

 
DONATE TO ME
I have 7.0 plus. I used UOT Kitchen, which worked but images were too small. had to find a custom set with larger batteries and copy them over. It worked, now shows % in system panel pop up as well.
 
mickliq
Old
#3  
mickliq's Avatar
Senior Member
Thanks Meter 42
Posts: 559
Join Date: Jan 2008
Location: Montreal
If you don't mind having an extra icon in your status bar, download Battery Circle from the Market. Of course once we have custom ROM's you won't need this anymore, but for the moment, it's the next best thing.
Current Devices:

Fido Galaxy S4 i337m | 16GB + 64GB Micro SD | Sapphire | stock rooted | no CWM yet!
HTC One X+ | Black | N. American LTE | 64GB | Elegancia 4.8.0 (JB 4.1.1)
MacBook Air 2012 i7 2.0Ghz | 512GB SSD | Thunderbolt display
iPad Mini 32GB Wi-Fi

 
freaksamael
Old
(Last edited by freaksamael; 23rd March 2013 at 09:08 PM.)
#4  
freaksamael's Avatar
Senior Member
Thanks Meter 106
Posts: 229
Join Date: Apr 2008
Location: Bucharest
All battery PNGs are in "framework-res.apk\res\drawable-mdpi" and are named as "stat_sys_battery_XX.png" and "stat_sys_battery_charge_animXX.png"

from my previous experience in modding framework-res and systemUI the procedure will be like that:
- mod via UOTkitchen the 2 files (with 100 set of icons - incl. charging)
- edit resultant apk's by replacing PNGs with the new desired ones (check also attached zip) - must be 32X32 pixels (should be resized and orientated)
- make a flash-able zip.
- apply in CWM.

Could work, depends on UOT .
 
emprize
Old
#5  
emprize's Avatar
Senior Member - OP
Thanks Meter 104
Posts: 1,104
Join Date: Jan 2007

 
DONATE TO ME
Quote:
Originally Posted by freaksamael View Post
All battery PNGs are in "framework-res.apk\res\drawable-mdpi" and are named as "stat_sys_battery_XX.png" and "stat_sys_battery_charge_animXX.png"

from my previous experience in modding framework-res and systemUI the procedure will be like that:
- mod via UOTkitchen the 2 files (with 100 set of icons - incl. charging)
- edit resultant apk's by replacing PNGs with the new desired ones (check also attached zip) - must be 16X32 pixels (should be resized and orientated)
- make a flash-able zip.
- apply in CWM.

Could work, depends on UOT .
thx but lol, look at the percentages
Attached Thumbnails
Click image for larger version

Name:	capture_02.jpg
Views:	277
Size:	48.4 KB
ID:	902881  
 
freaksamael
Old
(Last edited by freaksamael; 5th March 2012 at 08:23 PM.)
#6  
freaksamael's Avatar
Senior Member
Thanks Meter 106
Posts: 229
Join Date: Apr 2008
Location: Bucharest
Quote:
Originally Posted by emprize View Post
thx but lol, look at the percentages
must be 32X32 pixels (should be resized and orientated)
The Following User Says Thank You to freaksamael For This Useful Post: [ Click to Expand ]
 
emprize
Old
#7  
emprize's Avatar
Senior Member - OP
Thanks Meter 104
Posts: 1,104
Join Date: Jan 2007

 
DONATE TO ME
Quote:
Originally Posted by freaksamael View Post
must be 16X32 pixels (should be resized and orientated)
thx again, but i dont know, just.....weird, lol
Attached Thumbnails
Click image for larger version

Name:	capture_04.jpg
Views:	149
Size:	131.0 KB
ID:	902916  
 
freaksamael
Old
#8  
freaksamael's Avatar
Senior Member
Thanks Meter 106
Posts: 229
Join Date: Apr 2008
Location: Bucharest
Quote:
Originally Posted by emprize View Post
thx again, but i dont know, just.....weird, lol
I'll try to find another icons set; pngs from attachment were used in HTC Desire S and are horizontally oriented (phone); maybe in other forums I'll find some tablet-specific icons.
 
emprize
Old
(Last edited by emprize; 16th February 2012 at 11:04 AM.)
#9  
emprize's Avatar
Senior Member - OP
Thanks Meter 104
Posts: 1,104
Join Date: Jan 2007

 
DONATE TO ME
Quote:
Originally Posted by freaksamael View Post
I'll try to find another icons set; pngs from attachment were used in HTC Desire S and are horizontally oriented (phone); maybe in other forums I'll find some tablet-specific icons.
tablet icon would be great, seems all UOT battery icons are 38x38

 
Post Reply+
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Go to top of page...

XDA PORTAL POSTS

Side-Swiping Multitasking with Kakudo

Recovering iPad users may still remember the multitasking function where you can swipe left or right to … more

Learn to Edit Graphics for your Development Work

The importance of good and appropriate graphics for your development work is undeniable. Be … more

Tasker Alternative: AutomateIt, Automates Your Device Tasks – XDA Developer TV

XDA Developer TV Producer Kevin wants to help make your … more

Preventing App Piracy: Join the Discussion

The topic of piracy is always a touchy subject, but I feel that the grass roots style of Android … more