yashsingh1/xdaforums huggingface dataset:
[HTC 10 Questions & Answers] donkeykong1:
This is the exact thing I was affraid will happen. I think this degradation is due to quick charge. Sure, it's nice to have your 3000 mAh battery charged in under one hour, but the price of it? Battery degradation... I don't belive HTC went Samsung on us, giving us faulty batteries
[HTC 10 Questions & Answers] revealed:
Hmmm.....

What does this say now? I do not receive full charge line as output. ... maybe mine is not fully charged? Could it be it shows you the capacity (mah) remaining scaled according to your current charging level.

If this was the case maybe the battery shows 100 % while it was not completely cycled to 100 percent due to quick charge. Maybe you want to try when it is really full.

Correct me if i am wrong, please. I will try the command again in a while when mine reaches 100 percent from USB. Then im going to enter the output result here:

Reading here about Quick Charge 3 in the meantime:

http://www.androidauthority.com/quick-charge-3-0-explained-643053/

Thats what i meant. The last few values might take much longer until it is "really" full. That might take up to an hour then.

Now it shows me the green LED (still no such Line):

So i can not join your poll?
[HTC 10 Questions & Answers] ivicask:
Full charge: 3049000, 7months old.

Mostly i charge via PC, rarely i use quick charger. Its just pure logic that quick charger shortens battery life, short and long term, its just how batteries work..
[HTC 10 Questions & Answers] RogerF81:
I think you are right. That's why I recommend to use a non-QC-3.0-charger (such as one by Anker with IQ charge for example). And/or I have found some code lines anywhere. I have searched for it in the forum, but I haven't found it anymore and I didn't remember who has made it. I have only re-written the code lines a bit, added some lines and created a script. So this is not my work, I would give credits to the person who was written the lines, but unfortunately, I don't remember where I found this.

So what does this script do? It limits the charging current to 800mA. That's why the phone will charge slower of course, but the battery will be spared. Another thing is that the phone will only charge till 90%, which spares the battery as well.

You can always run this script in a terminal with root access. Run it just before you start charging and you will be fine. I haven't managed to get it run automatically unfortunately. By all means, enjoy! (and remove the .txt at the end)
[HTC 10 Questions & Answers] JEANRIVERA:
htc_pmewl:/ $ dumpsys batteryproperties

ac: 0 usb: 1 wireless: 0 current_max: 0 voltage_max: 0

status: 2 health: 2 present: 1

level: 66 voltage: 3967 temp: 202

current now: -299528

current now: 234

Full charge: 3049000

mine is 8 months old and I always use quick charge at home and in the car, I do not think this issue is related to quickcharging the device, might be a bad batch of batteries maybe ....
[HTC 10 Questions & Answers] j to the 4n:
Fullcharge: 3045000

Bought May 2016...were the first available.

Used quick charger maybe to times...but most of the times I use my SuperCharger with 1.5A output on my laptop.

Since I debug/develop a lot on it, it's connected there nearly the whole day when I'm at home.
[HTC 10 Questions & Answers] ivicask:
Those values doesnt seam to be correct, HTC has one extra digit

echo 800000 > /sys/class/power_supply/battery/constant_charge_current_max

800 000 while mine shows curent 290 000 0

So that script needs fixing if you attempt to use it

EDIT:

Also changing values doesnt work, it immediately reverts to original values..
[HTC 10 Questions & Answers] RogerF81:
No, this is completely right and as I want it to be. 2900000 means 2,9A means QC 3.0. But I want to limit it to 0,8A, means 800 mA, means 800000 cause this is a safe value for batteries. This is ok:good:

