Battery percentage - Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A

Hi there,
is there a way of getting the percentage of the battery-power in the status bar? My xperia mini is rooted, is it possible without flashing a whole (modded) firmware? I would be very happy If somebody could explain me how/ show me the necessary files, or give me some hint ...
thx,
Thorsten

Use Battery Indicator App from the Market!

Quicker Free
there are little adv space in the bottom, but it allows you to have almost all needed switchers (including spot light from led) .

Thanks a lot!
But what I am looking for is that I can only cat the percentage next to the original Battery symbol. Like it is in Cyanogenmod ...
Any suggestions?
Thorsten

if you have CWM then you can use Kitchen and change anything like showing battery Percentage.
Guide for using UOT Kitchen is Here: http://forum.xda-developers.com/showthread.php?t=1349048

Yeah, this modding tool rocks!
I managed it without clockwork recovery, just by exchanging the framework-res.apk file on the phone with the one created by UOTK. I uploaded the new package file via adb. If anybody is interested in details, wants to have some support you are kindly invited to ask.
Now I have exactly what I want standard rom with the battery-icon with percentage, the rest is unchanged. Awesome!
Thanks a lot!
Thorsten

good to hear it i didn't use it without CWM though

Deleted
(wrong comment)

sorry to be off the topic since my question comes within battery topic i thought i will post it here.i
i noticed when my phone is charging after a while the green led comes on,which means if im not mistaken phone is charged however my lock screen shows 95% or 91% any reason y?
i rooted my phone also got recovery but using stock.

adamo86 said:
sorry to be off the topic since my question comes within battery topic i thought i will post it here.i
i noticed when my phone is charging after a while the green led comes on,which means if im not mistaken phone is charged however my lock screen shows 95% or 91% any reason y?
i rooted my phone also got recovery but using stock.
Click to expand...
Click to collapse
didn't have this problem.. do you use stock lock screen or some thing like GoLocker and WidgetLocker?

nimbold said:
didn't have this problem.. do you use stock lock screen or some thing like GoLocker and WidgetLocker?
Click to expand...
Click to collapse
i used stock it showed 95%
should i use battery caliberation from market

It's supposed to be like that.
The green LED simply means your phone is at least 90% charged.

i thought i just check the thread before i fix it via pc companion.looks like they have changed many things compared to old mini pro.but this is unusual.
o well thanks for posting or else it would of took me a few hours setting my phone up.

Thorsten,
Could you post the framework-res.apk that you made? I also want the % in the notification bar but if you already made one in kitchen no need for me to reinvent the wheel
Sent from my ST18a using XDA App

By the way is framework-res.apk device specific? I'm on am xperia ray so I suppose yours might not work for me if you are on a different xperia...
Sent from my ST18a using XDA App

Related

[MORPH] Vibrant Accurate Battery

We all know the battery icon on the Vibrant is subpar. It looks like you have much more battery than you actually do. The stock icons (10, 20, 40, 60, 80%) don't show their correct percentages.
I made this morph in hopes to fix that issue. I actually measured the available space in the icon and figured how much each percentage would be (10, 20, 40, 60, 80). Only issue I can see is I don't know at what percentages the phone changes icons (ie. 20% icon at actual 20% or another close percentage).
Also including a revert in case someone wants to go back to the stock icon.
(May include comparison screenshots if I can get them)
Accurate Battery
Stock Battery Revert
downloads not working...
DL links fixed.
Sorry.
Thank you so much!
Thank you!
Also, for those of you that don't want to have to morph, you could always download the battery watcher widget, which displays the percentage of battery remaining in a widget.
True. A lot of widgets will put a percentage up in the status bar. This is more for the OCD (no offense) people that can't stand having it be way off.
Sent from my Vibrant using XDA App
MINUS Stl said:
True. A lot of widgets will put a percentage up in the status bar. This is more for the OCD (no offense) people that can't stand having it be way off.
Sent from my Vibrant using XDA App
Click to expand...
Click to collapse
Well I'm far from ocd (
You should see my desk), but it is really annoying that what looks like 70%, is actually 40%
Sent from my Vibrant using XDA app
I have been trying to port over this battery from the captivate forums, as its super accurate (to the percentage). Anyone feel like trying? It involved 100 images and 3 xml files.
http://forum.xda-developers.com/showthread.php?t=755822
zimphishmonger said:
I have been trying to port over this battery from the captivate forums, as its super accurate (to the percentage). Anyone feel like trying? It involved 100 images and 3 xml files.
http://forum.xda-developers.com/showthread.php?t=755822
Click to expand...
Click to collapse
I can't make the orginal one work. The accurate battery I mean. It says applying but doesn't complete. How long does it normally take? Can you have more than one morph at a time? Did I miss something?
parmijo11 said:
I can't make the orginal one work. The accurate battery I mean. It says applying but doesn't complete. How long does it normally take? Can you have more than one morph at a time? Did I miss something?
Click to expand...
Click to collapse
I have posted a working one in zimphishmonger's thread test it out and leave me some feedback!
Posted here: http://forum.xda-developers.com/showthread.php?t=756441
parmijo11 said:
I can't make the orginal one work. The accurate battery I mean. It says applying but doesn't complete. How long does it normally take? Can you have more than one morph at a time? Did I miss something?
Click to expand...
Click to collapse
Make sure you have usb debugging enabled
zimphishmonger said:
I have been trying to port over this battery from the captivate forums, as its super accurate (to the percentage). Anyone feel like trying? It involved 100 images and 3 xml files.
http://forum.xda-developers.com/showthread.php?t=755822
Click to expand...
Click to collapse
There seems to be a link to a Vibrant version here.
Ooh, I like that circle battery indicator! I originally wanted to see about making more icons than just the 7, but wasn't how to implement it (I'm not a coder).
The vibrant version is here also: http://forum.xda-developers.com/showthread.php?t=756441
hurrpancakes said:
Make sure you have usb debugging enabled
Click to expand...
Click to collapse
Good call. That was the problem. It rebooted, will have wait a bit to see if it works. At 70% right now. Thanks

