[Q] Battery percentage display - Continuum General

Hey guys.
I've done my best to do lots of homework as I've slowly hacked my way into Continuum territory. I've spent a couple hours researching this and tried a couple zips and had to restore my phone.
Basically, I'm trying to get a percentage battery display instead of the battery icon in the top right notification bar, so I can see the battery level. I've looked at UOTKitchen, I even tried a Fascinate zip that did the same thing, but no dice.
Is there an easy way of doing this? I've been googling for a long time and can't find anything on this for the continuum specifically.
Thanks!
Let me add, I've rooted and flashed the Adrynaline DL17 clean ROM.

I got it working, I'll upload it later xP
Sent from my SCH-I400 using XDA Premium App

Don't mean to pester Trailblazer. Just wanted to make sure you were replying to this thread and not on another so I know where to search. Thanks.

Lmao, the percentage battery mod has been uploaded in the theme section for like a week xP lol go check it out
Sent from my SCH-I400 using XDA Premium App

Found it and applied the zip. Couple questions:
1) Looks like the GB theme contains the accurate battery mod. Is it possible to keep Adrynaline's clean DL17 ROM look and then apply the no clock and battery mods (and have the battery icon remain the standard blue)?
2) I've also seen a battery mod for Fascinate that has a circle with a meter on it, and the circle changes colors as the battery drains. Is this possible for the Continuum? If you google "samsung fascinate accurate battery life" several links come up with examples.
Thanks for your thoughts. Let me know how I can return the favor.

colbyman said:
Found it and applied the zip. Couple questions:
1) Looks like the GB theme contains the accurate battery mod. Is it possible to keep Adrynaline's clean DL17 ROM look and then apply the no clock and battery mods (and have the battery icon remain the standard blue)?
2) I've also seen a battery mod for Fascinate that has a circle with a meter on it, and the circle changes colors as the battery drains. Is this possible for the Continuum? If you google "samsung fascinate accurate battery life" several links come up with examples.
Thanks for your thoughts. Let me know how I can return the favor.
Click to expand...
Click to collapse
Yeah, I can create an accurate battery touchwiz theme... No Problem
I could do that too, i just personally think that's ugly If a lot of people want it (and will actually keep it! ) Then i will do it
and just stick with this phone, that's all i can ask
EDIT: Go check out my thread in the theme section Just for you

Applied the zip. At first it was working, but after charging last night, it's stuck on 100%?

hmm... That's kinda weird... If it worked before, it should continue to work!
I'll take a look though!

Couple things I noticed that may help. It seems to freeze at one number. So for a while it was at 100. Then 80, later at 35. I think they changed during reboots of the phone, but not during every reboot.
I applied the Touchwiz zip over the top of the GB theme. Should that work? Would I need to reflash the whole ROM and then apply?
THanks trailblazer!
EDIT: Watched it a bit closer today. It went from 100 to 80, then 65, when I woke up this morning it was 35...looking at the actual battery level though, those are only rough estimates. It seems like it is probably using the default Touchwiz battery levels, rather than the full accurate percentage.
Just to be sure, I flashed the clean ROM again. Still same issues.

Related

[Q] [REQ]Battery status from Captivate framework-res.apk

