I have created a missing power profile for TouchPad enabling the battery stats in settings.
CM10 (jcsullins 20130304 build):
http://goo.im/devs/Dorregaray/cmtouchpad/update-cm10-20130304-battery-stats.zip
CM10 (jcsullins 20121216 build):
http://goo.im/devs/Dorregaray/cmtouchpad/update-cm10-20121216-battery-stats.zip
flash in recovery. to revert reflash jcsullins preview build.
Patch in Gerrit:
CM10: http://review.cyanogenmod.org/#/c/31765/
CM9: http://review.cyanogenmod.org/#/c/31758/
_Dorregaray_ said:
I have created a missing power profile for TouchPad enabling the battery stats in settings.
CM10 (jcsullins 20121216 build update):
http://goo.im/devs/Dorregaray/cmtouchpad/update-cm10-battery-stats.zip
flash in recovery. to revert reflash jcsullins preview build.
Patch in Gerrit:
CM10: http://review.cyanogenmod.org/#/c/31765/
CM9: http://review.cyanogenmod.org/#/c/31758/
Click to expand...
Click to collapse
I used the power_profile.xml from the galaxy tab 8.9 p5ATT which has the same processor and added extrapolated values for frequencies up to 1782.kHz. I needed to edit a line in a PowerSummary.java file to make it work. Does yours work with just the xml file?
EDIT: I found out why mine needed the java file patch. Thanks for your work, Dorregaray.
I have flashed to both jcsullins and oats, it works perfectly thank you very much.
thank you for all your hard work
thank you :good:
What you see with Power Profile?
Alveran said:
What you see with Power Profile?
Click to expand...
Click to collapse
it enables the battery statistics in settings
sstar said:
I have flashed to both jcsullins and oats, it works perfectly thank you very much.
Click to expand...
Click to collapse
I too successfully flashed this into OaTs JB and it works perfectly. Neat correctly seeing what's eating up battery within settings (I have been using a few battery apps like Battery Monitor Widget and BetterBatteryStats to do this previously). Thanks Dorregaray (and sstar for the assist)!!
Running fine on jcsullins ' CM10 preview.
Thanks.
Also running great for me on jcsullins' CM10 preview. Thank you!
Works great. Thank you. But TP Akku Drain is higher. Before 35-45mA and now 50-60mA.
the new patch for jcsullins 20130304 build:
http://goo.im/devs/Dorregaray/cmtouchpad/update-cm10-20130304-battery-stats.zip
Installed and working fine.
sstar said:
Installed and working fine.
Click to expand...
Click to collapse
Same here.
% disparity
CM20130304 + battery stats
CM reports 67% battery remaining; WebOS reports 67%
CM reports 34% " ; " 40%
Battery drain seams to have increased.
I will install CM200304 without battery stats on another TP and see what is reported & happening.
PS Thanks for the work.:good:
problems - wallpaper disappears and wont come back
_Dorregaray_ said:
the new patch for jcsullins 20130304 build:
http://goo.im/devs/Dorregaray/cmtouchpad/update-cm10-20130304-battery-stats.zip
Click to expand...
Click to collapse
Hi Dorregaray, thanks for the stats update. the battery stats works fine within settings. However, after installing this patch, the wallpaper gets all scrambled and wont load. I disable it and even pick several different wall papers and it only appears as a black screen (behind my icons) and a small strip along the left side (less than 2mm wide) so i can see that wallpaper can load, but something is preventing it from being displayed. apps and everything works fine... odd.
any suggestions?
Urbanos said:
Hi Dorregaray, thanks for the stats update. the battery stats works fine within settings. However, after installing this patch, the wallpaper gets all scrambled and wont load. I disable it and even pick several different wall papers and it only appears as a black screen (behind my icons) and a small strip along the left side (less than 2mm wide) so i can see that wallpaper can load, but something is preventing it from being displayed. apps and everything works fine... odd.
any suggestions?
Click to expand...
Click to collapse
3 TPs all running 20130304 + Battery stats. Two have Koi live and 1 has blank wall papers - all is good. Maybe rinstall 20130304 and re download battery then reinstal?
Urbanos said:
Hi Dorregaray, thanks for the stats update. the battery stats works fine within settings. However, after installing this patch, the wallpaper gets all scrambled and wont load. I disable it and even pick several different wall papers and it only appears as a black screen (behind my icons) and a small strip along the left side (less than 2mm wide) so i can see that wallpaper can load, but something is preventing it from being displayed. apps and everything works fine... odd.
any suggestions?
Click to expand...
Click to collapse
what rom are you using? are you using any patches on top of the rom?
Battery Usage Treatise
Carey4782 said:
CM20130304 + battery stats
CM reports 67% battery remaining; WebOS reports 67%
CM reports 34% " ; " 40%
Battery drain seams to have increased.
--SNIP--
Click to expand...
Click to collapse
There seems to be some confusion regarding what the battery stats are. They have nothing to do with the battery consumption. Here is how the battery consumption is calculated.
Code:
#define BATTERY_LOW 3200 (mV)
#define BATTERY_HIGH 4300 (mV)
static u32 msm_batt_capacity(u32 current_voltage)
{
u32 low_voltage = msm_batt_info.voltage_min_design;
u32 high_voltage = msm_batt_info.voltage_max_design;
if (current_voltage <= low_voltage)
return 0;
else if (current_voltage >= high_voltage)
return 100;
else
[COLOR="Red"]return (current_voltage - low_voltage) * 100
/ (high_voltage - low_voltage);[/COLOR]
}
Note that the remaining battery capacity is based only on a measurement of the battery voltage, not current or power draw. So if a lithium ion battery has a voltage of 3750 mV, it's 50% charged. If it's a 1500mAh battery, it has 750mAh left; if it's a 6000mAh TP battery, it has 3000mAh left. Everything else is assumed in the power profile, as are the maximum and minimum voltages in the kernel. The battery statistics simply attempt to tell you what used the 50% capacity, based on the weighting given in the power profile. If that's not correct, then you will have misinformation regarding what processes or apps are using the battery, but it won't have any effect on how much battery has been used, or what's left.
Is there a flashable CM9 battery stats zip?
Related
Hi everyone,
I am pretty new to this however thanks to this forum I was able to fairly easily flash my first custom rom onto my HTC Hero.
I went for Elelinux-7.0.0-RC2-Hero-v1.4... Works like a charm.
Just one question since 2.1 (official release), when switching the off button there is no longer an option to switch the internet off
Is there anyway this can be re-added as I find it quite useful when travelling through Europe (ability to quickly enable/disable)
can try use 2 methods:
1. Apps like Apndroid to toggle data off/on
2. create a data off/on toggle at notification status bar via, I think something like Menu/Setting/CM setting/Interface/notification power widget
Thanks puppyko, installed APN on/off Widget and it does the trick...
Does anybody however know how to get it r-eadded to the Phone Options menu? (off screen options)
Glad the suggestion served you well
Any options that is available under Phone Option Menu will supposely come together with the ROMs. So I think only the ROM developers can do it. But this will be of low priority for any developers as there are already few other ways of toggle data off/on.
Hi,
Battery question:
My battery is empty at ~3500mV/~5%. A Li-ion cell drained when its voltage is ~3000mV. I have tried wipe battery stats when battery fully charged, and drained it. It didn't helped.
Is there any solution to use the battery full capacity?
I had tried the aboved wipe battery stats method few times before..
It didn't help prolong my battery usage..it just performed battery calibration, that is wiped the battery statistic as to at what voltage the reading would be 100% (I think).
Of course, many others had tried the wipes and claimed it helped.
Nowadays, I just charged the phone to full 100% with phone turned on (instead of switched off and charge).
I found charging this way, the fully charged voltage can go higher at around 4.2V instead of just 4.05V when charging with phone turned off.
So with this higher charge, with no usage, my 100% can stay almost half my working day.
But with internet usage on 3G, wifi..such as using browser surfing net, the drainage would easily reduced 20% within an hour.
Benzal said:
Hi everyone,
I am pretty new to this however thanks to this forum I was able to fairly easily flash my first custom rom onto my HTC Hero.
I went for Elelinux-7.0.0-RC2-Hero-v1.4... Works like a charm.
Just one question since 2.1 (official release), when switching the off button there is no longer an option to switch the internet off
Is there anyway this can be re-added as I find it quite useful when travelling through Europe (ability to quickly enable/disable)
Click to expand...
Click to collapse
You can simply add "power widget" to your desktop...
yukinok25 said:
You can simply add "power widget" to your desktop...
Click to expand...
Click to collapse
Spot on.
Add the widget, make sure you tick "Data Sync" and "2G/3G".
Also check out the Wifi options (further down the menu) where you can automatically disable OTA internet etc.
I just can get 8 hours of battery, is this normal?
DavidSalgueiro said:
I just can get 8 hours of battery, is this normal?
Click to expand...
Click to collapse
8 hourts!?! what are u running??
v1.6 is out now, here is the changelog from elelinux's post
>>>New build today
>>>The graphical bug is finally fixed, thanks to jens.bergqvist who posted the bug report thread to google, where I could read about the fault and a good solution
>>>Updated my theme a bit, HTC.Elegance
>>>Lots of updates in the source,thanks to cm guy's for their outstanding work
>>>Added Aicbootfix ( for batterydrain )
>>>Rebuild the updater script a bit
>>>Rebuild the build.prop a bit and added some tweaks by default,dithering and purgeable assets,and clean up a bit to
>>>Added the new GB battery icons by gwurz,thanks for your amazing work
>>>Removed quicksearchbox,no need of 2 when googlequicksearchbox is already included
>>>Removed Google transsport backup (was not working anyway)
Click to expand...
Click to collapse
I just installed it a few minutes ago, so I can't yet say if the battery drain problem is really solved, but it's worth a try!
Depending on what you do... normal day at work i last 6 hours
So, I am using MIUI 2.1.12 with LorDModUE 8.6 CFS 2WCR kernel.
I have installed 4EXT Recovery Controller and CurrentWidget.
With CurrentWidget, I monitored the battery while charging until it reached 0mA (which means the battery is as full as it can get).
With 4EXT Recovery Controller I removed the batterystats.bin file.
I drained the phone until it shut itself down. Then I charged it (without powering it on) until it was full (LED was green).
I power on the phone... 99% battery.
I plug in the charger... it says 26mA (which means it would reach 0mA as in full charge in another 20-30 minutes).
WHAT THE HELL?!
This never happened while I was using the default CM kernel included in MIUI. Only happened with Tiamat and LordMod.
--
Seriously, guys, what is the best way to calibrate the battery?! Perhaps I should not have let it shut itself down, but plug the charger when the phone was at 1% (which lasted for another 20-30 minutes, by the way)?!
if I don't remember it wrong the LED turns green at 90%.
afair the battery doesn't get charged during booting. which means that you probably lost the 1% during boot.
I also used the same method and got it calibrated correctly
but is their any other way too ?
monki79 said:
if I don't remember it wrong the LED turns green at 90%.
Click to expand...
Click to collapse
The LED turns green on AOSP ROMs at 90%, when the phone is ON, as far as I know. When it is OFF, it works fine (goes green at 100%).
I want to hear from the developers / those that know how these codes work and stuff... Cause I don't want to look at my phone how the percentage goes down so fast, then, when it reaches 10%, I can play Pocket Legends for another 20 full minutes -.-
Formhault said:
With CurrentWidget, I monitored the battery while charging until it reached 0mA (which means the battery is as full as it can get).
With 4EXT Recovery Controller I removed the batterystats.bin file.
I drained the phone until it shut itself down. Then I charged it (without powering it on) until it was full (LED was green).
I power on the phone... 99% battery.
I plug in the charger... it says 26mA (which means it would reach 0mA as in full charge in another 20-30 minutes).
WHAT THE HELL?!
Click to expand...
Click to collapse
The battery doesn't charge to full capacity first time around. When I used to calibrate the battery I would charge until it was drawing 0mA, then reboot; it would be drawing about 26mA, so I'd charge to 0mA again and reboot; it would now be drawing about 15mA, so I'd carry on charging to 0mA, reboot, repeat, repeat and repeat until it eventually continued to draw 0mA after a reboot. Then I'd delete the batterystats.bin file.
As one of Google's engineers says, deleting your battery stats isn't going to improve your battery life. I haven't done any of that for a long time now and I've noticed precisely no difference (except for the extra time I've gained by not having to wait for it to finally charge up to full capacity).
hopscotchjunkie said:
The battery doesn't charge to full capacity first time around. When I used to calibrate the battery I would charge until it was drawing 0mA, then reboot; it would be drawing about 26mA, so I'd charge to 0mA again and reboot; it would now be drawing about 15mA, so I'd carry on charging to 0mA, reboot, repeat, repeat and repeat until it eventually continued to draw 0mA after a reboot. Then I'd delete the batterystats.bin file.
As one of Google's engineers says, deleting your battery stats isn't going to improve your battery life. I haven't done any of that for a long time now and I've noticed precisely no difference (except for the extra time I've gained by not having to wait for it to finally charge up to full capacity).
Click to expand...
Click to collapse
I know about Google's statement.
The battery would drain fast, then, when it reaches 1% or 5%, you would be able to use your phone like it had 30%. Just that it shows the values wrong. Calibrating the battery should fix that...
Anyway... I'm not going to struggle any further.
I'll tell what I've done;
- I have installed Battery Balibration app and CurrentWidget,
- Waited battery charging till reached 0ma,
- Removed battery stats and restarted,
- Then waited to drain battery and shut-down itself,
- I connected USB charger to PC and TURN ON THE PHONE !!
- Again waited battery to reach 0 ma,
- Then plugged off and monitored that current widget shows the range btw 3-10 !!
I don't know exactly if it helps but, maybe you should turn on your DHD while carging..
For further instructions you may qant to check this topic;
http://forum.xda-developers.com/showthread.php?t=1226016
Formhault said:
So, I am using MIUI 2.1.12 with LorDModUE 8.6 CFS 2WCR kernel.
I have installed 4EXT Recovery Controller and CurrentWidget.
With CurrentWidget, I monitored the battery while charging until it reached 0mA (which means the battery is as full as it can get).
With 4EXT Recovery Controller I removed the batterystats.bin file.
I drained the phone until it shut itself down. Then I charged it (without powering it on) until it was full (LED was green).
I power on the phone... 99% battery.
I plug in the charger... it says 26mA (which means it would reach 0mA as in full charge in another 20-30 minutes).
WHAT THE HELL?!
This never happened while I was using the default CM kernel included in MIUI. Only happened with Tiamat and LordMod.
--
Seriously, guys, what is the best way to calibrate the battery?! Perhaps I should not have let it shut itself down, but plug the charger when the phone was at 1% (which lasted for another 20-30 minutes, by the way)?!
Click to expand...
Click to collapse
Theres a better alternative, use the battery calibration app in the market
https://market.android.com/details?id=com.nema.batterycalibration&hl=en
It's always worked a charm for me.
knp3385 said:
Theres a better alternative, use the battery calibration app in the market
https://market.android.com/details?id=com.nema.batterycalibration&hl=en
It's always worked a charm for me.
Click to expand...
Click to collapse
Right, with Battery Calibration i have solved my problem with battery, now i can use all day without charging.
Sorry if my question is a silly one...
what's the point in calibrating your battery? I mean... except for the stats (and I guess, the percentage in the bar), do you improve your battery life by calibrating it?
Duwie_80 said:
Sorry if my question is a silly one...
what's the point in calibrating your battery? I mean... except for the stats (and I guess, the percentage in the bar), do you improve your battery life by calibrating it?
Click to expand...
Click to collapse
Some says it's irrelevant, calibrating it's just an illusion
But did calibrate my battery and my battery life is improved too terrific !!
Duwie_80 said:
Sorry if my question is a silly one...
what's the point in calibrating your battery? I mean... except for the stats (and I guess, the percentage in the bar), do you improve your battery life by calibrating it?
Click to expand...
Click to collapse
fremce said:
Some says it's irrelevant, calibrating it's just an illusion
But did calibrate my battery and my battery life is improved too terrific !!
Click to expand...
Click to collapse
I don't really know. It would be silly for the Android system to display the battery percentage (up there, in the status bar) by reading the batterystats.bin.
My phone's battery level drops somewhat fast, then, when it would reach 30% or so, it doesn't drop as fast. Also, at times, when I reach 10%, 5% or even 1%, I am still able to play an intensive game like Pocket Legends for an extended ammount of time (30 minutes, for example). Pocket Legends is CPU/GPU intensive and it also requires an active Internet connection, so I'd say it's pretty power hungry.
I don't really get the entire purpose of calibration. I have done it and I can't seem to notice any difference.
I'm going to do it again, now, because I switched to a Sense ROM (RunnyDrOiD). I'll monitor the battery with Battery Monitor Pro. When it reaches +0mA, I'll reboot and so forth so forth until it's drawing 0mA, although I doubt I'll resist that much time, so I'll just delete the batterystats.bin after a few reboots, when it reachs 0mA.
fremce said:
Some says it's irrelevant, calibrating it's just an illusion
But did calibrate my battery and my battery life is improved too terrific !!
Click to expand...
Click to collapse
If everybody knew the meaning of the word "calibration" then nobody would talk such nonsense.
Calibration improves the accuracy of the percentage shown!
The illusion is that you improve your battery life with it....
Dlog said:
If everybody knew the meaning of the word "calibration" then nobody would talk such nonsense.
Calibration improves the accuracy of the percentage shown!
The illusion is that you improve your battery life with it....
Click to expand...
Click to collapse
As I said... calibrating the battery may fix the "problem" where once you reach 1% / 5% you can use your phone like it still had ~20%.
I'm gone test it too...
Hi there people, I didn't find any battery thread similar to what I'm going to say so I'll spam a little bit
I've just found as I was fooling around this: http://www.ebay.com.au/itm/PowerSki...AU_MobilePhoneAccessories&hash=item20c1a1c8ad
It suppose to be a silicon case with a battery build in(1500mah ..not bad), I don't know the dimensions but I just someone might think it as a solution to our 1230mah small battery(with this you have a total of 1730mah which is plenty)
P.S. To mods.. feel free to delete my post, I just wanted to inform the people about a solution that might be handy
evronetwork said:
Hi there people, I didn't find any battery thread similar to what I'm going to say so I'll spam a little bit
I've just found as I was fooling around this: http://www.ebay.com.au/itm/PowerSki...AU_MobilePhoneAccessories&hash=item20c1a1c8ad
It suppose to be a silicon case with a battery build in(1500mah ..not bad), I don't know the dimensions but I just someone might think it as a solution to our 1230mah small battery(with this you have a total of 1730mah which is plenty)
P.S. To mods.. feel free to delete my post, I just wanted to inform the people about a solution that might be handy
Click to expand...
Click to collapse
https://www.google.com/search?q=xda+powerskin+desire+hd
first link....
I'm experiencing the following issue:
I discharge the telephone completely and I put it under charge.
I check the phone and it says, for example, that it's charged at 3%. Ok reasonable, I've attached to the charger just few minutes ago.
After a 5/10 minutes I check it back and it's 33% charged!
Today I made a reboot while charged and after the reboot, from 32%, it went up to 66%!
I couldn't charge it to 100%, it stuck at 98%.
I've installed under /etc/init.d/ the script 87calibrator.sh by Brainmaster since I'm using CNA 1.6.0 ROM (with Air Kernel 3.9.5 voodoo standard - gov: lazy; scheduler: deadline - DeepIDLE: on, NO Screen Off Max Freq enabled).
I feel there's something that needs to be fixed... it doesn't behave like this each time... in between the ROM changes I've experienced just a few times...
(Wipe Data/Cache+Wipe Dalvik and if passing from a ROM to another I also format /system).
Is anybody else experiencing this issue?
Android is terrible with actual battery stats, just don't look at it while charging
Sent from my Nexus S using XDA
Issue? I don't see one.
The Nexus S uses a State of Charge method which can be somewhat inaccurate initially, but as time progresses will become more accurate. Often while charging and booting simultaneously, the charge will go up by a fairly large percentage. This is obviously incorrect, but over the next few hours it will settle itself at it's approximate true charge. I'm still unsure if this effects the final charge % as i havn't tested it that much, but it likely does, though it will progressively get better.
Also, it is a hardware restriction regarding charging to 100%. Stock Nexus S only charges to 96% or so without dodgy methods to actually get it up. Anything else that says 100% is purely cosmetic - this cosmetic change can be found in various kernels.
Harbb said:
Issue? I don't see one.
The Nexus S uses a State of Charge method which can be somewhat inaccurate initially, but as time progresses will become more accurate. Often while charging and booting simultaneously, the charge will go up by a fairly large percentage. This is obviously incorrect, but over the next few hours it will settle itself at it's approximate true charge. I'm still unsure if this effects the final charge % as i havn't tested it that much, but it likely does, though it will progressively get better.
Also, it is a hardware restriction regarding charging to 100%. Stock Nexus S only charges to 96% or so without dodgy methods to actually get it up. Anything else that says 100% is purely cosmetic - this cosmetic change can be found in various kernels.
Click to expand...
Click to collapse
Hi, thank you for your answer. I wasn't aware about the dynamic calibration!! Yes the 100% charge it's not physic but cosmetic, I know. It was just to mention that I don't get to full 100%.
So if the battery calibration is "by design", do you know how Brainmaster's script affects this calibration?
It doesn't. That script deletes the batterystats.bin file (somewhere in the /data directory). All this file does is tabulate human-readable battery statistics for you to view when you look at Settings > Battery, so you know how much power has been drained by each app or service, and the graphing over time. This is all it does. A charge to ~90% or higher will automatically delete this file, as you can see by the battery screen resetting itself.
Harbb said:
It doesn't. That script deletes the batterystats.bin file (somewhere in the /data directory). All this file does is tabulate human-readable battery statistics for you to view when you look at Settings > Battery, so you know how much power has been drained by each app or service, and the graphing over time. This is all it does. A charge to ~90% or higher will automatically delete this file, as you can see by the battery screen resetting itself.
Click to expand...
Click to collapse
Ah ok, than that's explaining why they all say that the deleting stats it's not useful to calibrate the device
Thank you very much man!! Much appreciated!
You're welcome mate
I bought a 3500mAh extended battery of ebay and it goes down to 1% way too fast. It's still at 3700mV when it reaches 1% and it will not turn off before it's below 3200-3150 (Another 6hours of active display at 100% brightness and 1,5hours of Stability Test). Fully charged (phone turned off, charged for 10hours) the battery reports ~4100mV.
According to a thread I started in Q&A, there is fix from Quarx already integrated in his ROMs, but it doesn't seem to work. (I use CM10 9/18)
How can I get my Defy to report correct percentages of battery charge? It would probably work if it calculated it from the voltage, wouldn't it?
There's an app that does exactly that. I believe this is what you're looking for -> http://www.droidxforums.com/forum/droid-x-apps/37085-app-battery-monitor.html
Go for version 9.4 for GB and the current play store version for JB.
Thanks a lot! I've been looking for something like that for days now!
My Son's Nexus 10 had served its purpose. But Started to die at Random percent, Mostly above 50%.. So Got a new Tablet for him. But Did not want to throw away this Gem of a Tablet.
After weeks of Trial and Error finally found a solution Thanks to input from a Redditor.
Issue/Problem: Dies at Random % showing battery %0 and Shutdown. But In Recovery with Full Brightness it does not Die for hours.. (as later found out.. Recovery does not need much CPU power)
So What did I try:
1. Changed Rom's (All the way from Base Google Images to Oreo) >> Did NOT fix the Problem
2. Clearing battery stats.. etc. ( incl completely discharge and Charge and all those cycles usually we do to calibrate the battery) >> Did NOT Fix the Problem
2. Ordered a New Battery - (Samsung Model From Ebay - I guess it was used or who knows ) >> Did NOT fix the Problem
3. Changed Multiple chargers (Wall Adapters/ Cable from multiple brands which i have at home.. LG, Samsung etc etc) >> Did NOT Fix the Problem
Solution/ What Fixed:
Thanks to redditor.. Who mentioned about CPU power consumption.. And Old Mother board might not be providing enough Power to CPU. (As this tablet is Old.. It was just an Hobby to make it work and Did not want to spend more money on MotherBoard)
By this time I was on Marshmallow Linage OS Rom.. (As Everything works), Gave Root access to one of the CPU app's and Did this..(See Below) Enabled on Boot to keep the same settings.
Setting the CPU max to 1200MHz and Min to 200 it WORKED! I tried every damn thing before. For some reason... this idea did not strike my brain. So its the Power consumption from CPU.
EDIT 1: after some more testing You can go upto MAX 1600MHz (Your mileage may vary)
Finally Battery drained till zero without shutting down.
LET ME KNOW IF THIS FIXED YOUR TABLET TOO.. If you have the same issue as mine. (I Know many had this issue like mine.. but none had solution) Hope this helps.
streetsmart999 said:
My Son's Nexus 10 had served its purpose. But Started to die at Random percent, Mostly above 50%.. So Got a new Tablet for him. But Did not want to throw away this Gem of a Tablet.
After weeks of Trial and Error finally found a solution Thanks to input from a Redditor.
Issue/Problem: Dies at Random % showing battery %0 and Shutdown. But In Recovery with Full Brightness it does not Die for hours.. (as later found out.. Recovery does not need much CPU power)
So What did I try:
1. Changed Rom's (All the way from Base Google Images to Oreo) >> Did NOT fix the Problem
2. Clearing battery stats.. etc. ( incl completely discharge and Charge and all those cycles usually we do to calibrate the battery) >> Did NOT Fix the Problem
2. Ordered a New Battery - (Samsung Model From Ebay - I guess it was used or who knows ) >> Did NOT fix the Problem
3. Changed Multiple chargers (Wall Adapters/ Cable from multiple brands which i have at home.. LG, Samsung etc etc) >> Did NOT Fix the Problem
Solution/ What Fixed:
Thanks to redditor.. Who mentioned about CPU power consumption.. And Old Mother board might not be providing enough Power to CPU. (As this tablet is Old.. It was just an Hobby to make it work and Did not want to spend more money on MotherBoard)
By this time I was on Marshmallow Linage OS Rom.. (As Everything works), Gave Root access to one of the CPU app's and Did this..(See Below) Enabled on Boot to keep the same settings.
Setting the CPU max to 1200MHz and Min to 200 it WORKED! I tried every damn thing before. For some reason... this idea did not strike my brain. So its the Power consumption from CPU.
Finally Battery drained till zero without shutting down.
LET ME KNOW IF THIS FIXED YOUR TABLET TOO.. If you have the same issue as mine. (I Know many had this issue like mine.. but none had solution) Hope this helps.
Click to expand...
Click to collapse
Hi!
I have the same problem for a while. Could you tell me which CPU app did you use?
I thank you very much for your help.
Marco
Kukl said:
Hi!
I have the same problem for a while. Could you tell me which CPU app did you use?
I thank you very much for your help.
Marco
Click to expand...
Click to collapse
I used below app (But u can use any CPU app).. But other than those above setting(s).. I DID NOT change anything else. But u need ROOT to make that change.
Good Luck. hopefully it helps you too.
https://play.google.com/store/apps/details?id=com.grarak.kerneladiutor
streetsmart999 said:
I used below app (But u can use any CPU app).. But other than those above setting(s).. I DID NOT change anything else. But u need ROOT to make that change.
Good Luck. hopefully it helps you too.
https://play.google.com/store/apps/details?id=com.grarak.kerneladiutor
Click to expand...
Click to collapse
I try it immediately, I hope it works!
Thank you very much
Kukl said:
I try it immediately, I hope it works!
Thank you very much
Click to expand...
Click to collapse
Hey You can go MAX upto 1600.. If that doesn't work for u.. Keep reducing a lil by little.
streetsmart999 said:
Hey You can go MAX upto 1600.. If that doesn't work for u.. Keep reducing a lil by little.
Click to expand...
Click to collapse
Unfortunately at the moment I don't solved the problem, even if I set the cpu min to 200 and max to 1200.
I've installed a new ROM, deleted the cache and still the problem persists. I will do other tests trying to recalibrate the battery.
Kukl said:
Unfortunately at the moment I don't solved the problem, even if I set the cpu min to 200 and max to 1200.
I've installed a new ROM, deleted the cache and still the problem persists. I will do other tests trying to recalibrate the battery.
Click to expand...
Click to collapse
Humm... Anyway @1600 mine died at 30% .. So made it 1500 and past below 18% and Still running. So I guess 1500 is max I can go
Also Before coming this conclusion: I did the fowling
Charge 100%
Delete Batterystats.bin
Run this command from adb "adb shell dumpsys batterystats --reset"
And then Changed the CPU max (Please NOTE , Select "On Boot" to keep the same parameters). Once u change the CPU settings .. Reboot and see .. if its keeping the same settings.
Many thanks. I tried all of the the things you tried and setting the cpu max frequency is the only thing that worked.
I could get away with seeing it to 1600.
Deleting batterystats.bin does nothing https://www.xda-developers.com/goog...-battery-stats-does-not-improve-battery-life/
Now with a new battery, PureNexus Rom and your amazing fix my Nexus 10 is a thing of beauty again.
LET ME KNOW IF THIS FIXED YOUR TABLET TOO..
Click to expand...
Click to collapse
Streetmart you absolute legend. I'd never thought I'd see the day my Nexus 10 would drain down to zero again. I tried 1600, then 1500, to no avail; then I said screw it I'll just go down to 1200 (with little hope of it working).
It feels so weird to actually have an internet “solution” work. I'm super happy. I didn't want to buy another tablet. I love this one and it worka perfect for what I use it for.
Thank you! :good::highfive:
OMG! thank you for this thread! i was just posting to look for a replacement for my 10... i hope this fixes it BTW.. what's the normal max cpu speed? I REALLY don't want to replace it as the new dropbox 3 device thing really screws me..
Icetech3 said:
OMG! thank you for this thread! i was just posting to look for a replacement for my 10... i hope this fixes it BTW.. what's the normal max cpu speed? I REALLY don't want to replace it as the new dropbox 3 device thing really screws me..
Click to expand...
Click to collapse
I think the normal is 1700MHz. It's what the program showed before I changed it. All the best! Keep us updated.
Hez0 said:
I think the normal is 1700MHz. It's what the program showed before I changed it. All the best! Keep us updated.
Click to expand...
Click to collapse
What a difference... i installed that a few days ago, and i haven't used my N10 much but on standby it's still at 99% usually it would be WAY lower.. i think that program did more than just lower the max cpu a little.. don't care though. the N10 lives on!!
If you still have this issue, I have been updating the kernel and also found some of the power control settings needed tweaked. Disabling "opportunistic sleep" "logging time spent in suspend" and enabling "advanced power controls" seems to do the trick. had an issue where the device would shut off if battery level reached 20%. Haven't had it happen again yet.
DragonFire1024 said:
If you still have this issue, I have been updating the kernel and also found some of the power control settings needed tweaked. Disabling "opportunistic sleep" "logging time spent in suspend" and enabling "advanced power controls" seems to do the trick. had an issue where the device would shut off if battery level reached 20%. Haven't had it happen again yet.
Click to expand...
Click to collapse
I'm currently running at 1600 with this guy modified kernel and wow, besides no more suddenly shutdowns it runs very smoothly, it reminds me the pre-marshmallow age of this tablet.
DragonFire1024 said:
If you still have this issue, I have been updating the kernel and also found some of the power control settings needed tweaked. Disabling "opportunistic sleep" "logging time spent in suspend" and enabling "advanced power controls" seems to do the trick. had an issue where the device would shut off if battery level reached 20%. Haven't had it happen again yet.
Click to expand...
Click to collapse
Where are you finding these control settings to change?
I have replace the battery of my N10 because of low capacity.
Now it charge from 0% to 52% then it goes to 100%. On discharge it goes from 100% to 46% then shutdown and battery shows 0%. Percentage is the same in TWRP.
Since replacement of battery it have aroud 10 charge/discharge cycles without any changes.
Any solution for that?
Der_Graf said:
I have replace the battery of my N10 because of low capacity.
Now it charge from 0% to 52% then it goes to 100%. On discharge it goes from 100% to 46% then shutdown and battery shows 0%. Percentage is the same in TWRP.
Since replacement of battery it have aroud 10 charge/discharge cycles without any changes.
Any solution for that?
Click to expand...
Click to collapse
I have to agree on, that the N10 chipset/cpu/powersupply has degraded somewhat & as the battery voltage gets lower during discharge, it can not supply stable power any longer :crying:
If i reduce the CPU speed from 1700MHz to 1200MHz I get to go down to 20% instead the N10 shutting down abruptly at just 30%
I do have a spare battery in the fridge for later on. Once I open up the N10, I'll see if there is a capacitor or two, that could replaced in the power supply area to possibly fix the issue.
Note:
1. On second full charge since lowering the CPU to 1200MHz the battery got down to 14% & I have decided to charge it instead of letting it die at some point at a lower percentage
2. I should have mentioned earlier, that I still use the original N10 battery & plan to replace the original battery with a new aftermarket battery later on if I need to.
3. I use the N10 in an air-conditioned room for no longer, than half an hour at a time only browsing & reading articles with a short 10min video from YouTube.
4. Before lowering the CPU clock from 1700MHz to 1200MHz, the tablet consistently has shut down abruptly, at 27-30% battery level to my dismay.
5. Tried complete battery drain / cache reset to 0% in Recovery mode & then fully charging it while shut down 3 times without success.
6. So far lowering the CPU clock has made a difference & for prof now I am evaluating the N10 battery capacity with AccuBattery.
7. I charge my devices at around 20-25% or higher up to 80% to prolong battery life using apk's to stop charging or alert me.
I have switched to the UNOFFICIAL Resurrection Remix for Nexus 10 (ResurrectionRemix-M-v5.7.4-20161208-manta) MM ROM after rooting my N10 (Danke schön Corinna ) & had to update the baked in Kernel Adiutor.
Installing from APKMirror the "Kernel Adiutor (ROOT) 0.9.73 beta (Android 4.0.3+)" has allowed me to lower CPU MAX Frequency and have it stick after BOOT!
com.grarak.kerneladiutor_0.9.73_beta-241_minAPI15(nodpi)_apkmirror.com
Ottoman Mint said:
I have to agree on, that the N10 chipset/cpu/powersupply has degraded somewhat & as the battery voltage gets lower during discharge, it can not supply stable power any longer :crying:
Click to expand...
Click to collapse
I don´t think so. The capacity of new battery looks really good. I use the N10 as wall-mounted control tablet for my home. With activated DT2W, full brightness, showing cams on motion, controlling home and audio over the day, my new battery runs about 28 hours before it stops. With old battery it was around 15-18 hours from full to off. My workaround: Reading battery with tasker and starts charging at 50%
I think the china batterys have different voltages than samsung batterys and N10 can´t work with this.
Der_Graf said:
I don´t think so. The capacity of new battery looks really good. I use the N10 as wall-mounted control tablet for my home. With activated DT2W, full brightness, showing cams on motion, controlling home and audio over the day, my new battery runs about 28 hours before it stops. With old battery it was around 15-18 hours from full to off. My workaround: Reading battery with tasker and starts charging at 50%
I think the china batterys have different voltages than samsung batterys and N10 can´t work with this.
Click to expand...
Click to collapse
Hey,
That sounds very interesting. I may find out about that, when I replace the original N10 battery to my replacement battery from China.
I forgot to mention in my post earlier, that I am still using the original N10 battery. The original N10 battery keeps crashing at 30% unless I lower the CPU clock to 1200MHz.
After the first charge at (1200MHz max CPU) I got the N10 down to 20%+ before crashing to shut down & after the second charge I got it down to 14% at the same 1200MHz without crashing to shut down & just recharged it. Mind you I was just surfing the net & watching YouTube. I am also using AccuBattery to estimate the battery capacity atm. (Oh & don't install Battery Charge Limiter, because it boot-loops the N10 after install!)
DT2W sounds awesome. Which ROM are you using on your N10 to get DT2W, if you don't mind me asking?
Ottoman Mint said:
Hey,
That sounds very interesting. I may find out about that, when I replace the original N10 battery to my replacement battery from China.
I forgot to mention in my post earlier, that I am still using the original N10 battery. The original N10 battery keeps crashing at 30% unless I lower the CPU clock to 1200MHz.
After the first charge at (1200MHz max CPU) I got the N10 down to 20%+ before crashing to shut down & after the second charge I got it down to 14% at the same 1200MHz without crashing to shut down & just recharged it. Mind you I was just surfing the net & watching YouTube. I am also using AccuBattery to estimate the battery capacity atm. (Oh & don't install Battery Charge Limiter, because it boot-loops the N10 after install!)
DT2W sounds awesome. Which ROM are you using on your N10 to get DT2W, if you don't mind me asking?
Click to expand...
Click to collapse
Sometimes it shuts down at 20% and other times it won't. I'm almost pretty sure it doesn't have anything to do with advanced power settings or any kind of internal power settings with the kernel. There are no thermal configurations on this device and they don't add any drivers for it or support for it until much later versions. Heat seems to play a role especially down here Florida when outside. So far in my experience it's most likely to shut down at 20% if it's too hot and not likely to do so if it's been idle for a bit or not plugged in.
Sent from my Samsung Nexus 10 using XDA Labs