yashsingh1/xdaforums huggingface dataset:
[Galaxy Tab 10.1 Q&A, Help & Troubleshooting] Vlad_z:
Correction guys...

I was sure that our p7510 model was using TI bq20z75 fuel gauge chip but with new information looks like it's Maxim 17042 chip... It's embarrassing but I have to stay corrected. TI chip would calibrate itself in procedure outlined above as for Maxim - I don't know yet. I'm looking at it.

These are good and bad news. Good one - with this new fact, it's very possible that the reason of chip's SOC counter corruption is in software. Driver for Maxim is pretty messy and complex (because it's messy). In contrast driver for TI is simple and straight forward (because TI chip is smart). Software can be fixed but problem in hardware design not so easy.

Well, I will report back when I find something.
[Galaxy Tab 10.1 Q&A, Help & Troubleshooting] jzen:
So, will FillTheVoid 's method work with my GT-p7510? :x
[Galaxy Tab 10.1 Q&A, Help & Troubleshooting] FillTheVoid:
A lot of this is way over my head, but my battery calibration seems to be accurate, although I can't be absolutely sure because I have no stats from the previous calibration to compare it to. I do know for sure that after this process the bug of it draining then after reboot going back to what it should be is gone.
[Galaxy Tab 10.1 Q&A, Help & Troubleshooting] wlighter:
so i guess we need to flash back the stock ROM w/o TW for this procedure to work? I was trying the same steps with StarBurst + pershoot kernel it seem that it doesn't work. Anyone manage to calibrate with pershoot kernel?
[Galaxy Tab 10.1 Q&A, Help & Troubleshooting] Vlad_z:
SG tab 10.1 does used fuel gauge IC. Discharge rate when idle is 4% overnight - which is about 0.5% per hour all of this with stock ROM.

I cannot speak for 8.9 tab but 10.1 has pretty decent energy budget - 10 hours of usage (movies, internet, YouTube ) no problem.
[Galaxy Tab 10.1 Q&A, Help & Troubleshooting] docfreed:
The Tab 8.9 probably uses a fuel gauge IC also but I get the same issue as lanwarrior - if I leave it alone overnight I lose only a few percent - but I like to listen to audiobooks and surf the web at the same time and in two hours I lose close to 50%.

That used to happen on my Galaxy Player 5 until I installed the new kernel that I referred to above. So, even though we have fuel gauge IC's, I believe that the charging circuit is faulty, as seen by Entropy512 above.
[Galaxy Tab 10.1 Q&A, Help & Troubleshooting] Vlad_z:
Well, I have read Entropy512's post regarding charging circuits in GP5. I cannot comment on GP5 because I did not have the device but basically in order to judge energy budget one would need some measurements made.

Like voltage on lipo battery when GP5 thinks it's at 100% also when at 0%.

Rated capacity of that battery also current consumption with different CPU utilization, WiFi on/off, GPS on/off and/or screen brightness level.

He is incorrect when saying judging by voltage when battery is at 100% of charge is wrong.

Lipo is at 100% charge when voltage reads 4.2 per cell. And lipo cell can be discharged down to 3.2 without loss of cycles life (general somewhere in between 200-400). How much lipo can get mAh back depends on battery capacity, health and state of charge.

So, in your case your run time is about 4 hours for 100%. To check if something wrong with your tab one would need answers on next questions:

What is the initial voltage on battery - around 4.2V?

What is end of run voltage - around 3.2V?

What is average current - if it's around 700 mA (that what I suspect should be normal according to Engadget review) then probably your FG chip is calibrated wrong by 50%, but if it's around 1500mA (100% of brightness and high CPU utilization) then it's fine.

Engadget review quote:

"When it comes to longevity the 8.9 does not disappoint -- though it doesn't quite live up to its predecessor. The 10.1 (with a 7,000mAh battery) scored a very impressive 9:55 on our intensive video rundown test, almost matching the 10:26 of the iPad 2. The 8.9, with its 6,100mAh battery, managed 9:21 "

EDIT: one thing, yes it's a tricky to determine remaining capacity in a middle of discharge - that's why FG chips were invented but it's absolute easy to determine 100% and 0% of capacity using just voltage measurements.
[Galaxy Tab 10.1 Q&A, Help & Troubleshooting] markXmyXwords:
Hello there,

i'v got a question regarding to the power loss within seconds. So i've managed

to calibrate my battery so, that i can run it now from 100% to like 50%, then the

android system gives me that notification that i've only got 3% - and that happens within seconds. But if i shut down Android an plug in the charger, the icon

shows that the device is charging from 50%. So i really emptyed battery by lettin' it stay in cwm - btw, that really took hours - and did the steps that are told by vlad_z. Now i've got some questions: May it be that i've got to calibrate some more times? And what kind of problem could' it be that Android thinks my battery is empty, but it isnt - cuz of the fact that it run's for hours in cwm before it really turns of?

Thanks, Mark
[Galaxy Tab 10.1 Q&A, Help & Troubleshooting] sbeddoesdesign:
Chargung mine back up now. Taking a while, chargrvis a bit erratic and slow judgung by the battery history. Watching the battery via terminal though. I hope this sorts it...

---------- Post added at 09:20 PM ---------- Previous post was at 08:24 PM ----------

What I really don't understand is how the battery now charges slower with the screen off:

Why on earth would that be?
[Galaxy Tab 10.1 Q&A, Help & Troubleshooting] Vlad_z:
I assume you are using Samsung charger, right? (so it can deliver 1.5Amp of charge current)

Ideal charging scenario from 0 to 100% - 7000mA/1500mA = 4.(6) hours.

But you tablet is not in deep sleep. ADB in background is keeping CPU running. So, it might take a bit more hours to charge it to 100%.

Well, I would not worry about non-linear graph. The only definite conditions are when battery is empty (for proper calibrated FG chip battery voltage should be around 3.45V) and when battery is at 100% (voltage around and no more then 4.2V).
[Galaxy Tab 10.1 Q&A, Help & Troubleshooting] nkrick:
I experienced the same battery problem on my Tab 8.9 after flashing a ported 10.1 ICS build. My battery registered as 0% when it was at ~4050 mV. It took 1.5 hours to discharge to 0% (playing a YouTube video) and over 6 hours running CWM before getting to below 3700 mV.

I also have noticed strange charging behavior. If the tab is powered off or idle (no screen on) it is charging very slowly. When the screen is on, the charging is much faster. I am using YouTube again to keep my screen on because the charging is more than 4x as fast while the screen is on (even though it is playing a YouTube video). In 2.5 hours with the tab powered on and idle, it only charged to 11%. In 30 minutes of YouTube playback the charge has increased to 21%. I realize that charging is not linear, but this is an obvious difference.

As far as the chargers goes, not sure if the 8.9 comes with a different charger than the 10.1, but my Samsung charger is rated at 2.0 amp (2000 mA).
[Galaxy Tab 10.1 Q&A, Help & Troubleshooting] Vlad_z:
0% at 4V - this is sure sign that FG chip needs to be re-calibrated.

And yes, you are right my Samsung charger rated at 2.0Amp as well but it does not charge my tab at 2.0Amp rate. I did not clock charging time but to charge from 0 to 100% it would take about 5 hours with screen off.

It's strange... you are saying when tab is playing YouTube it charges 20% every 30min. Which gives us 2.5 hours for full charge... and this is impossible.

7000ma/2.5 = 2.8Amp and we know that charger is rated at 2.0Amp. Plus screen and CPU would take 0.7/0.8 Amp when playing video... So, charger should provide 2.8 + 0.7 = 3.5Amp which is obviously not the case.
[Galaxy Tab 10.1 Q&A, Help & Troubleshooting] fred_be9300:
Hi Vlad_z,

did you ever find out if the tab 8.9 (P7300/10) is using same fuel gauge as 10.1 (P7500/10)? Do you have tips how to investigate that?

After using a ported version of stock ICS release for tab 10.1 on the 8.9, a lot of 8.9 users have found their battery (meter) total uncalibrated... similar to what's discussed here.

"Our" (tab 8.9 users) battery issue was first discussed in the ROM threads (P7300 / P7310 on 8.9 dev board), then in a general thread (on 8.9 general). Then an 8.9 user posted a thread in the 10.1 Q&A board, which pointed to this thread ;)