I'm just wondering if it's possible to somehow either rebuild the framework-res.apk with these images replaced. (I have absolutely no knowledge of apk signing)
Or even easier, if you could just replace the framework-res with the Captivate one.
I like the fact that it changes color based on the battery level, one of my few gripes with the Vibrant.
Someone needs to fix the fact that the battery meter shows 75% when you're at 40% ACTUAL battery.
advil0 said:
Someone needs to fix the fact that the battery meter shows 75% when you're at 40% ACTUAL battery.
Click to expand...
Click to collapse
That's always been a slight issue with Android devices in my experience. Maybe not quite so drastic though.
I just dislike that the battery indicator is blue from full to dead. Doesn't give much of a gauge for when you're getting too low.
The Captivate's is not like this, it shows orange and red at lower levels.
I also think it's unusual that the MMS notification is white on the Captivate and yellow on the Vibrant. Just one of those amusingly odd things I noticed.
Here ya go, just flash with clockwork, should work no problem
EDIT: Needs a little more work
chaoscentral said:
Here ya go, just flash with clockwork, should work no problem
EDIT: Needs a little more work
Click to expand...
Click to collapse
Definitely interested in this too, hope you sort it out.
cheers, =)
chaoscentral said:
Here ya go, just flash with clockwork, should work no problem
EDIT: Needs a little more work
Click to expand...
Click to collapse
Haha, didn't even see the original upload, but it's probably a good thing, reflashing back down to stock with Odin and getting back to my nandroid has become one of my least favorite passtimes. DX
there are themes that do this... flash the black bar mod from the themes... its the easiest way for you to change it...
if you want i can teach you how to do it yourself and send you everything you need to do it...
junkdruggler said:
there are themes that do this... flash the black bar mod from the themes... its the easiest way for you to change it...
if you want i can teach you how to do it yourself and send you everything you need to do it...
Click to expand...
Click to collapse
I only want to change the battery icon, and specifically to the Captivate version, I like having the blue battery icon when full, but I just want it to change at lower levels.
holysmokesbatty said:
I only want to change the battery icon, and specifically to the Captivate version, I like having the blue battery icon when full, but I just want it to change at lower levels.
Click to expand...
Click to collapse
ditto, exactly how I feel, until we get a CM5/6 or similar build that will display battery % in the status bar.
cheers, =)
+1 for this, or at least to have our battery icon read a little bit more accurately...
Just threw together a quick morph of the stock Vibrant battery icons. 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).
I've tested it to make sure the morph applies, but haven't fully tested to see how accurate the icons are (but my calculations were done/correct).
....and yes, I seriously did measure out each percentage.
MINUS Stl said:
Just threw together a quick morph of the stock Vibrant battery icons. 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).
I've tested it to make sure the morph applies, but haven't fully tested to see how accurate the icons are (but my calculations were done/correct).
....and yes, I seriously did measure out each percentage.
Click to expand...
Click to collapse
Dude! You win!
Well, sort of. That still didn't fix the colors. But I may be able to work with this.
I replaced the 10 and 20% images with those from the Captivate stock rom.
My battery hasn't made it that low, so I'm not sure if it worked.
But here's hoping.
Everything else about the morph is the same. I have no intentions of stealing thunder for your work. Nor do I know how to edit anything else within the zip.
Awesome! Thanks, would it be possible to get a revert file?
Paxtez said:
Awesome! Thanks, would it be possible to get a revert file?
Click to expand...
Click to collapse
You'll have to run that by someone with knowledge of how Metamorph works.
Like I said, I simply copy-pasted my way into getting the color changing battery icon. Also, I still haven't burned my battery low enough to know if it actually worked. XD
No problem, guys. If I had time last night, I would've grabbed the Captivate icons and used those. But it was late and the wife wanted to go to bed.
Revert would just need the stock icons pulled from the system dump and pasted in the file. If I have time I'll do that tonight......asking with another MM idea.
Sent from my SGH-T959 using XDA App
I'd love to do this, but I am hesitant to do so without being able to go back to stock if something goes wrong - without re-flashing my entire backup.
Has anyone had the time to come up with the stock replacement yet?
TimmyZBeach said:
I'd love to do this, but I am hesitant to do so without being able to go back to stock if something goes wrong - without re-flashing my entire backup.
Has anyone had the time to come up with the stock replacement yet?
Click to expand...
Click to collapse
You could just push the framework-res.apk back from a stock ROM image and reboot. That will put you back where you started. Not quite as easy as MetaMorph, but not really hard either.
Meant to work on a revert morph last night, but had other stuff going on. I'll do it tonight.
Revert morph for the battery icons.
*not tested, but just pasted stock icons into my other morph.

[Q] Battery Meter Issue Dell Streak

