I use the "don't ask, don't tell" approach. If I ask, more than half the time, they say no. Unless a battery / e-bike ban is specifically posted, I charge in room.
I also don't carry them in plain sight when passing through the hotel lobby. I use a protective case anyway, which is pretty...