fastcharge: initial adaptation, Ported from HTC One