My battery meter does not seem to be working after I updated to 2.2. The only way to get an accurate reading is to take the battery out and put it back in. I have reset to factor settings, I have reloaded 2.2. I am wondering if anyone knows how I can fix - is there some driver that can be reinstalled.
Thanks
did you use the circle kitchen to make a new framework-res.apk? this will show you a percentage in the battery meter.
I can see the percentage. The problem is the meter is never right since the update. The battery physically stays charged all day, but after about 4 hours it shows 1%. If you take the battery out and put it back in and turn it on, it will show the correct amount. This goes on all day so I never have an accurate battery reading. I've run a couple of different battery apps and they say the battery is fine and in good health, so I am assuming there is something in the battery driver that got messed up with the update. I have restored a couple of times and that has not helped.
Any other ideas would be more than appreciated.
Thanks.
flash a custom recovery and from there you can clear the battery stats, maybe that'll fix it.
Sent from my Dell Streak using XDA App
fone_fanatic said:
flash a custom recovery and from there you can clear the battery stats, maybe that'll fix it.
Sent from my Dell Streak using XDA App
Click to expand...
Click to collapse
I thought about that, but it may be too complicated for me. I have been reviewing all the information in and it may be beyond by ability, but thanks so much for the replay.

Battery in 1% steps instead of 10%

Is it possible to get the battery steps in 1% steps instead of 10%?
Would be nice.
Search is your friend. But since I hate people who just say that, I will add:
Circle battery widget does.
I also think someone is working on a mod to change the default display, not sure if they have finished/were successful.
I think DG said it was a hardware issue not software so booooo.
Sent from my MB860 using XDA
Kueller said:
Search is your friend. But since I hate people who just say that, I will add:
Circle battery widget does.
I also think someone is working on a mod to change the default display, not sure if they have finished/were successful.
Click to expand...
Click to collapse
Circle Battery Widget FTW. Works great
live4nyy said:
Circle Battery Widget FTW. Works great
Click to expand...
Click to collapse
also a happy circle battery widget user, couldn't stand it in just 10%
I am working on an app that uses same method as circle battery widget. It will place the battery % in the notification bar similar to battery minder esk apps. It will NOT replace the stock one. Tho it is possible sooner or later.
I hope to have a beta out later today.
Sounds great!
A small icon in the status bar is much better than a big widget on the homescreen!
here u go, try this http://www.mediafire.com/?bx7w8kuhlfc8v7a
shouldnt have to many bugs lol, let me know what u think.
The time left in the drop down is still all jacked. I have shutdown time:-9:-50AM, hours left:-27.81 5:18PM
*I had a super Beta Beta version installed previously and i clean install followed by a reboot cleared this oddity out
jug6ernaut said:
here u go, try this http://www.mediafire.com/?bx7w8kuhlfc8v7a
shouldnt have to many bugs lol, let me know what u think.
Click to expand...
Click to collapse
I just installed it and it's working great, but as a future update do you think you can remove the small icon above the battery % number and enlarge the actual number so it is easier to read? Basically, make the % number fill up the status bar vertically. Let me know!
Damn u pauly lol, vinay, yes that is planed. I just did this as it was the easiest
Method to go with. A better method is planed.
Sent from my MB860 using XDA Premium App
I gave it some time. And rebooted. Seems to be doing much better now. Ill give it a day and report back.
*EDIT I ran my battery down to 2% and has a shutdown time 30 minutes earlier that the actual time. it was back to reporting -.29 hours. up to that point is was fairly accurate. it did adjust itself well the more i used it. Which is to be expected.
That is one reason am not too fond with "predictive life" it changes with stress. i can run it hard for an hour and show 2 hours left. then let it set for an hour and it shows 4 hours. so i pick it up and use it hard and it dies in an hour.
jug6ernaut said:
here u go, try this http://www.mediafire.com/?bx7w8kuhlfc8v7a
shouldnt have to many bugs lol, let me know what u think.
Click to expand...
Click to collapse
Do we have some screen shots of this in action? Thanks in advance, from the other thread too, hah
It works but it doesn't look nice and the entry in the notification bar isn't necessary in my eyes but maybe you can change that soon
Thanks!
any update on this app? is it possible to replace the stock battery icon?

[Guide] Calibrating battery