Issue in MrRusch's X10 2.1 battery mod

I found a issue in MrRusch's Reboot&Battery mods for X10 2.1. At 2% of battery stage, indicator at status bar show reboot icon instead 2%. Please, can someone fix it, because I prefer 2.1 2.0.B.0.1 more than 2.3.
Thanx in advance.
Regards, Zagor
zagorteney said:
I found a issue in MrRusch's Reboot&Battery mods for X10 2.1. At 2% of battery stage, indicator at status bar show reboot icon instead 2%. Please, can someone fix it, because I prefer 2.1 2.0.B.0.1 more than 2.3.
Thanx in advance.
Regards, Zagor
Click to expand...
Click to collapse
What?
How does "battery mods" QUESTION- something ages ago belong in Xperia X10 Android Development?
Sorry to be mean, but this is really pissing me off. Really wish i was a mod right now.
EDIT: And you joined the forum like 6 months before me. You should pm the modder himself if he even bothers to fix it.
I'm not offended at all. I've just noticed that issue and I assume that it is developers mistake. Because I'm using 2.1.B.0.1, I will be happy if someone fix it.
So. It's better for you and me that not to be pissed off. Better help instead, if you can and if not, shut down.
Regards, Zagor
zagorteney said:
I'm not offended at all. I've just noticed that issue and I assume that it is developers mistake. Because I'm using 2.1.B.0.1, I will be happy if someone fix it.
So. It's better for you and me that not to be pissed off. Better help instead, if you can and if not, shut down.
Regards, Zagor
Click to expand...
Click to collapse
well ur right in that its the developers fault however at the end of the day there is an option there to contact developer but really it should go in the themes n apps section because the battery images are classed as part of theming.
not flaming in any way.. hope you understand what we are trying to say.. thanx
Sent via xda using cyanogenZmod running Enigma v2.3 on Xperia x10
Thank you very much Mr. Mobzter. I've allready send two private message to developer, but he didn' answer me. Because I suppose, that is not such thing to fix it (offcourse for you devs) i will try on themes tread.
Thnx again.
Regards, Zagor
zagorteney said:
And if this is for XPERIA X10 Themes and Apps thread, please notice me and I will start there. Regards, Zagor
Click to expand...
Click to collapse
Is there anything else you can use apart from that battery mod?
Dear Mr. Prodigy!
Unfortunately, all roms is using MrRusch's mod.
Regards, Zagor
zagorteney said:
I found a issue in MrRusch's Reboot&Battery mods for X10 2.1. At 2% of battery stage, indicator at status bar show reboot icon instead 2%. Please, can someone fix it, because I prefer 2.1 2.0.B.0.1 more than 2.3.
Thanx in advance.
Regards, Zagor
Click to expand...
Click to collapse
At least you should have posted it in the right place and/or read the hole post from MrRusch, this is a known issue since FEBRUARY, and worst of all is resolved since MARCH.
sierratango88 said:
Hello MrRusch,
Unfortunately I found a small error in your stat_sys_battery.xml for firmware .435, in which has the drawable reboot.png image in place of the 2% battery image. The xml entry currently reads as:
<item android:drawable="@drawable/reboot" android:maxLevel="2" />
On your phone you should notice your battery turn into a reboot symbol once it reaches 2% charge.
Click to expand...
Click to collapse
Please look here: http://forum.xda-developers.com/showthread.php?t=836942&page=15
subhankar.ds said:
Here is the corrected .xml file..plz download the attachment...
Click to expand...
Click to collapse
And yes, I know that this is not for the same firmware you have problems with, but the xml editing applies too.
But dude, why do you let your battery get to 2%? I had this issue too, but I didn't care since I rarely discharge my phone's battery to that level.

