proximity+offline charge+move to sd function fixes

Change-Id: I2c325c921f634c5954b4961fefb8e7dffced80dc