I found a guide somewhere on the internet on the best way to calibrate battery stats on a rooted device when I had my old hero and I use it a lot to this day so I decided to share the best way to do it here. If there is in fact a thread about this already in our forums I apologize but I could not find one. So here it is.
Step 1.
First and foremost charge the phone to 100%(Even if it says 100% wait about 5 minutes or so just be sure.)
Step 2.
Once it is at 100% go into data/system (using root explorer) and delete the batterystats.bin file there.
Step 3.
Unplug the charger and reboot to recovery, wipe cache and dalvik cache and wipe battery stats once more while you're there just to make sure they're gone.
Step 4.
Power the phone down and plug it back in. Charge it to 100% while it's off (the battery bar can be deceiving so even once it shows it's full give it five more minutes or so to be sure) and then power up.
*As a side note, if you are using stock kernel, or a kernel without the 100% battery mod then your only going to be at 96%. Thanks to Glennkaonang for reminding me of this.
Once it is booted to the OS you should now see that the battery bar is at 100%. (please note that when it's going through the "Android is upgrading" thing it can take 1 or 2% off the battery if you have lots of apps)
Final step.
Wait for the phone to die completely (to where it shuts off on its own) and let it charge to 100% while the phone is off and power it back up. Do this step at least two or three times.
After that you should have a fully calibrated battery and have no more messed up battery reporting.
Photo of my average battery life just for fun.
Everybody enjoy! If this helped you please hit thanks!
*Thanks to whoever it was that wrote this up in the first place. If I knew who it was I would give proper thanks.
Sent from my Nexus S 4G using xda premium
Unless my batt % reporting goes wonky between reboots, I don't ever wipe stats. It doesn't necessarily increase your battery life, but it does appear to fix incorrect reporting.
Sent from my Nexus S
Wipe batterystats and fix permissions working well after each kernel change but I will give a try.
GideonX said:
Unless my batt % reporting goes wonky between reboots, I don't ever wipe stats. It doesn't necessarily increase your battery life, but it does appear to fix incorrect reporting.
Sent from my Nexus S
Click to expand...
Click to collapse
I didn't think it would improve battery life either but it does. Maybe not a HUGE amount but it definitely does help a little. Plus it will give you the correct percentage rather than showing 100% when it's really only 95%. Lol. Anyways, to each their own.
Sent from my Nexus S 4G using xda premium
It thought someone from Google talked about this before and how it's unnecessary?
doa4ever said:
Wipe batterystats and fix permissions working well after each kernel change but I will give a try.
Click to expand...
Click to collapse
Yeah this is kind of a more in depth way of doing it and it seems to help a bit more.
Sent from my Nexus S 4G using xda premium
Charge it to 100% while it's off (the battery bar can be deceiving so even once it shows it's full give it five more minutes or so to be sure) and then power up.
It's not work on my phone
tuansyaz said:
Charge it to 100% while it's off (the battery bar can be deceiving so even once it shows it's full give it five more minutes or so to be sure) and then power up.
It's not work on my phone
Click to expand...
Click to collapse
Maybe it's not working on your phone because you're using the stock kernel which doesn't have a Battery Life Extender cosmetic MOD.
It's just cosmetic, actually it's still the same 96% as all other Android devices do.
CMIIW
glennkaonang said:
Maybe it's not working on your phone because you're using the stock kernel which doesn't have a Battery Life Extender cosmetic MOD.
It's just cosmetic, actually it's still the same 96% as all other Android devices do.
CMIIW
Click to expand...
Click to collapse
That's pretty much what I was going to say. Lol. I need to add that to the OP.
Sent from my Nexus S 4G using xda premium
This doesn't do anything other than fix incorrect battery logging, it DOES NOT increase battery life in any way.
Not even a tiny bit. Nada. Zip. Zero.
Dianne hackborne covered this on Google+ and said repeatedly that it doesn't extend battery life in the slightest. She would know as she wrote the code I believe.
Placebo effect in operation here. Plain and simple.
Thanks a bunch.
mabry said:
Thanks a bunch.
Click to expand...
Click to collapse
You're very welcome.
Sent from my Nexus S 4G using xda premium
Why do you insist on bumping this? No new information has been uncovered, nothing has changed.
The only reason I can think of is that you are looking to stock up on thanks.
I did this before I even found this thread, save for I use a Battery Calibration app from the market instead of deleting the .bin file. (App does it for me.)
This was the result.
Word.
Great guide! I haven't saw a calibrating guide either. I think it should be sticky!
Joshhayes801 said:
Why do you insist on trolling my stuff? Maybe you should spend your time doing something useful instead of wasting it on something that obviously doesn't matter to you. I bump it so new users can see it. If you don't like it, don't look at it. :thumbup:
Sent from my Nexus S 4G using xda premium
Click to expand...
Click to collapse
I wasn't trying to troll your stuff. I appreciate that somebody created this guide (albeit now proved to be ineffective/useless) as an informative resource for others. That being said, this information is easily found everywhere, especially with search.
Please understand, if everybody bumped a thread they created every few days because they thought it was useful, nothing new would ever show up on the first page of the forum. It would be the same threads appearing over and over.
I wasn't trying to offend you, I just think that bumping dying/dead threads is counter intuitive to growing this forum community.
Thank you.
It is in a sense misinformation though. It doesn't calibrate the battery, merely wipes androids battery usage statistics, which are only for reference to the user not the system.
Although included, the only pseudo calibration is charge fully, discharge fully then charge fully. This process wipes battery stats anyway.
rhanks
Sent from my Nexus S
gear.h34d.2012 said:
I did this before I even found this thread, save for I use a Battery Calibration app from the market instead of deleting the .bin file. (App does it for me.)
This was the result.
Word.
Click to expand...
Click to collapse
I have never calibrated my battery and get almost exactly the same battery life as what you are getting. All this does is wipe the stats.
____________________
Just Flash It !!!

