Retained memory support on Gen. 3 devices

Hmmm, yes you should (my mistake), and I just tried it again with that line added and the same behaviour is displayed, ie it retains the variable across resets but does not set it to 0 when powered down. So, still uncertain if it is reliable.

Thanks for spotting that!