Common quickboot charging

hopefully, this interacts favorably with the one in oppo/msm8974-common

Change-Id: I4e0089e8a8c283cfa2bf96287af98f2d25f9428d