Battery Level Not Reading Correctly...

Having some strange battery issues....
My battery was at 24%.. I plugged it in to charge and left if for an hour and it would not move past 24%. Unplugged it, plugged it back in, left it... same 24%.
I gave the phone a restart, and when it booted, it now read 65%.
Last week, I had been noticing bad battery life, so I did the battery calibration talked about here ( http://forum.xda-developers.com/showpost.php?p=23203126&postcount=9 ) and then cleared my battery stats...
Battery life definatly improved, but, now I had this issue today.
Any idea what could be causing it?
Oh yeah:
Rooted Phone, running Myn's Warm TwoPointTwo RLS 5. Kernel: 2.6.32.17 [email protected] #2
I'm glad to hear calibrating your battery yielded improved battery life for you. I've experienced the same thing in the past with other ROMs, but I haven't while using my current ROM (Nitrous ROM). I may be mistaken in assuming it's because of some setting in the ROM, but it's just something I noticed. Or possibly it's because I'm using the stock kernel with this ROM? I'd be interested in hearing if anyone definitively knows what causes the battery misreadings too.
I read somewhere in the forums(cant remember where exactly) that when flashing roms, its a good idea to re-calibrate your battery after every flash....I've been doing that since I read it and seems to work as far as I can tell
vel7wil said:
I read somewhere in the forums(cant remember where exactly) that when flashing roms, its a good idea to re-calibrate your battery after every flash....I've been doing that since I read it and seems to work as far as I can tell
Click to expand...
Click to collapse
I'm pretty sure they found that to be unnecessary.
Sent from my PC36100 using xda premium
Your battery could be going bad, but if its just a reading error, then it could just be the ROM you are running.
THREESTRIPEBRAND said:
I'm pretty sure they found that to be unnecessary.
Sent from my PC36100 using xda premium
Click to expand...
Click to collapse
You are correct it was found by members of googles development team to be unnecessary and could possibly do more harm than good in terms of the phone using the battery properly, newer phones like the et4g come stock with trickle charge kernels(read SBC) to try and discourage ppl from wiping them by giving them a more accurate reading in the 90-100 range
We are legion, for we are many
Sent from my Anonymous DeathStar in the depths of GalaXy S2
I always try to calibrate battery (on full charge) after flashing a new rom. Search the market, Battery Calibration is free.
So, to rule out the phone itself/rom/etc I swapped batteries with the wife for a couple days. She has the same phone, same ROM, Same Kernel, same everything...
Anyways, long story short, the battery acts the same way in her phone as it did in mine, while her battery works perfect in my phone just as it did in hers.
So the battery is definatly toast... I've already got a brand new OEM battery on its way to me...
Figured i'd come give an update. Thanks all!
(Oh yeah, to vel7wil and the others, I DID recalibrate the battery, as I mentioned in my initial post. So, be it unneccessary or not, it didnt help me any in this case lol!)

Resources