I have tried the calibration method from post #41 here, but with no results. (still on the ICS port - maybe I should go back to a stable Honeycomb)

I'm currently trying the "original" method from #1. (charge, drain to ~40%, power-off 5 hours). It all takes so long to implement.

Some 8.9 users have had results by draining as much as possible through CWM recovery (which tends to run about 5 hours, after Android itself claims 0% and fails to boot), then load fully (some say it needs to be off), then wipe battery stats in recovery. I tried that and didn't work (but mine was on (booted to ICS) while charging).

I do apologize for the off-topic-ness (8.9 tab instead of 10.1) but the issue seems the same (and seems to have only affected 8.9 users who installed ported versions of 10.1 ICS stock rom).

thanks
[Galaxy Tab 10.1 Q&A, Help & Troubleshooting] Vlad_z:
I don't think Samsung would use some radically different fg chip. You can look at kernel logs, sometimes there are clues about type of chip used.

But I am pretty sure, draining tab in cwm down to some low numbers then letting tab sit like that and then recharge back and letting tab sit some time in full charge state should initiate chip calibration.

Also, it might help if tab would be off and for sure wiping battery status file does nothing but erase usage statistics.

PS: what is battery voltage when tab is showing low charge percentage?
[Galaxy Tab 10.1 Q&A, Help & Troubleshooting] fred_be9300:
hmmm, unfortunately I didn't write it down.

