Should be no problem as hand luggage, if you want to be ultra careful, then discharge to 50% and tape over the contacts.
I have never had a problem, however sometimes the budget airlines stop you at the aircraft door, and take your hand luggage, and insist they have no more room in the overhead lockers, and they want to put your hand luggage in hold. This is not allowed for your batteries, so you may get an argument, just remove the batteries and put in your pocket.
Security have never bothered me, but I usually take a print out of the airline rules/guidance with me.
Yes I am a bit over careful.
Greetings from up North UK.