(http://batteryuniversity.com/learn/article/charging_lithium_ion_batteries) (C means current, its unit is 1A)

And for me it's working correctly. This script runs every 3 minutes and therefore the values should persist. Don't know why this isn't working for you...
[HTC 10 Questions & Answers] j to the 4n:
https://twitter.com/TeamVenomROMs/status/820945706814939136

retweet pls (-:
[HTC 10 Questions & Answers] ivicask:
Im connected to PC, and output shows 290 000 0, man if im drawing 3amps from PC it would explode :D

Ampere shows around 300mA of charging current..

But also im on stock kernel that may be a reason it doesnt work for me.

BTW, did you take in account that its not all about current, it uses different voltages also depending on what type of charging is done, you can see this differences on original htc charger.(think there is 3 different voltages and currents for charging)
[HTC 10 Questions & Answers] RogerF81:
Well, then Ampere shows it right:good: So where do you see that output?:eek:

And yeah but I can only influence the charging rate, not the voltages. And I think the battery itself always uses the same voltage, only the charger's voltage can change as you mentioned (5V/2.4A or 9V 1,7A for example). And this is all about the output of for example 24W which stays constantly. All in all, the kernel controls the charging current and I want it to be limited. On top, only charging current should influence the battery health, as this is the amount of elecrical enegery which "flows into" the battery.

But yeah, I think it's complicated:laugh:
[HTC 10 Questions & Answers] donkeykong1:
I think M7 had both voltage and current charge control, so the original charger from my M7 should charge my 10 just fine. If QC proves to have a bad impact on battery capacity, I'll simply use the good old M7's charger ?
[HTC 10 Questions & Answers] RogerF81:
Voltage charge control? How does this work?

I learned that voltage is the amount of "current" that could be transported and that the amperage is the amount of "current" which is actually transported. So I don't know how the voltage could be controlled, it should be limited to hardware and the "kernels" of the charger and the device could change it as required.
[HTC 10 Questions & Answers] Cro Cop:
Did the test, got Full charge: 3049000, but I have another thing to ask...

I sent my phone 4 weeks ago to my official HTC service center in my country to replace my 2 year old battery. They replaced it in warranty with no damage, phone works perfect, but Accubattery reports 2900 mAh for some reason, even after 21 charge sessions (look at the screenshots below).

Is this a sign of an older battery that was stored somewhere and lost some capacity ? If anyone else had put a new battery in their phone, can you check how much estimated capacity you actually have after a few charging cycles ?

I remember that accubattery reported est. capacity: 2900mAh when my phone was 1 year old...
[HTC 10 Questions & Answers] SiAmaze:
Couldn't find "Turn off Fast Boot mode" anywhere on my HTC10 original rom/unrooted.

Please help me with that?
[HTC 10 Questions & Answers] The Fer-Shiz-Nizzle:
That's an old MM setting. Doesn't exist in Nougat/Oreo...just ignore that step
[HTC 10 Questions & Answers] SiAmaze:
How can I confirm that I have successfully reset battery stats of the HTC10?

Thanks again
[HTC 10 Questions & Answers] sawmyhead:
Holy crap, just did the adb shell command and got this:

ac: 0 usb: 1 wireless: 0 current_max: 500000 voltage_max: 5000000

status: 2 health: 2 present: 1

level: 47 voltage: 3981 temp: 425

current now: -421292

charge counter: 961792

current now: -421

Full charge: 2075000

Been experiencing sudden shutdowns below 50 percent, and I found this topic today.

I'll post again after resetting the battery calibration.
[HTC 10 Questions & Answers] donkeykong1:
Well, I don't know much about this matter, but I remember reading somwhere that M7 has voltage control. I might be wrong as hell, as I stated, I don't know much about electrics, so there is a big posibility I understood the article the wrong way. I'm sure my old charger won't do any harm though [emoji4]
[HTC 10 Questions & Answers] RogerF81:
Yeah I think you are right:o
[HTC 10 Questions & Answers] 5m4r7ph0n36uru:
So thats mine:

ac: 0 usb: 1 wireless: 0 current_max: 0 voltage_max: 0
status: 2 health: 2 present: 1
level: 49 voltage: 3893 temp: 292
current now: -279844
current now: -279
Full charge: 2935000

Bought May 2016.
[HTC 10 Questions & Answers] haZethew0rld:
Late preorder. Degrading really fast. Makes sense I'm not getting past 3hr sot.

status: 2 health: 2 present: 1
level: 22 voltage: 3724 temp: 310
current now: -228117
current now: 67
Full charge: 2495000
[HTC 10 Questions & Answers] Haldi4803:
Mhmmm probably, could you try connecting it to PC via USB and use ADB? that might work.

You're the second one which does NOT show this, and i have absoluty NO idea why... anything special with your device? Could you try a Reboot?

I've tried that too.... but same issue as ivicask.

AFAIK 1C doesn't stand for Coulomb which is 1A per second but for Battery Charging capacity, 1C on a 1000mAh battery is 1A but on a 3000mAh battery it's 3A

And running the Script every 3 Minutes does not work at all, i have a Hardware USB Powermonitor which shows current and Voltage in Realtime, while trying with this it falls back every 30-60 seconds, so if you want to be sure increase the script polling to every 30 seconds :) Batteryusage doesn't really matter while charging ^^

That's how QuickCharge 3.0 works, There is a Data Signal from Phone to Charger which tells the Charger what Voltage the phone want's to use.

Nonetheless the Charger is deciding Voltage and Maximum Current (Ampere) it's ready to provide and the phone is then taking as much current as it wants.

back to the Electricity.... Look at it like it's water.... Voltage is the Diameter of the Pipe how big it is, and the Current/amperage is the Speed or pressure the Water flowing in the pipe has :) Except that Water can flow out of the pipe into the yard, while electricity can never flow anywhere without user at the end.

Okay, you're the 2nd one with Such a Low Value..... have you tried charging it to 100% and keep it charged for at least 2 more hours, then us it until it reaches 0% and force shutdown because the battery is completly empty and then charge it again to 100%?

Redo the test then please, i'm currently trying that to see if it helps / Calibrates the battery sensor.

If this does not work, we have to find all people who complain about bad battery and force them to test this ^^

Then we need to check Serial number / Production Date to see if it was a bad batch of Batteries or some similar production error.

P.S Last thing i read on Batteries was 500-600 Charging Cycles should still have about 85% Battery Capacity left.
[HTC 10 Questions & Answers] haZethew0rld:
Sure, I'll let you know in a few hours, if not tomorrow.
[HTC 10 Questions & Answers] EtherealRemnant:
Command doesn't work. Error -1 - I'm guessing I need root which I don't have on Nougat.
[HTC 10 Questions & Answers] xunholyx:
htc_pmewl:/ $ dumpsys batteryproperties

ac: 0 usb: 1 wireless: 0 current_max: 0 voltage_max: 0

status: 5 health: 2 present: 1

level: 100 voltage: 4400 temp: 277

current now: -233610

current now: -249

Full charge: 3049000

Got it in May 2016. I've used nothing but QuickCharge.
[HTC 10 Questions & Answers] stretchnz:
I am another that has no such "Full charge" value

using adb shell, Taiwan variant on MM still.
[HTC 10 Questions & Answers] Black-FR:
For those of you, with lower values.

Switch off the device.

Connect the battery charger.

Then push and hold all three buttons (power / volume up / volume down) for approximately 1-2 minutes.

This will reset the battery calculation.

In my case, I had a value of 27.... and after the reset, I'm back to the 3049000.
[HTC 10 Questions & Answers] silverwings2008:
htc_pmewl:/ $ dumpsys batteryproperties

ac: 0 usb: 1 wireless: 0 current_max: 0 voltage_max: 0

status: 2 health: 2 present: 1

level: 59 voltage: 3989 temp: 330

current now: -525967

current now: -588

Full charge: 3049000

Bought May 2016, using a equal split of apple charger, original charger qc3 and htc m9 (think qc2)
[HTC 10 Questions & Answers] haZethew0rld:
Not sure if it was a combination of your method and his

As of right now my battery has gone back to 3049000. Let's see if it lasts a little bit longer now. Thanks :D
[HTC 10 Questions & Answers] donkeykong1:
That's the same procedure used on M7. I was wondering if that will work on the 10. Thanks for the info [emoji6]
[HTC 10 Questions & Answers] jaredkzr:
Here's mine:

dumpsys batteryproperties
ac: 0 usb: 1 wireless: 0 current_max: 0 voltage_max: 0
status: 2 health: 2 present: 1
level: 84 voltage: 4197 temp: 337
current now: -36620
current now: -36
Full charge: 2749000

I tried the trick from #30 and now my full charge is back up to 3049000. I have noticed a decrease in battery life from when I first received my 10 at release so hopefully this will help out some!
[HTC 10 Questions & Answers] revealed:
Silly this is what i did? I enabled USB debugging, connected to a USB 3.0 and look at the screenshot, please. What is this? Is it maybe the ADB version or the marshmellow stock EU?

Screenshot

Oh sorry i should have replyed to this.... my bad!

... rebooting now, will post results...

Edit: (last)

I have to report, that the output is staying the same. I can not join your poll, sadly.

/Edit

Thank you!

Greetings,

R
[HTC 10 Questions & Answers] Jadraker:
Hi,

HTC 10 Taiwanese bought at August 1. Currently transformed to USA and using Nougat official RUU.

htc_pmewl:/ $ dumpsys batteryproperties
ac: 1 usb: 0 wireless: 0 current_max: 0 voltage_max: 0
status: 2 health: 2 present: 1
level: 61 voltage: 4030 temp: 375
current now: -359952
current now: -537
Full charge: 3049000
[HTC 10 Questions & Answers] stefan1234566789:
:cowboy:
[HTC 10 Questions & Answers] donkeykong1:
Damn... I'm not getting full charge line either
[HTC 10 Questions & Answers] dlads:
Used to be a way to reset battery stats in recovery? Is that still a thing?? Just a thought.
[HTC 10 Questions & Answers] Haldi4803:
Indeed....

Entering Download mode and rebooting for quite some time... Was annoying... But it worked.

htc_pmeuhl:/ # dumpsys batteryproperties

ac: 0 usb: 0 wireless: 0 current_max: 0 voltage_max: 0

status: 3 health: 2 present: 1

level: 26 voltage: 3632 temp: 302

current now: 177458

current now: 1138

Full charge: 3049000

Does this full charge vlaue even affect anything?
[HTC 10 Questions & Answers] dlads:
here's mine, got it in day of release, has had a lot of use, never overcharged it.

Not good that man. Anyway to fix it?
[HTC 10 Questions & Answers] dlads:
I'd like to know the same, has anyone actually benefited noticeably by resetting battery stats??

---------- Post added at 12:45 AM ---------- Previous post was at 12:40 AM ----------

(Found this to reset battery stats properly.

Sounds like a complete ballache)

How to calibrate*Android device battery*with*root access

1.*Discharge your phone fully until it turns itself off.

2.*Turn it on and let it*turn off again.

3.*Plug your phone into a charger and, without turning it on, let it charge until the on-screen or LED indicator says 100 percent.

4.*Unplug your charger.

5.*Turn your phone on. It's likely that the battery indicator won't say 100 percent, so plug the charger back in (leave your phone on) and continue charging until it says 100 percent on the screen as well.

6.*Unplug your phone and restart it. If it doesn't say 100 percent, plug the charger back in until it says 100 percent on screen.

7.*You want to repeat this cycle until it says 100 percent (or as close as you think it's going to get) when you start it up without being plugged in.

8.*Now, install the Battery Calibration app and, before you launch it, make sure your battery is at 100 percent again,*then restart.

Battery Calibration￼

9.*Immediately launch the app and recalibrate your battery.

10.*Once you've calibrated your battery, discharge it all the way down to 0 percent and let your phone turn off again.

11.*Fully charge the battery one more time*without interruption while it's switched off, and the Android system's battery percentage will be reset

---------- Post added at 12:47 AM ---------- Previous post was at 12:45 AM ----------

Source :https://www.androidpit.com/how-to-calibrate-the-battery-on-your-android-device

According to this website resetting the stats file does nothing. [emoji20]

---------- Post added at 12:51 AM ---------- Previous post was at 12:47 AM ----------

Also an app here https://play.google.com/store/apps/details?id=com.vitula.batterycalibration

Not sure how good it is I'll give it a whirl tomorrow.
[HTC 10 Questions & Answers] j to the 4n:
battery capacity represents your karma level......liverpooler.

no idea how to reset that value...but formatting data or RUU will do...in case that value can be reset and does not really represent the real battery capacity level, but just a calulated value of different things.
[HTC 10 Questions & Answers] haZethew0rld:
Resetting the data didn't improve my battery life at all. I'm still getting under 3hrs sot.
[HTC 10 Questions & Answers] dlads:
Cheers ace. So as a dortmunder is yours about 1200 ;)
[HTC 10 Questions & Answers] stefan1234566789:
After battery stats reset :cool:
[HTC 10 Questions & Answers] revealed:
Hey there!

Now since i installed the UK Nougat OTA manually since it was not rolled to mainland EU until now.... i get this line also. So i could now participate your poll.

FA

Taiwan Taoyuan B factory

Y M D

6 8 9

I got it cheaper because it was a device another person returned after few days. They told it was sent in and checked before it went into sale again. All fine :) Bought at 28.10.2016.
[HTC 10 Questions & Answers] dandan2980:
Had the phone first day it was released I always use quick charge
[HTC 10 Questions & Answers] ct85msi:
Did you reset before? It seems that 3049000 is a default value after you reset the battery stats and the battery isn`t calibrated. I had also 3049000 but after a cycle of dischange and full charge I had a little under 3000000.
[HTC 10 Questions & Answers] RedNak71:
I'm getting battery drain with ice wakelock. Anyone know how to fix this wakelock issue?
[HTC 10 Questions & Answers] donkeykong1:
Got it too after Nougat update
[HTC 10 Questions & Answers] Capt'n Mal:
htc_pmewl:/ # dumpsys batteryproperties

ac: 0 usb: 1 wireless: 0 current_max: 0 voltage_max: 0

status: 2 health: 2 present: 1

level: 18 voltage: 3565 temp: 365

current now: 412595

current now: 1658

Full charge: 3049000

Owned since September 19th 2016 (first power on date)

I use the quickcharger that came with the phone, and car charger, plus a slow charger. rarely charge via PC USB. When I use the quick charger though it's almost always about dead, so it gets a full deep cycle charge at least once a week.
[HTC 10 Questions & Answers] ct85msi:
Almost dead is not completly dead, your battery isn`t callibrated. I don`t think 3049000 is your real capacity. As you can see, many more have exactly the same capacity, I think is a default capacity before the battery is callibrated.

Use this procedure:

Plug phone into HTC charger and charge for two minutes or more (I think any charger will do)

While charging, hold down volume up+volume down+power button and continue holding

Phone will turn on and off repeatedly every 15 seconds or so while continuing to hold all three buttons

Keep this going for 2 minutes, then release buttons when phone is ON

Now, let phone charge fully normally (with phone either on or off--doesn't matter) and battery level reporting, charging and battery life should be normalized.

This is the full procedure, pressing vol +, vol - and power just resets the stats, it won`t callibrate the battery.
[HTC 10 Questions & Answers] Haldi4803:
Well well well.... now look at this!

