There's no connection. The ink bags have levers to tell when the bag has collapsed. Take the tray out and check that the bag doesn't have any weird wrinkles in it. The empty switch lever presses on the neck of the bag.
If this does not fix it then you may need a service engineer over to check if there's something wrong with the RFID sensor. He'll know what to do.