how to change the key battery
You'll have to break the case to do it. Plus get the right battery/rechargable one. Lost of info online. But the BMW key fobs are built to be none serviceable and BMW want you to buy a new one.
Do not break the case, remove the valet key and use it to press the interior lever to open the key box to change battery
Search BMW X5 Questions
Are you a UK consumer? CarGurus now has a discussion forum in the UK.
BMW X5 Experts