I am trying to get battery % from the thingy91. I have the AT command AT%XVBAT running successfully. It returns what I assume is millivolts. However these value are higher than what I would expect. I have seen values of 4223, 4430, 4438, 4434, 4465. I am under the impression that a LiPo battery like the 1 connected to the thingy91 maxes out at 4.2 volts or 4200 millivolts. I have run the app for a while to drain the battery but I still continue to get the same high numbers. Am I misinterpretation what is being returned? Does anyone know how to read these values?
Also I found a LiPo voltage to charge % relationship chart for a baseline of what I expected
Capacity % | voltage |
100 | 4.2 |
95 | 4.15 |
90 | 4.11 |
85 | 4.08 |
80 | 4.02 |
75 | 3.98 |
70 | 3.95 |
65 | 3.91 |
60 | 3.87 |
55 | 3.85 |
50 | 3.84 |
45 | 3.82 |
40 | 3.8 |
35 | 3.79 |
30 | 3.77 |
25 | 3.75 |
20 | 3.73 |
15 | 3.71 |
10 | 3.69 |
5 | 3.61 |
0 | 3.27 |