my last recalibration attempt consisted of

- discharge as much as possible in Android. During the discharge, it would drain rapidly till it turned off, but when rebooted the battery % would jump back up a lot. (don't remember voltage when Android finally stopped booting (= insisted on turning off right after boot), but I believe it was around 3800).

- discharge as much as I could in cwm 5.5.0.4 recovery. Recovery turns off after 1 hour by itself, so I rebooted it a few times (this was middle of the night, so there were some long pauses while I slept). At some point it wouldn't start up any more... Or so it seemed.

- couple hours later I plugged it in, the tab immediately booted also, to Android.

- I checked battery voltage immediately and it was higher than expected (a little over 3700), but I figured the voltage gauge is not to be trusted. Battery percentage was 0%.

- I left it like that (charging, Android running, screen off) .

- after about 12 hours charging, I removed power cable, woke up the tab, and found the battery percentage still 0%. (did not check voltage)

- Turned off tab, then put power cable back in. The animation showed a battery charging that was already like 4/5 full.

- after 8 hours like that (

powered off

, charging): Unplugged & let it sit.

- after 2 hours: Booted to recovery - wiped battery stats.

- Booted to Android, it showed 92%, but dropping 3-4% per minute or so. I ran it some 25 minutes, and it dropped to 20-25% battery. (voltage, if I remember correctly, around 4070 - but that was ~5 minutes before turning off, when battery was around 40%)

- At that moment, I turned it off. Contemplating my next move. I'm waiting the 5-6 hours (

powered off

) mentioned in the post #1 from method #1

