Doesn't matter what the device, if not used for extended periods, remove. Applies to all battery types.
Alkaline, "normal AA AAA C D etc, Li-oN. Some devices even when off can "bleed" a little power and flatten the battery. Also left long term some batteries can leak acid and stuff the device.
I am doubtful I will get to use my caravan for at least 6 months - I have removed the 9 V smoke detector battery, TV & SAT remote batteries, water level gauge battery, clocks etc. Some of those batteries will need replacing next use, so I throw the old ones away, Li-oN ones I store in bank coin bags to prevent shorts etc. Forgot to mention the fridge temp gauges lol.
However the main AGM is on constant charge form 240 VAC, or should I say Float Storage mode.
I'm not using my digital camera or movie cam much at the present time, but I never leave the Ni Cd's in them. Same with all my detector batteries, but every 6-8 weeks I check them and recharge if needed.