d2lte: Utilize charger class for offmode charging

Change-Id: Ia84451194d770b36ea1ad22c84d8cf74934f4e1e