To check the battery charge percentage of a TH sensor, I would like to save the initial value of it (because in the different charge cycles I have verified that it is not always the same) to calculate the percentage of the current value compared to the initial one.
I do not know how to save the initial value of the battery to a variable, which retains the value even in the face of a sensor reset.
Can you give me some indication? Thanks in advance
I really think it depends on what you mean by ‘initial value’.
is the initial value the highest reading? the value when no longer charging? etc?