How does cyanogen and all the rest get the battery % into the top bar? For instance after the froyo update if i would rather run stock but i want the battery % how would I install that?
Correct me if I'm wrong but I think that is in one of his framework mods. Then you would need his spare parts to enable/disable the function.
Personally I think it sucks too much battery to make it necessary to have. Battery Indicator in the market doesn't use much battery life so it runs better for me.
evilkorn said:
Correct me if I'm wrong but I think that is in one of his framework mods. Then you would need his spare parts to enable/disable the function.
Personally I think it sucks too much battery to make it necessary to have. Battery Indicator in the market doesn't use much battery life so it runs better for me.
Click to expand...
Click to collapse
thanks for the reply. Does he have a section for framework mods only instead of his full rom download? if not, i guess i won't be having that feature with a stock rom
evilkorn said:
Correct me if I'm wrong but I think that is in one of his framework mods. Then you would need his spare parts to enable/disable the function.
Personally I think it sucks too much battery to make it necessary to have. Battery Indicator in the market doesn't use much battery life so it runs better for me.
Click to expand...
Click to collapse
Are you sure it sucks battery to have the % there? I haven't heard of that.
For me, yes.
That would be impossible. The percent is not an app like those battery apps on the market. the percent is just additional code in the services.jar file. it's the same service that keep track of the battery the only difference here is the addition of the code is to show the state of the battery in percent. I hope this helps. One more addition, when froyo comes out it will not be included until cyanogen makes his rom.
deanesn said:
That would be impossible. The percent is not an app like those battery apps on the market. the percent is just additional code in the services.jar file. it's the same service that keep track of the battery the only difference here is the addition of the code is to show the state of the battery in percent. I hope this helps. One more addition, when froyo comes out it will not be included until cyanogen makes his rom.
Click to expand...
Click to collapse
yeah this will not be included in froyo which is why i was trying to get started on making it work, I don't think i will be successful though.
If the entire code for it its contained in one class then you could try taking the equivalent .smali from CM and putting it in your rom. Better yet copy only the lines that contain the mod
deanesn said:
That would be impossible. The percent is not an app like those battery apps on the market. the percent is just additional code in the services.jar file. it's the same service that keep track of the battery the only difference here is the addition of the code is to show the state of the battery in percent. I hope this helps. One more addition, when froyo comes out it will not be included until cyanogen makes his rom.
Click to expand...
Click to collapse
No, it wouldn't be impossible...
The original implementation of the batt % absolutely killed batteries, this has since been fixed however.
Related
My icon in the notif bar looks like 80% and it is 40% lol. I don't get it.
hah2110 said:
My icon in the notif bar looks like 80% and it is 40% lol. I don't get it.
Click to expand...
Click to collapse
Strange, I haven't noticed this.
1) What phone are you using
2) What ROM are you running
3) Have you wiped your phone along with the cache?
akapoor said:
Strange, I haven't noticed this.
1) What phone are you using
2) What ROM are you running
3) Have you wiped your phone along with the cache?
Click to expand...
Click to collapse
Almost every Android phone. It is a known problem.
I don't seem to have an issue with it.
When it reaches 75%, my bar is 3/4s. When it's 50, its half-way...etc...etc...
hah2110 said:
Almost every Android phone. It is a known problem.
Click to expand...
Click to collapse
Awsome job answering 3 questions with a random statement.
I know the phone stores the info about the battery in a file. This file includes the max charge the battery can charge too. There is a method somewhere on these forums that show how to drain your battery, wipe the file, then do a full charge so the phone can relearn the battery and the correct settings get saved.
I believe flashing new roms and doing storage wipes can cause this file to be removed and created with false info.
WoZeR said:
Awsome job answering 3 questions with a random statement.
I know the phone stores the info about the battery in a file. This file includes the max charge the battery can charge too. There is a method somewhere on these forums that show how to drain your battery, wipe the file, then do a full charge so the phone can relearn the battery and the correct settings get saved.
I believe flashing new roms and doing storage wipes can cause this file to be removed and created with false info.
Click to expand...
Click to collapse
No... It has nothing to do with this. Every Android phone I've had... Regardless of whether it is brand new, stock, rooted, flashed, new kernel, anything... Doesn't matter.
May I know how many android phones you previously had?
not trying to flame btw.. but i dont have that case with my phone.. and this is my first phone
You have tokinda program the Lion Batt internal charger first, you charge them full->run till dead--> repeat process 2 times and then the system will be way more accurate. Try this and reply in about 3 days the results.
lagu805 said:
May I know how many android phones you previously had?
not trying to flame btw.. but i dont have that case with my phone.. and this is my first phone
Click to expand...
Click to collapse
John512 said:
You have tokinda program the Lion Batt internal charger first, you charge them full->run till dead--> repeat process 2 times and then the system will be way more accurate. Try this and reply in about 3 days the results.
Click to expand...
Click to collapse
You guys are still missing it. The ICON is not accurate but the internal sensor is. Jeebus. Look at these links... and it seems as my answer is in the first two sentences:
http://senk9.wordpress.com/2010/06/07/android-app-of-the-day-battery-left-widget/
http://www.androidjunkies.com/index...ets-you-keep-watch-of-your-power-app-reviews/
Honestly, if "it" truly bothers you, why not just put the overlay ontop so you get the "real" percentage.
It's work just fine for me, usually +/- 3% at most, works great on froyo.
Calibrate if it is way off
Sent from my HTC Magic using XDA App
I'm trying to understand how android calculates battery percentage, and from my testing it seems that the battery meter is hard coded into each particular phone model. This link seems to kinda verify this.
http://www.android-x86.org/documents/howtoconfigurebatteryservice
Does anyone know where in the system the battery file is located? Either the battery driver, or the algorithm it uses, or even a stats file. Anyone able to point me in the right direction? Thanks.
Daveenna said:
It's work just fine for me, usually +/- 3% at most, works great on froyo.
Calibrate if it is way off
Sent from my HTC Magic using XDA App
Click to expand...
Click to collapse
How abouts do you calibrate the visual battery indicator at the top of the notification bar to be within 3%??
Are you talking about something else like the battery charge status reading?
I've experienced the same problem as the OP on all my Android phones as well. It is a problem when you think you have 75% charge and all the sudden you are getting low battery warnings.
same here. Notification Bar battery is hilariously off.
akapoor said:
I don't seem to have an issue with it.
When it reaches 75%, my bar is 3/4s. When it's 50, its half-way...etc...etc...
Click to expand...
Click to collapse
oh yea? mine goes to nine percent...and takes forever for it to shut down. only when i shut down the phone or reboot it, does it not come back on. lol
Is everyone else's Stock Battery Indicator ridiculous inaccurate? I'm at 42% battery life currently (widget/spare parts) and the stock indicator shows a level around 65-75%.
phishie said:
Is everyone else's Stock Battery Indicator ridiculous inaccurate? I'm at 42% battery life currently (widget/spare parts) and the stock indicator shows a level around 65-75%.
Click to expand...
Click to collapse
it's not 'inaccurate' samsung has set it like that. but if you want to tweak it, try search around.
accinfo said:
it's not 'inaccurate' samsung has set it like that. but if you want to tweak it, try search around.
Click to expand...
Click to collapse
Ah, correction, rather than inaccurate it just rounds up generously.
phishie said:
Is everyone else's Stock Battery Indicator ridiculous inaccurate? I'm at 42% battery life currently (widget/spare parts) and the stock indicator shows a level around 65-75%.
Click to expand...
Click to collapse
Yea, that's common. They don't have very many level drops.
If anyone finds an app that can overlay a % (or replace it with a %) on top of the STOCK ICON, that'd be awesome. There's some that add an additional icon but I don't want that, that's just stupid to have two battery icons...
Also if anyone finds an app that can overlay a dBm signal in place of the signal strength meters that'd be awesome, too.
TexUs said:
Yea, that's common. They don't have very many level drops.
If anyone finds an app that can overlay a % (or replace it with a %) on top of the STOCK ICON, that'd be awesome. There's some that add an additional icon but I don't want that, that's just stupid to have two battery icons...
Also if anyone finds an app that can overlay a dBm signal in place of the signal strength meters that'd be awesome, too.
Click to expand...
Click to collapse
Yes, I was wanting a NEW battery gauge, one that shows the percentage, not the ridiculous stock icon thats off by a mile. Also, I'm with you I dont want two battery icons up there. I guess its harder than I think it should be to create an app that does that.
I'd assume since it's the TouchWiz UI that something specific to the Captivate would have to change the icon... That's my assumption anyway, I'm not a developer.
derek4484 said:
Yes, I was wanting a NEW battery gauge, one that shows the percentage, not the ridiculous stock icon thats off by a mile. Also, I'm with you I dont want two battery icons up there. I guess its harder than I think it should be to create an app that does that.
Click to expand...
Click to collapse
You guys might want to try System Info Widget in the Market. Pretty good and definitely accurate.
What annoys me is that Samsung has the numerical info in the about screen, so why not just create a toggle so we can go from bar to numeric....
I think they pulled an Apple and wanted the bars to always look bigger.
I installed Battery Widget (the one with over 250K downloads)... Best thing for now...
I noticed the same thing right away... Not sure if they thought users would miss this but its a little misleading..
Battery status widget works for me.
Sent from my Samsung Galaxy S
Battery indicator pro......
So I have updated to the latest RUU leak and things are running great, but I'm having some issues I wonder if anyone can duplicate.
I deodexed the phone and didn't have any issues, I flashed this accurate battery mod and things seemed fine, but when I wiped data after the mod was flashed it's not booting.
Now I've got a nandroid backup, so i'm not stuck or anything, but I'm wondering if anyone knows of an accurate battery mod made for the new leak?
I know two ways you can try to get an accurate reading of your battery. 1. In recovery wipe battery stats after a couple bump charges. 2. Or download battery calibration from the market. Hope this helps.
Thanks for the advice, but I was actually not talking about the battery being inaccurate, I'm looking for a mod that changes the default battery status icon in the notification bar to include a percentage of battery life left.
sonofskywalker3 said:
Thanks for the advice, but I was actually not talking about the battery being inaccurate, I'm looking for a mod that changes the default battery status icon in the notification bar to include a percentage of battery life left.
Click to expand...
Click to collapse
If your ROM is deodexed then use UOT kitchen .. because of the framework you wont find a standard mod for a battery with percentages. I personally like the honeycomb battery.
Whoops my bad. Sorry.
Thanks alot, I'll give that a shot.
I have a question about battery calibration.
After I deleted batterystats.bin, the meter seems to be working fine (prior to deletion, battery meter was not correct - for example, only 50% battery was remaining, but battery meter would be around 70%.
Anyway, do I have to calibrate battery each time I flash new/upgrade ROM?
I've been changing to different ROMs frequently nowadays to find best battery ROM. So I was wondering if I have to calibrate battery each time I flash new ROM.
Thank you!
Honestly I dont think it matters much. I've heard arguments both ways but what I do is I calibrate when I first get me phone (or a new battery) and thats it. I get great battery like even going between roms
johnkim0011 said:
I have a question about battery calibration.
After I deleted batterystats.bin, the meter seems to be working fine (prior to deletion, battery meter was not correct - for example, only 50% battery was remaining, but battery meter would be around 70%.
Anyway, do I have to calibrate battery each time I flash new/upgrade ROM?
I've been changing to different ROMs frequently nowadays to find best battery ROM. So I was wondering if I have to calibrate battery each time I flash new ROM.
Thank you!
Click to expand...
Click to collapse
You MUST delete the battery stats.bin everytime you flash a new rom
window7 said:
You MUST delete the battery stats.bin everytime you flash a new rom
Click to expand...
Click to collapse
I don't agree with the word must. It would be a good thing after a few flashes but EVERY time is not needed.
Sent from my Nexus S 4G using XDA App
window7 said:
You MUST delete the battery stats.bin everytime you flash a new rom
Click to expand...
Click to collapse
Um.. no. theres a proper way to caliberate the battery.
If that was the case then I'd be wiping my battery stats everyday because of CM7 nightlies
But yeah, I'd probably say just do it if you feel that your battery life is awful. Maybe once every 3-5 months? I've had the NS since it first came out and I haven't wiped my battery stats. Battery life is still amazing, so I don't know.
Is it normal for battery life to only get reported in increments of ten? My last Android phone would happily report 1% differences.
Also, what kind of battery life do you guys get? I'm running Hexen with wifi/EDGE on most of the time and it seems pretty poor. I'm pretty sure it's been calibrated too.
It's normal for these phones. Custom firmware sometimes solves this battery life stuff.
Since you're on AT&T, you probably use 2.4.29.
1st, on 2.4.29 you can get a pretty stable CM7 build that will display battery life in 1% decrements.
2nd, battery life on stock 2.4.x is awful. CM7 rectifies it a bit.
If you're set to use stock firmware, you'll probably want to root, and at least install SetCPU and freeze bloatware.
Gasai Yuno said:
It's normal for these phones. Custom firmware sometimes solves this battery life stuff.
Since you're on AT&T, you probably use 2.4.29.
1st, on 2.4.29 you can get a pretty stable CM7 build that will display battery life in 1% decrements.
2nd, battery life on stock 2.4.x is awful. CM7 rectifies it a bit.
If you're set to use stock firmware, you'll probably want to root, and at least install SetCPU and freeze bloatware.
Click to expand...
Click to collapse
Thanks for the info. I'm technically on Hexen which isn't 100% stock. At the very least a lot of bloat seems to be gone. Do you know how Hexen stacks up against CM7 as far as battery life is concerned?
Actually, Battery monitor widget can display to 1%.
Im using it on Hexen rom.
Sure. It can. But it uses an estimate, not what the system actually reports.
Gasai Yuno said:
Sure. It can. But it uses an estimate, not what the system actually reports.
Click to expand...
Click to collapse
It is pretty darn close, I'd say it reports battery percentage very accurate. Very consistent with the internal 10% gauge, no jumps and hops.
tennyleaz said:
Actually, Battery monitor widget can display to 1%.
Im using it on Hexen rom.
Click to expand...
Click to collapse
OK, now I change to CM7 1204a. Any battery app won't work anymore.
Waiting for CM devs to solve it.