Once my M2 acted strange after a hover test, then gave me firmware error. Same error with another battery that was OK before. Applied update and all was well, no report with any other battery so I'm sure in this case the firmware or maybe internal setting values were corrupted.
Usually though it just means the currently installed battery needs update. Many times I've found it doesn't flag a battery update until next flight session.