Seems like my Battery is really done for and reseting the Batterystats simply pretended to be 3049!

Now then.... how do i best contact HTC for a replacement ~.~
[HTC 10 Questions & Answers] ct85msi:
I have a capacity of 2910000. I have it since october and charged it only with an M8 charger (5v 1.5 A) As you can see, I also have a little degradation. Anyway...since I run nougat I have at least 5 hours of SOT so ... it compensates :)
[HTC 10 Questions & Answers] Alpert3:
Well, here's mine. Got it early May 2016.

status: 5 health: 2 present: 1

level: 100 voltage: 4399 temp: 270

current now: 1220

current now: -56

Full charge: 2766000
[HTC 10 Questions & Answers] Haldi4803:
Updated the first post :)
[HTC 10 Questions & Answers] TheKnux:
Bought of eBay about a month ago.

Sorry for the crappy picture.
[HTC 10 Questions & Answers] revealed:
Updated post #47:

https://xdaforums.com/showpost.php?p=70752393&postcount=47
[HTC 10 Questions & Answers] Apollo2000:
Month old device quick charge everyday

htc_pmewl:/data/data/com.termux/files/home # dumpsys batteryproperties

ac: 0 usb: 0 wireless: 0 dock-ac: 0 current_max: 0 voltage_max: 0

