this post was submitted on 26 Jul 2024
10 points (91.7% liked)
ThinkPad
1388 readers
1 users here now
IBM and Lenovo ThinkPad laptop enthusiasts!
founded 4 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Oh my god thank you, that's amazing. I had no idea you could use i2c with the vga port.
Also, I run the t430 with Coreboot, but does this solution only work on 30 series?
I guess so, but you should check which controller is used on your bms. This guide targets
bq8030
, as mentioned in the readmeEdit: also, my bad: it looks like the guide doesn't show how to change the battery capacity, so recalibration is also necessary (alternatively, you can look for the values reported by
/sys/class/power_supply/BAT*/energy_full{,design}
in the dumped firmware and change them. However, the script is useful if your bms locked itself (in this case replacing/shorting the fuse might also be necessary, as some bms-es try to blow it when locking)