[Q] SGS - Battery status not updated normally - Galaxy S I9000 Q&A, Help & Troubleshooting

Hello everyone, this is my first post here.
I flashed leaked Gingerbread 2.3.5 (samfirmware.com) to my Galaxy S GT-I9000 two days ago. Then I customized battery status icons:
1. Extracted framework-res.apk and replaced icons with some nice Android icons I found here http://forum.xda-developers.com/showthread.php?p=13496547. I used Winrar to open the framework.
2. Then I copied my new framework to my phone.
The icons looked great, but they are not refreshed properly. The battery status went from 80% to 60%, then to 40% and finally to 20%. It is not a draining problem since it takes hours to go from one status to another.
I doubled checked icons in customized framework and thery are named correctly. Original framework had icons for every 5% and these new icons are for every 1%. Only difference I can see is that some of the new icons are 2KB in size, instead of 1KB, but this also applies for icons for 20%, 40%, 60%, 80%.
I have not calibrated battery yet, but I think that is not the problem.
I couldn't say this behaviour is the same with original framework, since battery icons do not show percentage in that case.
Do you think it is a problem with this "official" leaked buenROM ?
Thanks in advance for any help.

Well, I restored original framework and the behaviour is the same with default battery status. It must be something in the ROM.

Related

Battery display in status bar

Is there anyway to just change that without having to install a whole different rom? Thanks!
What do you mean?
I was wondering something similar (i think), that would put a percentage on the already existing battery meter. Much like the battery status app that you can download off the market.
Is that what you mean?
The battery would always be there. If you want something like a percentage then you would have to download an app from the market but the original battery will always be there.
He wants there to be a different battery color or design or something, am I correct? To find the answer to the question I would ask one of the many theme devs, they're the one's that would most likely know something about this.
You can change the battery icon in the status bar by editting the framework\res\drawable battery icons. There are only 7 of them tho, so putting in a percentage wouldn't really be feasible. You can do it, but the icons are set by the system to change only at certain intervals. They are:
100%
80%
60%
40%
20%
10%
0%
You can change the icons for each of the listed percentages. Or you could make it a written percentage in 20% increments.
the rom/theme I am using has the regular horizontal battery meter, but I like the round one and was wondering if there was any easy way of just changing that
Change the images in the framework\res\drawables.

Battery Percentage on Froyo

Anyone know how to get the battery percentage to show in the battery icon in Froyo? Thanks.
moved to Q&A
cant happen until froyo source is out.
You can, but not perfect
I too wanted the percentage in the battery. In the development thread you'll see that the phoenrom has it included in the rom. I ended up making my own custom rom with the kitchen made by dsixda just to get that damn percentage in the battery icon! Its also not a very accurate measurer of percentage as it only works in percentages of 10(40,50,60etc). I still like it though.
Now that the source is out,
I tried to apply the bat. %, but failed.
I edited the xml to link to the pngs from 0 to 100.
I edited the PNGs.
Compilation warns me about bad pngs and when I reboot, the framework is totally messed up or even worst, as I unlock my phone, it just reboots...
Any help on how to do this?
I use Battery Widget (free). Takes up one icon space on your home screen (shows battery percentage in 1% increments), also allows quick toggling of Wifi/GPS/Bluetooth, and access to Screen settings.
RashaMatt said:
I use Battery Widget (free). Takes up one icon space on your home screen (shows battery percentage in 1% increments), also allows quick toggling of Wifi/GPS/Bluetooth, and access to Screen settings.
Click to expand...
Click to collapse
You know it has been released, no?
Check to forum: a simple jar to push

Metamorph problem.

Hey everyone, how's it going.
Lately I've been having some problems with metamorph installed on my mytouch 3G running cyanogen mod 6.1.0. For some odd reason it says that everything has been applied but nothing is ever applied, any reason why it's doing this?
Bumpppppppppppp.
Androidfanatic2 said:
Hey everyone, how's it going.
Lately I've been having some problems with metamorph installed on my mytouch 3G running cyanogen mod 6.1.0. For some odd reason it says that everything has been applied but nothing is ever applied, any reason why it's doing this?
Click to expand...
Click to collapse
it could be a few reasons.. if your phone is utilizing the drawable-mdpi folder instead of the HDPI (low/high res) then it will think it's been applied but it won't change.. also if the cm version on that phone isn't deodexed then some mm themes won't change anything...or if that cm has options for custom stuff, you might have to enable/disable those settings.... what are you trying to theme anyway?
I'm having the same problem on my N1 with CM6.1.1
Metamorph goes though everything and prompts me to restart to apply the changes but nothing is changed. I am trying to change icons in the status bar, on one occasion the battery icon changed but then changed its self back a few seconds later.
I am new to metamorph and already have a custom theme installed by flashing in recovery... could this be causing this problem?
Cheers people
Depending on where you got the icons for the top statusbar, some phones use the drawable-hdpi folder and some use the drawable-mdpi one... if you got an icon set meant for one, but your phone uses the other, it won't change anything..even if mm says all themes applied... typically already having a custom theme won't affect metamorph tho.. if you can't figure it out, link the icon set you are trying to apply and I'll look at it for ya.. on the battery issue, some roms read in 1%, 10% or even just 20% increments so if you have a battery icon you apply that is only set up for 20% readings but your ROM reads in 10%, the battery will switch back and forth as those increments are hit...
Yep your right, i had a batt icon that went up in 1% and the new one only in 20% so i at the 20% increments i have the new icon and for every other percent i have the old one! I've tried changing the wifi and signal icons and these have both been fine! Thanx alot mate!
You dont happen to know where i can get loads of different icons from do ya? I wanna try loads out now! haha.
Edit* Also if i want to keep a battery icon that only goes up in 20% increments how do i stop the other icon coming through for the other percentages? Cheers!

[Q] Battery icons problem

Hi, i just change my battery icons on my sgs but theres a little problem... There's a pictures for every percentage but it only show me every 10% (100%-90%-80%...). Is there a little files that i can change to be able to see every percentage or i need to install a theme or something else then i will be able to update with the icons I want?
Thanks
I use https://market.android.com/details?...51bGwsMSwxLDEsImNvbS5sYXJyeXZncy5iYXR0ZXJ5Il0. for that purpose. It's one more incon in the notification bar but it gets the job done without the need of rooting the phone.
mods
is there any battery mod for ics?????

Modding the HtcPowerManager SMALI help needed

I've noticed that the stock battery for Sense 5 turns yellow at 20% (ok) but red at 8%(random).
I've figured out how to mod the SystemUI apk to change it so that the battery turns red w/ 10% left but I can't figure out how to change the HtcPowerManager apk to reflect the changes in the large battery widget.
I know how to change it's color (by modding the drawable.xml file) but I can't change the number of bars left at 10% there are 2 instead of 1 at 10% and 9% (again, it oddly changes at 8%) even tho each bar represents 10% of the battery level.
I'm assuming it has to do with smali (java) but I can't isolate the code.
Anyone want to help me "fix" this?
Sent from my HTC One using xda app-developers app

Categories

Resources