healthd: Read charge_counter from qpnp-bms if missing in battery

On msm8974, battery information is exposed by the kernel drivers
qpnp-charger and qpnp-bms, which create separate sysfs nodes. qpnp-bms
is reported as "Unknown" power supply type, so healthd will not check it
for battery-related information.

Add extra logic to support reading charge_counter from bms if it is
missing in the battery sysfs node.

Issue: FP2P-405
Test: run cts -m CtsStatsdHostTestCases -t android.cts.statsd.atom.HostAtomTests#testRemainingBatteryCapacity
Change-Id: Ia1545a0aa625634626ba64c89d48b1d5fd026733
1 file changed