I had the same issue several times from the very begining. Dealer remembered me two points which could seem obvious:
- keep the key as close as possible to handlebar. Key in the waist pocket of the jacket is fine for me, but inside breast pocket is not (key out of range signal),
- do not forget to switch off the key when you stop riding, to save key battery,
In addition, I have a sealed new key battery with me.