status: 3 health: 2 present: 1

level: 58 voltage: 3851 temp: 345

current now: 389554

current now: 499

Full charge: 3064000
[HTC 10 Questions & Answers] jhadsfi:
ac: 0 usb: 1 wireless: 0 dock-ac: 0 current_max: 0 voltage_max: 0

status: 2 health: 2 present: 1

level: 80 voltage: 4253 temp: 242

current now: -573727

current now: -525

Full charge: 3091000
[HTC 10 Questions & Answers] dlads:
Has anyone seen anything in the way of a longer lasting battery through all of this? Even if the capacity is 2900 from 3000 the change in stamina is going to be extremely minimal, plus I'd say other phones would be the same.
[HTC 10 Questions & Answers] ct85msi:
I think anything over 3000000 ia a battery that isn't callibrated. Discharge to 0% until the phone shuts down and then charge to 100% then check again the batteryproperties.
[HTC 10 Questions & Answers] 5m4r7ph0n36uru:
So thats mine after a proper reset of all stats

ac: 0 usb: 1 wireless: 0 current_max: 0 voltage_max: 0
status: 2 health: 2 present: 1
level: 49 voltage: 3893 temp: 292
current now: -279844
current now: -279
Full charge: 3091000

Bought May 2016.
[HTC 10 Questions & Answers] RogerF81:
Now I get "Unknown error (-2147483646)"....What does this mean?
[HTC 10 Questions & Answers] Haldi4803:
That you have issues with SU.