edit2: I left the tab 6 hours powered off. Started and it was all the same - rapid drain - as before. No meaningful improvement :(

This is kallt_kaffe's 7510 for 7310 ICS port, although my tab is 7300. But I don't need the 3g.

It did fine for a few days I think. It was flashed at ( almost ? ) full battery, from stock Samsung HC. I think it went bad after a first charge, from near zero battery.

thanks.

--

edit 1: clarified when it was really powered off.

edit 2: clarified what happened next.
[Galaxy Tab 10.1 Q&A, Help & Troubleshooting] Vlad_z:
Voltage gauge you can trust but your fg chip does need calibration.

when you are waiting in between ... did you put tab into sleep or completely shutdown?
[Galaxy Tab 10.1 Q&A, Help & Troubleshooting] fred_be9300:
I edited my post above, to clarify when the tab was fully powered off.

essentially, after the full drain in recovery, it was charging 12 hours while powered on, and charging another 8 hours while powered off.

I guess I'll try it all again... this time I will keep better track of voltage values.
[Galaxy Tab 10.1 Q&A, Help & Troubleshooting] brisdaddy1207:
Thank you for posting this, I've been having a battery drainage problem.
[Galaxy Tab 10.1 Q&A, Help & Troubleshooting] mungen:
I got similar problem..

Go to Samsung Service Centre, they changed out the battery

(no indication really they gave me a new battery or refurb)

Works as good as new.. Dunno if a Samsung Service Centre is that accessible in where u r staying.. but if it is.. go for it..
[Galaxy Tab 10.1 Q&A, Help & Troubleshooting] Vlad_z:
if you up to challenge you may try to open up tab and physically disconnect battery, wait for a couple min and then reconnect it. This should reset fuel gauge chip to default curves.
[Galaxy Tab 10.1 Q&A, Help & Troubleshooting] fred_be9300:
Damn, again failed to recalibrate.

Did everything supposed to, but after 7 hours charging (edit: plus 1h wait powered off, then wipe battery stat in recovery, then boot to ICS), tab comes up, battery 86%, 4091mV

Dropping to 81, 77, 74, 71, 67... In 3-4 minutes, while voltage stays to 4095

When started charging, voltage was around 3460 mV, IIRC.

Think I will Odin back to HC... Try calibrate there... (Will keep opening it up as measure of last resort )

(tab 8.9 p7300 with ported ICS from p7510)
[Galaxy Tab 10.1 Q&A, Help & Troubleshooting] pseudoheld:
im also having the issues on my 8.9.

my tab just shut down complaining it was empty. now its sitting in cwm and the voltage reading is:

3907

the problem is i think we might have a different battery than you guys. so we should have different voltages as recharge points right?

gonna let it sit in cwm a bit and see how far i can discharge it.
[Galaxy Tab 10.1 Q&A, Help & Troubleshooting] Vlad_z:
Your tab has different capacity battery. But SOC (state of charge) voltage is exactly the same. 4.2V - 100%, 3.45V - 0%.

Your FG chip definitely need calibration.

PS: spare my/your time, don't mess/delete battery stats file by using CWM wipe batstat or Battery Calibration apps from market. Just do proper calibration as it outlined in this thread.
[Galaxy Tab 10.1 Q&A, Help & Troubleshooting] pseudoheld:
yeah i gathered as much ;)

sadly its taking ages to discharge in CWM...

still somewhere around 3800

EDIT:

ok i let it discharge to roughly 3500 and then followed your instructions. after a good nights charge and an hour rest after that i have now booted it up and can confirm that my battery now reads 100% with a voltage reading of:

4107031

will now play some videos to see how the discharge goes!

*fingers crossed*

EDIT2: so far so good! after about 30minutes of HD youtube watching im only down 6%. looks good so far!

will report back later in the day!
[Galaxy Tab 10.1 Q&A, Help & Troubleshooting] Toldo:
How come I missed it? I'll try this later and post results.
[Galaxy Tab 10.1 Q&A, Help & Troubleshooting] Entropy512:
"quick start" is available - it's usually exposed as just "reset".

It's interesting - The MAX17042 implementation in Galaxy S2-family devices (I9100/I777/N7000) does not use the coulomb counting feature, causing it to behave almost identically to the MAX17040. The implementation in Tabs does.

