make power of charging work