karosium / smbusb

USB SMBus Interface
GNU Lesser General Public License v2.1
142 stars 42 forks source link

Add cells voltage reporting for lenovo batteries #5

Closed sheinz closed 7 years ago

sheinz commented 7 years ago

My lenovo battery for thinkpad x230 reports cells voltage in manufacturer data. I added reporting it in smbusb_sbsreport

...
Charging Current:           4050 mA
Charging Voltage:           12900 mV
Cycle Count:                4
Cell 0 voltage:             4096 mV
Cell 1 voltage:             4102 mV
Cell 2 voltage:             4095 mV
Cell 3 voltage:             0 mV
karosium commented 7 years ago

Nice work, thanks! Merged.