qcom: properly query battery capacity

Change-Id: I9919c7c02c951a8cb6ca20b74781296ff0088cbe