How to see if Fob battery is low?

I don’t see how that is a solution. I had the fob for 1 year and the battery died unexpectedly.