There is a MAX17040 datasheet available. As far as I can tell, the '42 is a '40 plus coulomb counting capabilities.
[Galaxy Tab 10.1 Q&A, Help & Troubleshooting] zerong:
Thanks ! your first method seems ok for me ! no more drain issue during sleep mode for my galaxy tab 10" ! before it was 2 % / hour ! now 0% for 12 hours ! more test to do now !
[Galaxy Tab 10.1 Q&A, Help & Troubleshooting] Vlad_z:
"Reset " kernel option hardcoded to have an action when certain pins are connected that's why I said I can elaborate on subject and one would need a special cable for that.

Other option to force fg chip to reset is to open up tab and physically disconnect battery.
[Galaxy Tab 10.1 Q&A, Help & Troubleshooting] amjg92:
battery drain

Hi, I have a samsung galaxy tab 10.1 with 3g. and I have battery drainage. I have followed these staps

charge tab somewhere in between 80 and 100%.

edit: remove charger

shutdown tab (not put in hibernate/sleep) for 1 hour.

edit: turn tab on and run it for 30-40 min. or whatever it takes to drop charge to 40-50%.

shutdown tab again for 5 hours (overnight).

and after I charged it to 100% I disconnected the tab from the charger and in idle state withought the internet or 3g activated it discarged from 100 to 93% in 4 hours. is that normal? I dont konw how to Flash stock kernel so i did not do it before the steps. also I dont know how to go to "CWM/recovery ". can you please tell me how to do this
[Galaxy Tab 10.1 Q&A, Help & Troubleshooting] ps2zhuantou:
try it

try it.hope it's good
[Galaxy Tab 10.1 Q&A, Help & Troubleshooting] shuiguo:
Thank you! I want to do now is to me more testing, hoping to better
[Galaxy Tab 10.1 Q&A, Help & Troubleshooting] Phibs:
Problem solved

First of all I would like to thank you for your post.

I did a firmware update from original rom 3.2 to stock Italian version 4.04 XXLQ8. My Tablet wa bought in Portugal.

The ICS is faster and more use friendly, no doubt about it. The problem wa the battery drain during all day even in airplane mode, aproximately 2% per hour.

Well, after reading this post i first started charging to 80%, turn off one hour. Discharge it to 40 to 50% that took me lots of time, then switch off for 5 hours.... Sadly, nothing happened. Problem persisted.

Then i tried your second solution.

Discharged it untill reaching 3600 mV which happened at approximately 20%, switched off for an hour. Charged it to 100% overnight, approximately 8 hours. Disconnected the charger and only switched it on after one hour. Bingo!!!

Problem solved. In airplane mode it stood for aproximately 8 hours and only lost 1%.

Perfect. Thanks!!!

:cyclops:
[Galaxy Tab 10.1 Q&A, Help & Troubleshooting] Philip12:
This solution follow up

Nope it didn't work for me :/ I have tried it with a stopwatch just to be as accurate as possible
[Galaxy Tab 10.1 Q&A, Help & Troubleshooting] sooramma:
After studying various suggestions/threads on battery drain and wakelocks, I switched off my P7500 running Stock ICS 4.0.4 ITALY, plugged and charged it till 100%. Entered into CWM recovery. Wiped off Battery statistics. Rebooted. Continued charging for 1 or 2 minutes while screen is on. While screen is on and charge is 100%, unplugged the charger. locked the screen for about 8 hours. then noticed battery. It is at 99%. CPU SPY shows deep sleep at 98%. Voila. Now battery is normal for last four days. No more unusual Battery Drain.

HIT THANKS BUTTON IF IT HELPS YOU.
[Galaxy Tab 10.1 Q&A, Help & Troubleshooting] harryzz:
Hi

someone have missing battery stats in settings/battery - "Battery usage data not available" ?, and how to fix if possible. Stock ICS, Galaxy Tab 10.1v.

br

