Hello everyone!, I have a thinkpad T460s which has two batteries. This seems to be a pretty common setup between thinkpads, so I’m sure someone has figured this out… but I can only seem to display 1 battery on polybar. My system has 2 batteries, BAT1 and BAT0, and I can only currently see BAT0 on my bar. I’d like to have a separate module right next to it to see both batteries on my bar. I used to think is was a battery issue, but it is just polybar displaying only one battery.
I’ve tried to mess around with the [module/battery] to no avail. I think I might need a separate module that handles BAT1 instead of BAT0, but I can’t seem to do that either.
You might want to research lenovo for this. It may just be that the laptop is set up hardware wise with two batteries to just combine them as one cell. Do you know if it completely drains one battery before it switches to the other or does it just “pool” the resources?
I’ve added a second module, but the module just wont show up. I made another before and it crashed my polybar, but the second one I tried w/o referencing another module exists in the config but doesn’t show up.
At least its not crashing I guess…
Hi new here and used Endeavour back in the days. Maybe I can help?
I also use a T460s with polybar on my bspwm. Configured it myself so nothing from EndeavourOS but I have the two batterys working. Just cloned the module for the battery and named it Battery2. Let’s se if I can paste it in here
Unfortunately, I tried pasting this into my polybar/config.ini while replacing my old battery module. This for me just crashes polybar. I might just not be able to add a second module for whatever reason. Seems like messing with the config at all causes polybar to either crash, or not even implement any of my changes.