added charge current interface