harry
[Galaxy Tab 10.1 Q&A, Help & Troubleshooting] Fishuu:
Will try this now!

Hope it works!!
[Galaxy Tab 10.1 Q&A, Help & Troubleshooting] nilesat:
thank you

wow, thats super
[Galaxy Tab 10.1 Q&A, Help & Troubleshooting] ankitdas123:
My problem with Samsung P3100 tab 2

My problem is a little weird, have tried the first option. Have charged it upto 100% and then switched it off for an hour.

Then I switched it on and it showed me 66% and then the battery started going up slowly till 98% when I switched it off and I am waiting for 5 hours to switch it ON again.

I am not even sure whether 98% is actually 98% but I followed the 40 minutes usage timing and then switched off.

Now I am unable to understand how to exactly know what level is my battery at!!
[Galaxy Tab 10.1 Q&A, Help & Troubleshooting] jimmyleo85:
after download CPUSPY and betterbatterystats there are some process make your galtab (ICS) cannot enter deep sleep :

NetworkLocationLocator

SignalCollector.ScannerThread

LocationReceiverService

CheckinsNotificationService

LocationReportingService

AsyncCollectorListener

LocationPrivacyService

Blablabla because service google maps.

Finally i try to turn off the service :

enter google maps -> Settings -> Location Settings -> Uncheck all (enable location sharing, enable location history, automatic check ins, Check in notification) and click location reporting -> Do not update our location.

After that, my ICS galtab enter deep sleep -- 2 1/2 hour (1% battery). Hope this can help your problem. (Sorry, my English bad)
[Galaxy Tab 10.1 Q&A, Help & Troubleshooting] martin707:
Ive got a weird problem. Instead of draining fast, my battery isnt updating when its charging with the tablet ON. ive done the calibration technique already. Should i do the calibration again?
[Galaxy Tab 10.1 Q&A, Help & Troubleshooting] rollrit7:
Hey dude, same problem. One small question. How did you know that your tablet reached 3600 mV. Really in need of a help. :crying:
[Galaxy Tab 10.1 Q&A, Help & Troubleshooting] mike2nl:
Hi Vlad_z,

two things i have found about the incorrect readings:

- Link1: is talking about calculation corrections: Fix value scaling for VCELL and avgVCELL

- Link2: is the datasheet

Possible that helps out
[Galaxy Tab 10.1 Q&A, Help & Troubleshooting] Phibs:
Problem persists

Sorry,

I have terrible news for you. After all this method didn't solved my problem.

It was looking good until I switched on the 3G.

Apparently, it's not a battery calibration problem.

I tried to update the rom, with the battery fully charged. Disconnected the battery for a minute. Reconnected the battery and uploaded the Rom via ODIN. (Yes I deared to open the Tablet.)

The problem persisted.

After many factory resets, and progressive software installation, I found out that the problem is related to the 3G/GSM. Every time I switch the tablet in Flight Mode, the battery drains approximately 1-2 % per Hour. You can test it using CPU SPY. You will notice that in Flight Mode the tablet never enters in Deep Sleep.

If you let the tablet with 3G/GSM on, even with mobile data off, it will enter in Deep Sleep and the battery drain disappears.

I already sent an Email to Samsung Support but you already know the answer.....:laugh:

As soon as I found the solution I'll post back.
[Galaxy Tab 10.1 Q&A, Help & Troubleshooting] Toldo:
A small idea: did you try to change gsm radio to Honeycomb one?

Take a look: http://xdaforums.com/showthread.php?t=1867147
[Galaxy Tab 10.1 Q&A, Help & Troubleshooting] Vlad_z:
This calibration procedure for Fuel Gauge chip only.

Main symptom - tab reports about 0% of charge but when you look at voltage it's well above 3.6V, say 4.0V.

That means FG chip needs to be re-calibrated.

If tablet drains too much juice when in stand-by - this is different problem. More likely tablet do not go into deep-sleep either because some locks or kernel problems.