chg: Add charger code (doesn't actually work)