The event that fires for equipment being removed fires after the equipment is removed, so it is no longer present in the equipment grid, and thus you can't tell if the battery was full or not. If it always returned full batteries, you're effectively being given free energy.
I have considered a grid-based battery charger, but that's something that has to run via on_tick, and it seems that it could be very expensive in terms of UPS. On the other hand, induction charging, and the various electric train mods do something similar on_tick, and people keep using them, so it might be worth considering.
Edit: fix tyop.