[MOD] Battery mod 4.0.2.A.0.62

I have made a battery mod using UOT that looks mostly like stock battery indicator so please here you go by putting on your /sdcard and flash using CMW
how did you do this i try many times but allways it gives error which framework-res.apk did you use?
Will this work on .42?
mo22i said:
Will this work on .42?
Click to expand...
Click to collapse
+1 ?
Sent from my ST18i using XDA
THANKS!!! and a little request
masi0 said:
I have made a battery mod using UOT that looks mostly like stock battery indicator so please here you go by putting on your /sdcard and flash using CMW
Click to expand...
Click to collapse
Great!!! I have been looking for an indicator like this for a long time. Unfortunately I can hit your thanks button only once .
All apps I've seen so far put the battery indicator on the left site, or on top of the original one (however, then it is not moving along if another symbol appears, like the alarm sign). I even tried to rip it out of the HYBROM, but I didn't understand where it was.
One request: can you make it a little bit higher? There are a few pixels under and above the battery indicator, so it might be a little bigger. My eyes, you know, I'm getting old...

HTC Style battery indicator w/Percentage - Post #6

Title says it all. I hate the battery bar. I wish I knew how to do it myself.
I contacted the guy who posted this theme http://forum.xda-developers.com/showthread.php?t=1366170&highlight=ics+zip the ics.zip
I wouldn't mind trying to port it over myself, I've actually been trying to figure out how the last few hours.. but I would love that theme. Mainly for the battery icon. But also for a little more ICS look.
Working on a stock-looking HTC Style battery with percentage right now. Was thinking this today when I looked at my phone and said to myself.. "I wonder where my battery is really at?"
Getting ready to install it now. Once I finish testing, if all goes well, I'll post it in a few minutes.
dharvey4651 said:
Working on a stock-looking HTC Style battery with percentage right now. Was thinking this today when I looked at my phone and said to myself.. "I wonder where my battery is really at?"
Click to expand...
Click to collapse
I was gonna contact the guy who made the caprombeta rom, he had battery % showing in his.. since he had his rom out so quick I imagine he must have had a quick and dirty method he could share.
I've seen a lot of people griping about the lack of an ICS look so I was considering using this thread that has a tool to port themes with the ICS.zip attached to that link I posted earlier.. it is supposed to put it into any rom(and looking at the batch file it doesn't need a whole rom, just what needs to be flashed). I would probably have it done already but I'm on my mac, and too lazy to sit at the desktop
Well here's mine. Nothing changed over stock theme except I added the percentage to the battery icon.
Also has smooth charging animations instead of the standard choppy ones and shows the current percentage between animation cycles while charging.
Used the UOT Kitchen to make it but replaced the battery images with my own. Hope you guys like it.
Just install in recovery.
Smexy background by the way
Sent From HTC Amaze Speed Rom 2.0.0 ICS Sensless Alpha 1
You da man! Thank you, was so sick of guessing what % I had left after only running it 24 hours. Works great.
dharvey4651 said:
Well here's mine. Nothing changed over stock theme except I added the percentage to the battery icon.
Also has smooth charging animations instead of the standard choppy ones and shows the current percentage between animation cycles while charging.
Used the UOT Kitchen to make it but replaced the battery images with my own. Hope you guys like it.
Just install in recovery.
Click to expand...
Click to collapse
I was playing with UOT earlier, how did you use your own icons? I was looking for that for a WHILE..
EclipzeRemix said:
Smexy background by the way
Sent From HTC Amaze Speed Rom 2.0.0 ICS Sensless Alpha 1
Click to expand...
Click to collapse
Attached. Just extract it from the rar. When you upload a pic as an attachment, it compresses it to a different resolution.
Silentbtdeadly said:
I was playing with UOT earlier, how did you use your own icons? I was looking for that for a WHILE..
Click to expand...
Click to collapse
It's not a feature directly implemented into the UOT Kitchen.
After the kitchen is done and you download your zip, extract the framework-res.apk from the zip.
Extract the "res" folder from the framework-res.apk and look for the directory "drawable-hdpi". In there you will find 206 images related to the battery. I replaced them all with images that matched HTC's stock battery but including percentage.
After you replace all the images to look how you want, just replace the res folder inside framework-res.apk and replace the one in the zip.
dharvey4651 said:
Well here's mine. Nothing changed over stock theme except I added the percentage to the battery icon.
Also has smooth charging animations instead of the standard choppy ones and shows the current percentage between animation cycles while charging.
Used the UOT Kitchen to make it but replaced the battery images with my own. Hope you guys like it.
Just install in recovery.
Click to expand...
Click to collapse
did you have to wipe /cache before you installed this?
mrmako777 said:
did you have to wipe /cache before you installed this?
Click to expand...
Click to collapse
Nope. Just install, reboot and enjoy.
dharvey4651 said:
Nope. Just install, reboot and enjoy.
Click to expand...
Click to collapse
I did and I am! Thank you again.
dharvey4651 said:
Attached. Just extract it from the rar. When you upload a pic as an attachment, it compresses it to a different resolution.
It's not a feature directly implemented into the UOT Kitchen.
After the kitchen is done and you download your zip, extract the framework-res.apk from the zip.
Extract the "res" folder from the framework-res.apk and look for the directory "drawable-hdpi". In there you will find 206 images related to the battery. I replaced them all with images that matched HTC's stock battery but including percentage.
After you replace all the images to look how you want, just replace the res folder inside framework-res.apk and replace the one in the zip.
Click to expand...
Click to collapse
I got a critical error, all I needed was framework-res.apk, SystemUI.apk and com.htc.resources.apk right? So I'm wondering if we don't have a MTD update binary(I didn't think we have emmc) or if I remember right that I am supposed to recompile or sign the apk or something..
Sigh, I had it all done too
Works great.
Was hoping to use this one -
http://forum.xda-developers.com/showthread.php?t=1620376
But couldn't because I'm running this theme -
http://forum.xda-developers.com/showthread.php?t=1620331
And the update file for it still included all the other (unaltered) images which resulted in the file overwriting all the altered images from the theme lol.
Thankfully this one was put together sans all the unaltered images so it works with the theme just fine. Thanks =)
Sent from my HTC_Amaze_4G using xda premium
Is there any way I can revert back to the original battery the percentage stops at 27 until my phone is almost dead
Sent from my HTC_Amaze_4G using xda premium
sdizzy101 said:
Is there any way I can revert back to the original battery the percentage stops at 27 until my phone is almost dead
Sent from my HTC_Amaze_4G using xda premium
Click to expand...
Click to collapse
Same thing here...except mine went something like this 27>26>30>28>26 but the system says my battery is 22. Is anyone else having this issue? Using dharveys battery mod
sdizzy101 said:
Is there any way I can revert back to the original battery the percentage stops at 27 until my phone is almost dead
Sent from my HTC_Amaze_4G using xda premium
Click to expand...
Click to collapse
mrmako777 said:
Same thing here...except mine went something like this 27>26>30>28>26 but the system says my battery is 22. Is anyone else having this issue? Using dharveys battery mod
Click to expand...
Click to collapse
That's really strange because I haven't noticed that problem. After I first installed ARHD, I noticed my battery percent in the status bar would be 2% high from the battery percent displayed in the unlock screen while unlocking.
After about 2 charge cycles and wiping the battery stats once that normalized and now I have excellent battery life and it's extremely accurate.
Sent from my HTC Amaze 4G using XDA Premium App.
dharvey4651 said:
That's really strange because I haven't noticed that problem. After I first installed ARHD, I noticed my battery percent in the status bar would be 2% high from the battery percent displayed in the unlock screen while unlocking.
After about 2 charge cycles and wiping the battery stats once that normalized and now I have excellent battery life and it's extremely accurate.
Sent from my HTC Amaze 4G using XDA Premium App.
Click to expand...
Click to collapse
Right now its 2 above the system. Ill try a few cycles and see what happens and ill report back.
dharvey4651 said:
Well here's mine. Nothing changed over stock theme except I added the percentage to the battery icon.
Also has smooth charging animations instead of the standard choppy ones and shows the current percentage between animation cycles while charging.
Used the UOT Kitchen to make it but replaced the battery images with my own. Hope you guys like it.
Just install in recovery.
Click to expand...
Click to collapse
Thanks for that! Super handy, especially since you can see the %age from the lock screen (why wouldn't google/htc build that in??).
One note though - using it today and it reported 9% remaining within the battery icon, but 7% through other means. Not a huge deal, but thought I'd let you know.
Massiv.

[Q] Problem with energy rom ( energy tweaks )

Hi all
Yesterday i flashed energy rom in my htc amaze but due to some reasons I moved to speed rom now my phone is stuck into the energy twikes . I have flashed it again but same . And i think there is nothing much change in my phone system eg. Battery is responding same. Plz give me some idea how can i get over energy twikes as it not letting me to change the status bas settings.
Did you Wipe All before flashing?
Saanus1 said:
Hi all
Yesterday i flashed energy rom in my htc amaze but due to some reasons I moved to speed rom now my phone is stuck into the energy twikes . I have flashed it again but same . And i think there is nothing much change in my phone system eg. Battery is responding same. Plz give me some idea how can i get over energy twikes as it not letting me to change the status bas settings.
Click to expand...
Click to collapse
You need to wipe before flashing any rom. Also you need to reboot manually after choosing your tweaks, not from the app.
Sent from my HTC_Amaze_4G using Tapatalk 2
Amaz + ing problems.
SuperAfnan said:
You need to wipe before flashing any rom. Also you need to reboot manually after choosing your tweaks, not from the app.
Sent from my HTC_Amaze_4G using Tapatalk 2
Click to expand...
Click to collapse
Thanks but Now I m suffering from continuous rendom reboots & battery icon got grey in colour after reboots . If u hv any solution for that plz tell me.
Thanks in advance for this.........
Saanus1 said:
Thanks but Now I m suffering from continuous random reboots & battery icon got grey in colour after reboots . If u have any solution for that plz tell me.
Thanks in advance for this.........
Click to expand...
Click to collapse
Random reboots? Did the tweaks app mess something up?
I can't think of anything besides removing the battery then powering on.
The other option is to re flash the rom or i hope you have a nandroid.
When you use those tweaks you gotta be careful man it's like running across the street. Don't tweak it so much it might break something in the rom. That's why nandroids are your friend.
Sent from my HTC_Amaze_4G using Tapatalk 2
Hi again
I m currently using stock but deodexed rom before this i was on stock ruu rom too, but I think problem is still there. I did a battery calibration last night and didnt got any reboot yet, but when i rebooted my phone for doing something it shows grey battery icon. So I was curious to know about that. Anyways thanks for helping me.
Can you tell me how to change battery icon in the status bar. I used romtoolbox for that but its not working till now.
Saanus1 said:
Hi again
I m currently using stock but deodexed rom before this i was on stock ruu rom too, but I think problem is still there. I did a battery calibration last night and didnt got any reboot yet, but when i rebooted my phone for doing something it shows grey battery icon. So I was curious to know about that. Anyways thanks for helping me.
Can you tell me how to change battery icon in the status bar. I used romtoolbox for that but its not working till now.
Click to expand...
Click to collapse
When you flashed any rom, did you fully wipe? Aka format all partitions. This prevents almost all error while flashing.
I'm not sure why you have a grey battery icon.
Do you mean it happens in every rom you use? I think I know what's wrong. You may have a defective battery. You can buy a battery on ebay for cheap.
I'm not sure what's happening here or what you are fully saying but that might be it, a bad battery is causing your problems.
Sent from my HTC_Amaze_4G using Tapatalk 2
Youll have to flash the rom youre using again or flash a nandroid backup.
SuperAfnan said:
When you flashed any rom, did you fully wipe? Aka format all partitions. This prevents almost all error while flashing.
I'm not sure why you have a grey battery icon.
Do you mean it happens in every rom you use? I think I know what's wrong. You may have a defective battery. You can buy a battery on ebay for cheap.
I'm not sure what's happening here or what you are fully saying but that might be it, a bad battery is causing your problems.
Sent from my HTC_Amaze_4G using Tapatalk 2
Click to expand...
Click to collapse
Yes In last 10 days I used 4 roms & after ARHD I got this problem . Then I flashed stock ruu and deodexed rom too but still facing the problem.
& about battery ..... I think my battery is ok. Its something else. I used super wipe when I flashed stock rom. So I m looking into it and will reply if something +ve happens.
Thanks.
Does the Grey battery icon have an exclamation point in it? If it does its a problem with the battery. Can u take a screen shot and post it.
aj_2423 said:
Does the Grey battery icon have an exclamation point in it? If it does its a problem with the battery. Can u take a screen shot and post it.
Click to expand...
Click to collapse
Yes it has the sign . I will try to take the screen shot if it does again.
Saanus1 said:
Yes it has the sign . I will try to take the screen shot if it does again.
Click to expand...
Click to collapse
Friends I think my phone is ok now. No reboots observed from last 3 days.

Categories

Resources