add more debug, disable by default
Add detect charger