An e-bike that shuts off around half charge may have voltage sag, weak cells, a gauge error, bad contacts, or another battery ...