The E1022 should have a rechargeable battery to maintain the time, otherwise I would have said you should replace the battery. Even so, rechargeable batteries can fail. From what I remember the HMIs go back to a Jan 1997 date if the battery fails.
There is a command LOBx that you can use to set a bool when the battery is low, I would guess that it would work even with a rechargeable battery. So LOBM0 would set M0 if the battery was low, obviously you would have to use a bool to match your PLC or use an HMI internal memory bit. Do a search for 'mitsubishi edesigner manual' and look in the System Signals / Commands and you should find LOB.