power: pm8921-bms: hold a wakelock while calculating capacity

It was observed that the system goes to suspend when the SOC calculation
is half way through. Prevent it from going to suspend when SOC
calculation is in progress.

Change-Id: I26c4e1fb971f22ec721e1dddcce6b301f5db6608
Signed-off-by: Abhijeet Dharmapurikar <adharmap@codeaurora.org>
1 file changed