Open atleta opened 4 years ago
Same here with a T470, internal battery is BAT0, external one is BAT1 Thing is i have only an external battery so only BAT1
I know this thread is couple years old, but I recently started trying to use this extension, but my t480 has 2 batteries so it didn't work. Well, I was able to change the extension file for it to work. I'm not sure if I did it in the best way but it works well. It should also "just work". I will try to make a pull request with it.
Some Thinkpads (up to T480) have two batteries. E.g. in my T450 the internal battery is BAT0 and the external/replaceable is BAT1. The system always discharges the external first (and while doing so, the power reported by the internal BAT0 will be 0).
One easy way to go around this is taking the maximum power of BAT1 and BAT0 and displaying that. (Or the sum of the two, just in case. )