My device only works connected to a power outlet