Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Display correct results with multiple batteries #4

Open
atleta opened this issue Apr 28, 2020 · 2 comments
Open

Display correct results with multiple batteries #4

atleta opened this issue Apr 28, 2020 · 2 comments

Comments

@atleta
Copy link

atleta commented Apr 28, 2020

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. )

@Yves911
Copy link
Contributor

Yves911 commented Apr 30, 2020

Same here with a T470, internal battery is BAT0, external one is BAT1
Thing is i have only an external battery so only BAT1

@gabrielb1804
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants