In most cases the device is losing power to the main power wire.