Don't increment batteryMap before inserting.
authorLorn Potter <lorn.potter@jollamobile.com>
Thu, 11 Jul 2013 18:48:43 +0000 (04:48 +1000)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Fri, 12 Jul 2013 07:41:04 +0000 (09:41 +0200)
commitfa61ba41b962aa66bf6dc62ce62ce0734063abf9
treed64a913adc9353279093ee6a7609f6853ce07a89
parent5cbc8713ebd6e604dc7ce1166d1a90e4896cdecd
Don't increment batteryMap before inserting.

Also indicate in docs how it should work.
Add brief statement about finding percent capacity.

Change-Id: I944adf4ca2ee19b31e1bb794ff0ce79b3528af57
Reviewed-by: Alex <alexander.blasche@digia.com>
src/systeminfo/linux/qbatteryinfo_upower.cpp
src/systeminfo/qbatteryinfo.cpp