Patch Request for Samsung Battery Charged Notification for custom rom - Galaxy Ace S5830 Android Development

On stock rom for samsung, when the battery is fully charged, there is a notification, and the reading on those other battery monitors are wrong. Is there any way or patch to get than onto a custom rom??

Hartik said:
On stock ROM for Samsung, when the battery is fully charged, there is a notification, and the reading on those other battery monitors are wrong. Is there any way or patch to get than onto a custom ROM??
Click to expand...
Click to collapse
Wrong Thread DUDE. Anyway, I Use The following App On Every Custom ROM I Install and it Works Very Well:
https://play.google.com/store/apps/details?id=com.mboyadjiev.batteryfullnotification
:silly:
About The Readings:
This app will notify you when the battery is fully charged (not 100%).
I mean when a battery gets old, it shows 100% very soon but it still is charging. so there's a difference between 100% and fully charged. and battery monitors notify you on 100% and not when the phone is fully charged. I hope you are understanding me.
P.S: After Reaching 100%, My Phone Keeps Charging For 1 Hour More and then finally Becomes Fully Charged!

waqaswasil said:
Wrong Thread DUDE. Anyway, I Use The following App On Every Custom ROM I Install and it Works Very Well:
https://play.google.com/store/apps/details?id=com.mboyadjiev.batteryfullnotification
:silly:
About The Readings:
This app will notify you when the battery is fully charged (not 100%).
I mean when a battery gets old, it shows 100% very soon but it still is charging. so there's a difference between 100% and fully charged. and battery monitors notify you on 100% and not when the phone is fully charged. I hope you are understanding me.
P.S: After Reaching 100%, My Phone Keeps Charging For 1 Hour More and then finally Becomes Fully Charged!
Click to expand...
Click to collapse
yeah see thats the problem, i have used many battery meters, and they all show 100% when its not fully charged yet, and on samsung when the battery is fully charged a notification appears, which is what im looking for on a custom rom. On stock 2.3.6, the lockscreen has an accurate battery meter too, and shows 100% when fully charged.
This is not what i was looking for but thanks anyway, i really appreciate it

