Notifications
Clear all

Reset 'Cycles' field data validation

ralph
(@ralph)
Eminent Member

Hi guys, 

you might not believe it, but I have come across a battery with more than 1000 cycles that I needed to reset. It still works just fine for my needs. The data validation for the write 'Cycles' cell seems to be capped at 999. So I couldn't set the actual limit in this field. Cycle values of >1000 can be viewed in Battery Info, so I know that an integer over 1000 didn't pose any byte overwrite problem for this battery.

I would appreciate if you lift the limit, so that I can write in the actual cycles of a reset battery with the same cells.

Thank you!

Ralph  

Quote
Topic starter Posted : 10/07/2021 5:19 pm
DjiBattWorkshop
(@djibattworkshop)
Member Moderator

Cycle count values stored in 16 bit register and has limits from 0 to 65535 counts.

Which limit are you talking about?

 

ReplyQuote
Posted : 10/07/2021 6:19 pm
DjiBattWorkshop
(@djibattworkshop)
Member Moderator
Posted by: @ralph

you might not believe it, but I have come across a battery with more than 1000 cycles

Have seen some genuine Apple MacBook batteries with cycles over 1200 which still have about half of their rated capacity. So me do believe you).

 

ReplyQuote
Posted : 10/07/2021 6:23 pm
ralph liked
ralph
(@ralph)
Eminent Member
Posted by: @djibattworkshop

Cycle count values stored in 16 bit register and has limits from 0 to 65535 counts.

Which limit are you talking about?

 

If you try and enter a number in the Cycles box that is over 999 and then press write, it will not accept it. Here I’m just saying that it’s not a problem of the size of integer - there is clearly sufficient space in that register. So there is not really a need for this input validation setting. Better to raise it or remove it. 

ReplyQuote
Topic starter Posted : 10/07/2021 7:24 pm
DjiBattWorkshop
(@djibattworkshop)
Member Moderator

Well, me will ask developers if they imposed any limits in the software.

But what is your present task?

If you not planning to replace the cells for new then there is no necessity to edit this parameter. Chip could easy jump over 1000 value as soon as next cycle will be counted.

 

 

ReplyQuote
Posted : 10/07/2021 7:38 pm
Nicusor
(@azzido)
Member Admin
Posted by: @ralph
Posted by: @djibattworkshop

Cycle count values stored in 16 bit register and has limits from 0 to 65535 counts.

Which limit are you talking about?

 

If you try and enter a number in the Cycles box that is over 999 and then press write, it will not accept it. Here I’m just saying that it’s not a problem of the size of integer - there is clearly sufficient space in that register. So there is not really a need for this input validation setting. Better to raise it or remove it. 

These are the plausibility checks:

 - Year between 1980 and 2100

- FCC between 1 and 9999

- CycleCount between 0 and 999

 

and this is the logic:

- if cells are replaced then cycle count should be set to 0

- if only a chip reset is performed without touching the cells then fcc, date and cycle count should not be touched

This post was modified 3 months ago by Nicusor

NLBA Laptop Battery Analyzer with Chip Reset & Repair Option

ReplyQuote
Posted : 13/07/2021 1:41 pm
DjiBattWorkshop
(@djibattworkshop)
Member Moderator
Posted by: @ralph

If you try and enter a number in the Cycles box that is over 999

999 and 9999 are different values, could you confirm it was misprint?

 

ReplyQuote
Posted : 13/07/2021 2:13 pm
ralph
(@ralph)
Eminent Member
  1. @djibattworkshop 

hi mate 

I put in 1254 and it rejected it

So I tried writing lower values until something worked 

Based on my tests I concluded that the limit was likely to be 999. (Not 9999)

As for *why* I was doing it, I was trying to correct an error made by me! 

ReplyQuote
Topic starter Posted : 13/07/2021 2:26 pm
torture
(@torture)
Member Moderator
Posted by: @djibattworkshop

Have seen some genuine Apple MacBook batteries with cycles over 1200 which still have about half of their rated capacity. So me do believe you

Yes i have also seen a lot of MacBook batteries with 1000+ cycles and still working like new. But cycle count in Apple firmwares is not relevant to battery health at all and the reason is that FCC update in BQ20Z451 is set 90%. Another Apple bulshit. 😀 

ReplyQuote
Posted : 13/07/2021 3:57 pm
Nicusor
(@azzido)
Member Admin
Posted by: @ralph
  1. @djibattworkshop 

hi mate 

I put in 1254 and it rejected it

So I tried writing lower values until something worked 

Based on my tests I concluded that the limit was likely to be 999. (Not 9999)

You are right, it was my fault. The correct range is 0 to 999.

NLBA Laptop Battery Analyzer with Chip Reset & Repair Option

ReplyQuote
Posted : 14/07/2021 12:54 pm
batFix
(@batfix)
Reputable Member

and ? ... the error would be corrected in new version...

Lets Make NLBA Great ! Together.

ReplyQuote
Posted : 14/07/2021 1:12 pm
Nicusor
(@azzido)
Member Admin
Posted by: @batfix

and ? ... the error would be corrected in new version...

and the error was in the post only which is already corrected

NLBA Laptop Battery Analyzer with Chip Reset & Repair Option

ReplyQuote
Posted : 14/07/2021 8:29 pm
Share: