Using two Lithium batteries in a project

Batteries used in any combination of series, parallel or both have that problem. You can buy or make battery capacity meters, and match them yourself.