Hartik said:
yeah see thats the problem, i have used many battery meters, and they all show 100% when its not fully charged yet, and on samsung when the battery is fully charged a notification appears, which is what im looking for on a custom rom. On stock 2.3.6, the lockscreen has an accurate battery meter too, and shows 100% when fully charged.
This is not what i was looking for but thanks anyway, i really appreciate it
Click to expand...
Click to collapse
Dude, you are not understanding me but i can understand you what you are trying to say. i suggest that you should check out the above mentioned app as it notifies you on actual 100% as it does on my phone (it's a galaxy gio very similar to ace)
P.S: Go to phones stauts and check the battery status if it shows charging then its still charging despite the shown percentage which is 100% but it shows full when the phone is fully charged.

Related

HD2 battery never charges to 100% in Android

Hello, I'm using Mdeejay Froyo Sense 2.4 with hastarin 7.1 kernel.
I noticed that when I'm charging the battery in Android it never goes to 100%. It reaches 96-97%, voltage goes to 4.197V and the led stays red. If, after that, I restart the phone, both in WinMo and in Android, the indicator shows 100% and the led is green.
I'm worried if the battery charging is performed correctly in Android.
I would be glad to read your opinions on that.
Thanks!
Sent from my HTC HD2 using XDA App
In the hyperdroid thread there is a command to "calibrate" your battery or something.
Turn your phone completely off. Charge to full - green led instead of amber. Boot back up and restart android. You should be good to go.
Sent from my HTC HD2 using XDA App
jdwrrzmm said:
In the hyperdroid thread there is a command to "calibrate" your battery or something.
Click to expand...
Click to collapse
jelliottz said:
Turn your phone completely off. Charge to full - green led instead of amber. Boot back up and restart android. You should be good to go.
Sent from my HTC HD2 using XDA App
Click to expand...
Click to collapse
Both of these are good advices; and remember when switching from build to build, you'll probably have to do this a few times.
u most likely have an extended battery ... it configures itself to your other battery , thats why its telling you that ... btw , it does charge too full battery (4.197v) only the % value is wrong
oi. hasnt this been answered 1111111 times by now? ..please people use the search feature, its not just a pretty button.
Thanks!
Thanks to all of you for the advices!
souljaboy said:
u most likely have an extended battery ... it configures itself to your other battery , thats why its telling you that ... btw , it does charge too full battery (4.197v) only the % value is wrong
Click to expand...
Click to collapse
To souljaboy: No I'm using the original battery.
malaeus said:
oi. hasnt this been answered 1111111 times by now? ..please people use the search feature, its not just a pretty button.
Click to expand...
Click to collapse
To malaeus: I used the pretty search button, but I didn't find anything similar, maybe because I didn't include the word 'calibrate' (I didn't know that I'll have to "calibrate" the battery). And if you had read my whole post, you probably would had noticed that this is only the first part of it. I also wrote that: "I'm worried if the battery charging is performed correctly in Android. I would be glad to read your opinions on that."
So, with no offence, I think you overreacted a little bit.
Thanks!
The full charge battery voltage is not 4.197 it is 4.202
LI-ION charges to 4.2 volts, this is 70% of full charge, after this a "Topping Charge" is applied, this can take longer than the original charge to 70%
once the battery stops absorbing charge current this is when the battery is 100%
I would suggest using "Current Widget" to observe this, android will often state a 100% charge when the battery reaches 4.202 volts, but current widget continues to show a charge current, wait until its below 50mah or so then unplug the charger, delete the batterystats.bin and reboot the phone, that should calibrate android perfectly.
If you can live with your phone turned off for a while, delete the batterystats.bin and shutdown, then charge with the phone off. this will perform a total and complete charge with full topping charge.
Just one bit of advice... do not leave your phone on the charger all night every single night after getting a perfect calibration like this, having a LI-ION battery sitting on 4.2 volts for like 7 to 8 hours a day will simply kill the battery in under a year if not within 8 months.
Visentinel said:
The full charge battery voltage is not 4.197 it is 4.202
LI-ION charges to 4.2 volts, this is 70% of full charge, after this a "Topping Charge" is applied, this can take longer than the original charge to 70%
once the battery stops absorbing charge current this is when the battery is 100%
I would suggest using "Current Widget" to observe this, android will often state a 100% charge when the battery reaches 4.202 volts, but current widget continues to show a charge current, wait until its below 50mah or so then unplug the charger, delete the batterystats.bin and reboot the phone, that should calibrate android perfectly.
If you can live with your phone turned off for a while, delete the batterystats.bin and shutdown, then charge with the phone off. this will perform a total and complete charge with full topping charge.
Just one bit of advice... do not leave your phone on the charger all night every single night after getting a perfect calibration like this, having a LI-ION battery sitting on 4.2 volts for like 7 to 8 hours a day will simply kill the battery in under a year if not within 8 months.
Click to expand...
Click to collapse
Very informative! Thank you very much!
Is my battery or adapter getting broken? I did both types of calibration and I never saw a value bigger than 4.197V. Even when I fully charged the phone while off and booted to Android the indicator was at 4.154V.
Otherwise, when fully charged, the battery lasts in Android almost as much as in WinMo - 40-48 hours.
Sent from my HTC HD2 using XDA App
Visentinel said:
The full charge battery voltage is not 4.197 it is 4.202
LI-ION charges to 4.2 volts, this is 70% of full charge, after this a "Topping Charge" is applied, this can take longer than the original charge to 70%
once the battery stops absorbing charge current this is when the battery is 100%
I would suggest using "Current Widget" to observe this, android will often state a 100% charge when the battery reaches 4.202 volts, but current widget continues to show a charge current, wait until its below 50mah or so then unplug the charger, delete the batterystats.bin and reboot the phone, that should calibrate android perfectly.
If you can live with your phone turned off for a while, delete the batterystats.bin and shutdown, then charge with the phone off. this will perform a total and complete charge with full topping charge.
Just one bit of advice... do not leave your phone on the charger all night every single night after getting a perfect calibration like this, having a LI-ION battery sitting on 4.2 volts for like 7 to 8 hours a day will simply kill the battery in under a year if not within 8 months.
Click to expand...
Click to collapse
-same here. Thanks. Very informative. I noticed it when i reach 95%, it is still charging but the rate becomes lower until it returns to my normal reading (full).
Sent from my HTC HD2 using XDA App
Thanks for the info! I never charge my battery in Android, but I noticed, that percentage indicator readings is different between Android and WM.
One more thing, I searched for "calibrate" in HyperDorid thread, and here is what I found "charge full in windows then remove battery and charge full in android to calibrate..."
I do not get it. How can I boot Android without battery, and how can I charge already charged battery?
I copied this from another thread here, it has worked for me well.
Fully Charge while Device is Off before first boot, then upon first boot go to terminal and enter these (without the quotes) and press enter after every line.
"su"
"rm /data/system/batterystats.bin"
Ensure that Keypad Lights are on when Haret is launched and you will be healed.
Click to expand...
Click to collapse
Silencer23 said:
I copied this from another thread here, it has worked for me well.
Click to expand...
Click to collapse
Hey that sounds familiar, lol
Haha is this yours ? I saved it on a txt
Silencer23 said:
Haha is this yours ? I saved it on a txt
Click to expand...
Click to collapse
That was my post yeah. my complete tutorial is here:http://leoandroid.com/viewtopic.php?f=212&t=168
I got one for reversing the whole android process too. Im working on more install, tweaks, and any other usefull HD2 info.Ill be posting all of them there

[BUG] Full Charge Oddity, Charge to 100%, Unplug to 97%

[Q] Wifi Tether: Subject to $15 T-Mobile Charge?
Curious about this. Currently I'm connected to my laptop for the past 15 min just fine; no alert came up that said I had to get the $15 fee that T-Mobile charges for the "privilege" of tethering on my current plan. Does that mean that an unlocked phone isn't subject to T-Mobile's tampering?
If so, is this the only value for rooting right now? I don't see any other need for root with this phone except if it fools T-Mobile.
Thanks in advance for your answers.
I know there are numerous threads about battery life, but this one isn't about the life itself really.
I can charge my phone to 100%, but when I unplug it, the battery indicator shows 97% right away. I plug it back in, rinse and repeat, and get the same issue. I even tried charging with the phone off.
Ha anyone had luck with using a full 100%?
allen099 said:
I know there are numerous threads about battery life, but this one isn't about the life itself really.
I can charge my phone to 100%, but when I unplug it, the battery indicator shows 97% right away. I plug it back in, rinse and repeat, and get the same issue. I even tried charging with the phone off.
Ha anyone had luck with using a full 100%?
Click to expand...
Click to collapse
This is normal, search some threads
slowz3r said:
This is normal, search some threads
Click to expand...
Click to collapse
I see that some people don't get to 100% during the actual charge process, but haven't seen my issue yet. I'll keep looking. So many of these threads...thanks.
Just trying to figure out whether it's worth going back for another phone or battery. What would you do?
Id keep it, there was an article posted in one of the threads stating why phones do this...the N1 did a similar thing where after it charged going from 100-96 percent went really quickly
i would equate it when you buy a 16 gig SD card and it shows as 15.6 gigs
Same thing here... pretty sure it's happening to most people.
Read this: http://byrong.com/PowerTesting/
allen099 said:
I know there are numerous threads about battery life, but this one isn't about the life itself really.
I can charge my phone to 100%, but when I unplug it, the battery indicator shows 97% right away. I plug it back in, rinse and repeat, and get the same issue. I even tried charging with the phone off.
Ha anyone had luck with using a full 100%?
Click to expand...
Click to collapse
Mine did this until I calibrated the battery. Charged it to 100%, then drained it all the way. Charged it back up to 100%, and now not only does the battery last longer, but the percentage seems to go down in a more linear fashion.
Read on...
http://www.androidpolice.com/2010/1...bump-charging-and-inconsistent-battery-drain/
Sent from my GT-I9000 using XDA App
brianbrain said:
Mine did this until I calibrated the battery. Charged it to 100%, then drained it all the way. Charged it back up to 100%, and now not only does the battery last longer, but the percentage seems to go down in a more linear fashion.
Click to expand...
Click to collapse
Same here, I've done this two nights in a row, but no change.
Thank you for the links, guys. Pretty insightful actually. I've got it charging right now at 99%. As soon as it hits 100%, I'll take it off and see if it drops instantly. I'm guessing it shouldn't as it JUST hit 100%. But we shall see..
Thanks again!
Same issue here afetr the caliberation and all
I really wouldnt worry about it guys, not like magical unicorns are eating your percentages
Well...I mean, it's not something anybody is "worried" about, but it does suck because I use my phone heavily as I'm in the IT field ... so every percentage counts. After I just unplugged, it went to 99% which my N1 did as well. I'm fine with 99%, but 97% seemed a bit low.
Full charge oddity
When the phone has been switched off and charging the phone shows the fully charged icon on screen when charging appears to be done. Battery Indicator Pro displays only a 95% charge when the phone is switched on. The same happens when the phone is on and being usb charged. When 100% charge is shown and the usb cable is removed the charge is then shown as 95%. This does not happen on my other devices running 2.2. They will show 100% or 99%. A device design or 2.3 bug?
Read this whole post:
http://forum.xda-developers.com/showthread.php?t=871051
The epic 4g has this problem. I think its something with samsung. You have to unplug it, plug it back in, let it charge to full again and rinse repeat until its really at 100%
Then reset your battery stats in cwm
Sent from my SPH-D700 using XDA App
As noted in the stickied FAQ and further discussed in the link provided by nxt (Beat me to it!), this is by design folks.
unremarked said:
Q: I unplugged my phone, and my battery dropped from 100% to 95% immediately, or it won't/takes along time to charge past 99%, what gives?
This is by design. Your phone will slow down and eventually stop pulling charge at or slightly greater than ~95% regardless of what your battery indicator says. This is to extend the overall life of the battery, as constant 100% to 0% charge/discharge cycles will cause it to fail prematurely. If you're interested in really pushing it to 100%, you can use a technique that is called "bump charging" and is better detailed here: http://www.androidpolice.com/2010/12...battery-drain/
Click to expand...
Click to collapse
<- Link has more or less the same info as nxt's.
maybe we need multiple FAQ stickies in this board..
Weird battery reading
My Nexus S was at about 16% when I put it on the charger then I did a quick reboot and it said it was at 52%. I unplugged it, powered off, pulled the battery, then rebooted and it read 28%. Even that is hard to believe after less then 5 minutes of charging. Has this happened to anyone else?
Stock 2.3.1 unrooted
Sent from my Nexus S using XDA App
deyna said:
Has this happened to anyone else?
Click to expand...
Click to collapse
Yes, that has been reported by a number of people. It has happened to me as well when rebooting while charging. Nothing is wrong with your battery though, it just must be a battery stats bug.
Good to know. Thank you for the prompt reply
Sent from my Nexus S using XDA App

[BUG] Phone won't full charge battery (with At&t 4.1.83)

don't know if someone point out this already..
impressed by the short battery life of my Atrix, definitely lower than i expected, i make this try, and that's what i found out..
if you full charge the battery (phone shows "charged" or "100%" if you charge it when off) , then pull it out WITHOUT disconnect the usb charger, the phone reboots, then it shows a big picture of a battery with a question mark in it.. if you put in the battery again, the charge is stuck at 60%, and it takes about another hour to get the battery full..
so it seem that the phone think that battery is full, and stop charging it, when in fact it isn't..
if someone had a Motorola Milestone before, this was a known bug, due to the motorola kernel, who was solved only by some later Roms..
i haven't yet tested if using this, battery life is effectively longer, (just discovered), but with Milestone it was. a lot.
maybe our battery life can be better than it is now, if we can make phone recognize the full charge when it realy is..
P.S. i'm on stock At&T froyo.. if this was solved by latest kernel and Gingerbread i'm sorry for the useless post..
i can confirm my battery life improved after charging my phone in that way, like it was with Milestone and according to what i expected..
in fact, to charge a 1900 mA battery with a 850mA/h wall charger, it MUST takes, in a perfect world without energy dissipation, about 2h20' from discharged.. don't know about your, but my Atrix normally takes less, so it seem more than probably that it isn't really full charged
still waiting someone who test this on Gingerbread.. hope this issue's gone..
divicos said:
still waiting someone who test this on Gingerbread.. hope this issue's gone..
Click to expand...
Click to collapse
Just tried it on GB 4.5.91, when I popped the battery back in it said it was at 5%. It's charging up now, I'll update when it's done charging up...
If you have CWM you can clear the battery stats, then use Battery Calibration to fully charge and calibrate. I usually leave the phone charging for about 15 minutes after I get the fully charged message, then calibrate.
CaelanT said:
If you have CWM you can clear the battery stats, then use Battery Calibration to fully charge and calibrate. I usually leave the phone charging for about 15 minutes after I get the fully charged message, then calibrate.
Click to expand...
Click to collapse
So you reckon his battery isn't calibrated. If yours is, can you perhaps try what he suggests & report back? That'd be useful!
(I'm calibrating mine right now otherwise I would have tried..)
privatedoodle said:
Just tried it on GB 4.5.91, when I popped the battery back in it said it was at 5%. It's charging up now, I'll update when it's done charging up...
Click to expand...
Click to collapse
Same here, how did you go?
Mine seems to be stuck on 5%
If I boot the phone, its 100% and 4200mV but as soon as I unplug it it goes to 99% and 41** mV
h0mbre_au said:
Same here, how did you go?
Mine seems to be stuck on 5%
If I boot the phone, its 100% and 4200mV but as soon as I unplug it it goes to 99% and 41** mV
Click to expand...
Click to collapse
That's where I was for a long time (stuck at 5%), so I decided to calibrate the battery then give it another go. Right now the battery is draining, hopefully by tomorrow I'll have some results worth posting...
EDIT: After recalibrating, draining, and recharging, the battery still says 5% when you pull it and replace it. I'm charging up overnight, will update again tomorrow.
2ND EDIT: Charged for about an hour and a half, and it went up from 5% to 15%. After another 7 hours, it was still at 15%. Looks to me like a glitch in how the phone reads the battery, but don't know how much it's actually affecting battery life.
Today's my first day trying Green Power, so we'll see how that does.
so it seems Gingerbread acts in a different way..
maybe this bug was solved, with latest kernel, since if you're stuck on 5% and don't increase, phone is definitely NOT charging... it seems that it doesn't well recognize the amount of charge, but probably it is full..
i repeat, mine goes from 60% (when i pull and put the "charged" battery) to 100% in about an hour, bringing the total time of charging to 2h 15', that is how it needs to charge a 1900mA @850mA/h...
it's maybe simpler to check if it was solved or not.. if your phone takes about that time to full charge, we can assume that's act properly..
will try the calibration, thanks for the hint..

battery won't charge all the way

Well I decided to do the thing where you charge all the way, turn off, charge again and remove battery stats, my battery wouldn't go above 95% charge even overnight. I decided to drain all the way and then remove battery stats, now it goes to 97%, any ideas? not sure if its just reading wrong or what.
keep reading, there must be over 40 threads about this
It is not reading incorrectly, it's just being honest with you. Please use the search function.
th3drow said:
Well I decided to do the thing where you charge all the way, turn off, charge again and remove battery stats, my battery wouldn't go above 95% charge even overnight. I decided to drain all the way and then remove battery stats, now it goes to 97%, any ideas? not sure if its just reading wrong or what.
Click to expand...
Click to collapse
its only supposed to charge to 95-97%. its a feature to help preserve your battery. if you want to see 100%, youll need to bump charge it there or charge the rest of the way with your screen on.
simms22 said:
its only supposed to charge to 95-97%. its a feature to help preserve your battery. if you want to see 100%, youll need to bump charge it there or charge the rest of the way with your screen on.
Click to expand...
Click to collapse
What simms said, watching a couple YouTube videos or anything that uses the processor above light usage will make it charge to 100% but I don't know if that's good for your battery .
As for what I know, on Nexus S the maximum charge is 96%. If you get more charge, it can damage your battery. Most of custom ROMs already have this fixed (when it's 96% it would actually display 100%).
Oogway13 said:
As for what I know, on Nexus S the maximum charge is 96%. If you get more charge, it can damage your battery. Most of custom ROMs already have this fixed (when it's 96% it would actually display 100%).
Click to expand...
Click to collapse
This must be one of the changes for CM9 nightly for the 4G because for the first time yesterday I saw it showed 100% after taking it off the charger.
Oogway13 said:
As for what I know, on Nexus S the maximum charge is 96%. If you get more charge, it can damage your battery. Most of custom ROMs already have this fixed (when it's 96% it would actually display 100%).
Click to expand...
Click to collapse
bmwjnky said:
This must be one of the changes for CM9 nightly for the 4G because for the first time yesterday I saw it showed 100% after taking it off the charger.
Click to expand...
Click to collapse
yup, its only a cosmetic fix. its not a true 100%.
this is normal, the battery charge only 97%. 100% is only cosmetic.

Battery not charging past 80% after battery change

Hi folks,
I recently got a new battery for my S3 neo to replace my rapidly deteriorating original.
since the switch, i've been unable to charge EITHER battery up to 100% without waiting many hours for it trickle charge up from 80%.
here's the background:
i switched out the batteries when the old one was fully charged (since i was going to store it).
when i put in the new one, it read 84% when turned on again, i thought this was acceptable, since the battery would have been stored for a while before i bought it.
however, when charging this battery up again, it would hit around 76-77% and start trickle charging, as if charging from 95 to 100%
im not really sure how to fix this, and i have tried wiping cache, and running the battery down to 0% and charging from there. i have my theory, but am not sure its at all correct!
my theory (please tell me if i'm wrong)
when the battery jumped from 100% to 84% following the battery switch, that reset 84% to "fully charged" somehow
this would leave being fully charged as 1764Mah in the battery instead of 2100Mah
and by charging to 84%, then switching in a 100% battery this might be somehow reversed?
Would really appreciate any ideas people may have, since the already poor battery life (2 hours screen on) has now gotten even worse!
Thollupped said:
Hi folks,
I recently got a new battery for my S3 neo to replace my rapidly deteriorating original.
since the switch, i've been unable to charge EITHER battery up to 100% without waiting many hours for it trickle charge up from 80%.
here's the background:
i switched out the batteries when the old one was fully charged (since i was going to store it).
when i put in the new one, it read 84% when turned on again, i thought this was acceptable, since the battery would have been stored for a while before i bought it.
however, when charging this battery up again, it would hit around 76-77% and start trickle charging, as if charging from 95 to 100%
im not really sure how to fix this, and i have tried wiping cache, and running the battery down to 0% and charging from there. i have my theory, but am not sure its at all correct!
my theory (please tell me if i'm wrong)
when the battery jumped from 100% to 84% following the battery switch, that reset 84% to "fully charged" somehow
this would leave being fully charged as 1764Mah in the battery instead of 2100Mah
and by charging to 84%, then switching in a 100% battery this might be somehow reversed?
Would really appreciate any ideas people may have, since the already poor battery life (2 hours screen on) has now gotten even worse!
Click to expand...
Click to collapse
Which rom are you using? Did you try using battery calibareter?
Just cha ge your custom kernel.
redhead77 said:
Which rom are you using? Did you try using battery calibareter?
Click to expand...
Click to collapse
I'm using the latest version of Rox's Cm12.1 build, with cwm recovery. i've just tried to use a calibrator, and its reset 100% i think, but not sure if that's actually fixed it. and i still have appalling battery life
MoHuToP said:
Just change your custom kernel.
Click to expand...
Click to collapse
unfortunately i cant remember what i currently have installed, but is there a good one for battery life you could recommend? :fingers-crossed:

Categories

Resources