If you're on Computer with ADB try without the SU command.
[HTC 10 Questions & Answers] hojnol:
bought mine in october 16, have used quick charger, my old htc one (m7) charger as well as via usb from time to time.. doesn't look that good I have to admit.. will try to recalibrate battery one more time, we'll see if there's an effect :)
[HTC 10 Questions & Answers] spikeydoo2006:
Mine was 2546000 full charge.

(No screenshot/picture though)

Seemed rather low to me. Tried to recalibrate the battery, but number stayed the same. Had to send off for repair in the end. Device totally died when fully charged and wouldn't turn on or charge anymore :( Not sure if the battery actually died or not yet, or whether something shorted out inside.
[HTC 10 Questions & Answers] adriahno:
My adb does not recognize dumpsys command :(

I can't find any solution on google for this:

'dumpsys' is not recognized as an internal or external command,

operable program or batch file.
[HTC 10 Questions & Answers] ct85msi:
Type: "adb shell" before dumpsys.
[HTC 10 Questions & Answers] andybones:
Bought release day. Verizon variant.

Built 1/5/2016 - Taiwan Taoyuan A factory

Before doing the Reset.

dumpsys batteryproperties
ac: 0 usb: 1 wireless: 0 dock-ac: 0 current_max: 0 voltage_max: 0
status: 2 health: 2 present: 1
level: 49 voltage: 3967 temp: 280
current now: -409085
current now: -409
Full charge: 2873000

After the Reset

dumpsys batteryproperties
ac: 0 usb: 1 wireless: 0 dock-ac: 0 current_max: 0 voltage_max: 0
status: 2 health: 2 present: 1
level: 26 voltage: 3710 temp: 287
current now: 323789
current now: 1298
Full charge: 3049000

Will charge to full, drain to 0%, 3 hour charge, repeat, and then will post the new results.