Before the battery is completely used up, when magnetic stripe cards are inserted or when the proximity credential of the hotel staff is close to the lock, it alerts the user with flickering red and green LEDs, which means that battery replacement is due. In wireless reading and writing systems, low battery alerts will appear directly in the software. Data do not get lost, since these locks feature non-volatile memory.