Why not just have the charge controller "unplug" it if the battery is full?
Because the charge controller likely does not run software that can easily be modified by the end user?