petterreinholdtsen / battery-stats

Log battery charge (battery-stats-collector), show gnuplot graphs (battery-graph)
GNU General Public License v2.0
27 stars 13 forks source link

Support multiple batteries #26

Open mark7 opened 6 years ago

mark7 commented 6 years ago

Previously, only data on the first battery found was collected. Some laptops (like the Thinkpad T470) have multiple batteries, resulting in the charge from only one being logged.

Treat all batteries as one large "aggregate" battery and store data on its charge.

petterreinholdtsen commented 6 years ago

I would imagine it make more sense to record information about each battery individually. Why do you believe it make sense to store the combined values?

mark7 commented 6 years ago

Well: