enable charger mode (issue #24 )